-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code assistance context menu is missing #2868
Comments
Whoa, I didn't even know this feature existed. If we bring it back (and it sounds like a cool thing to have!), I suggest we do something to make it more discoverable. For example, maybe a button in the toolbar or something like that. |
It works similarly in VS Code and AndroidStudio when using the Flutter plugins. |
Oh interesting. I guess this changed from the default AndroidStudio key binding to the default VS Code keybinding. It would be much appreciated if you could support both! |
Right, but one big difference is that they show a small UI element (in code it's a lightbulb) to let the user know that this menu exists. I've love to see something similar in DartPad. |
That's true. |
What happened?
DartPad appears to have been updated in a major way. I noticed that following the update, the code assistance context menu for Flutter (with commands like "Wrap in SizedBox", "Remove widget", "Swap with parent", etc) is no longer accessible.
Steps to reproduce problem
Open DartPad, switch to a Flutter sample, position the cursor on a widget constructor and press Opt-Enter (for Mac, may vary by OS).
Browser
Browser: Chrome
Version: 121.0.6167.160
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)? No
Are there any warnings or errors in your browser's JavaScript console? No
Machine
Operating system: MacOS
Version: Sonoma 14.3.1
The text was updated successfully, but these errors were encountered: