joe
joe

Reputation: 9513

Can not use `wrap widget` feature in Android Studio on an OSX

Recently after I upgrade to

Android Studio 4.0
Build #AI-193.6911.18.40.6514223, built on May 20, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.5
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 8
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: Dart, org.jetbrains.kotlin, com.developerphil.adbidea, com.google.services.firebase, io.flutter

OSX: 10.15.5 (19F101)

I am unable to use wrap a ... feature. Previously I double click or Option + Enter I can choose what wrap with ... from the popup list like this article says enter image description here

I have to open Flutter Outline and right click which is clumsy for me. enter image description here

Question:

How can I enable that feature back?

Upvotes: 1

Views: 839

Answers (2)

r.n. hermann
r.n. hermann

Reputation: 43

Go to Preferences > Editor > Intentions > Dart and check Quick assist powered by the Dart Analysis Server.

Upvotes: 1

joe
joe

Reputation: 9513

I think root cause came from upgrading from Android Studio from 3 to 4 Today, I updated Android SDK and its plugins. Later it was fixed

Upvotes: 0

Related Questions