Flutter Code Actions bulb not appearing

Hi all, love Cursor! But when using it for Flutter it appears the ‘lightbulb’ feature that generally appears in VSCode is not appearing in Cursor, despite all the marketplace addons being present. This is super handy for wrapping and removing widgets in the tree. Anybody have any ideas why it seems Cursor is not showing it? Thanks!

(It looks like this may be related - Quick Fix bulb does not appear automatically)

3 Likes

Just use Ctrl-Shift-R (on a Mac).

Or go AI - Cmd-K / mark + Cmd-Shift-L

1 Like

For anyone else having this issue, clicking anywhere in the widget name and hitting ‘ctrl+.’ (control and period), will bring up the actions menu.

4 Likes

Is there any way to have actions show just by click on certain parts of the code like in VS Code?

1 Like

I personally never found a way. I have to click first in the right area the code-actions bulb would normally automatically appear and then do ‘ctrl+.’. Definitely a nuisance. There is another thread where the devs said they would re-enable it but I don’t think it ever happened as that was quite a while ago now.

1 Like

In half the cases, clicking “AI repair” is the best solution. If it’s missing imports, go Cmd-.


When I enable the action bulb, it appears but is not clickable. Please fix this issue as it is the most important feature while working with Flutter. This bug has been around for a long time, and no progress has been made to resolve it. Using Ctrl+. repeatedly for such a frequently used feature is frustrating and significantly slows down the coding process. I constantly switch between the Cursor and VS Code, and when I’m not working with AI, I go back to VS Code solely because of this issue.

1 Like

As a Flutter developer, the main reason I haven’t subscribed to Cursor and still use VSCode is this. I hope it gets resolved as soon as possible.

Thanks for reporting the bulb is not clickable.

As others have mentioned, the same menu should still be accessible using CMD + ., but we will try to fix the UI element too!

1 Like