Skip to content
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 Action Lightbulb not showing #745

Open
marcelo-mason opened this issue Aug 18, 2023 · 53 comments
Open

Code Action Lightbulb not showing #745

marcelo-mason opened this issue Aug 18, 2023 · 53 comments

Comments

@marcelo-mason
Copy link

  1. If you can, please include a screenshot of your problem

VSCode shows lightbulb on error click:
image

Cursor doesn't:
image

  1. Please include the name of your operating system

Windows 11

@marcelo-mason
Copy link
Author

Setting is enabled on both:

image

@arvid220u
Copy link
Member

What do you use the lightbulb for? We disabled it because we were annoyed, but we can bring it back with a setting.

@knowbee
Copy link

knowbee commented Aug 18, 2023

Lightbulb is super helpful in flutter development when trying to refactor your code. Kindly Bring it back. @arvid220u

@tatelax
Copy link

tatelax commented Aug 21, 2023

I was also looking to see if anyone else had posted this issue. I'm also a Flutter developer. The lightbulb is very useful. Without it I can't use Cursor over VS Code.

Not really sure why you would want to disable it entirely when there's already a setting to toggle it in VS Code.

@tom-voicer
Copy link

I also need the lightbulb for refactoring and quick fixes... I was scratching my head why it doesn't work.. please bring it back.

@marcelo-mason
Copy link
Author

marcelo-mason commented Aug 24, 2023

What do you use the lightbulb for? We disabled it because we were annoyed, but we can bring it back with a setting.

A setting already exists to toggle it, really no need to remove it or to add another setting, just bring back the original functionality.

@Jethro87
Copy link

This is the key reason I haven't adopted Cursor yet. I use the lightbulb all the time for flutter development and it's surprisingly useful.

@knowbee
Copy link

knowbee commented Sep 1, 2023

@arvid220u

@arvid220u
Copy link
Member

arvid220u commented Sep 1, 2023

Thanks for all the feedback here! Sounds like we should bring it back :). Expect to see it in Cursor sometime next week. In the meantime, perhaps Ctrl+. or Cmd+. works?

@Jethro87
Copy link

Jethro87 commented Sep 4, 2023

@arvid220u That's great to hear 👍 I couldn't get it to work with any key combo.

@Jethro87
Copy link

Just wanted to bump this @arvid220u, as I downloaded Cursor today and don't see the lightbulb. I know it seems small but makes a big difference for Flutter. Thanks.

@tech-craniometrix
Copy link

Just wanted to bump this @arvid220u, as I downloaded Cursor today and don't see the lightbulb. I know it seems small but makes a big difference for Flutter. Thanks.

bumoing this! still don't see it even with the lightbulb enabled option

@Magellol
Copy link

I'm not sure if this is related but doing CMD/CTRL + . brings up the code action menu but quick fixes from Typescript plugins aren't being listed. For example, we use the following TS plugin https://github.com/unsplash/ts-namespace-import-plugin which registers a code action available by pressing the above mentioned shortcut but Cursor doesn't display it.

VSCode

image

vs Cursor

image

@kylegwalsh
Copy link

Also curious about this! I just tested the latest version and the setting still seems to be ignored.

@Ali1Ammar
Copy link

is there update for this? the light bulb still not working

@AmanuelYosief
Copy link

Bump, still not added, so I will migrate back to visual studio code. Lightbulb is efficient at suggestions and make things easier. I can extract code as a widget e.g. faster than the AI

@miklereverie
Copy link

Bumping this! Flutter developer as well, really missing this feature...

@HYAZEUS
Copy link

HYAZEUS commented Aug 19, 2024

Bumping this, tried to switch to cursor this week and instantly went back to vscode as soon as i realised it wasn't there after trying for a good hour to make sure i didn't have an extension conflict or settings were off. Please bring it back team, theres a reason you cloned vscode!

@th8m0z
Copy link

th8m0z commented Aug 27, 2024

This 100% needs to be added, it's the one thing holding me back from using and paying for Cursor.

@MilanMeurrens
Copy link

As @Magellol mentioned, doing CMD/CTRL + . does the trick. Might be nice to make it optional to show the lightbulb though.
image

@drddavi
Copy link

drddavi commented Aug 28, 2024

Its been a year, why cant this feature be re-enabled? I understand from the comments that it was annoying internal team.

However us end users, the product user want it. Kindly re-enable, we want back that quality of life feature!

@paul-vd
Copy link

paul-vd commented Aug 28, 2024

What do you use the lightbulb for? We disabled it because we were annoyed, but we can bring it back with a setting.

This is really stupid, why disable something which has a settings, and besides that why disable it without adding a setting to enable it. that lightbulb is very helpful in many cases, for example to ignore a eslint rule, and other extensions also use it for extra input.

@avikshith-np
Copy link

Bring back the lightbulb! Why are you restricting your users with this nonsense. As a person who does flutter development, this is an essential feature that you are blocking. @arvid220u

@drmathewsgit
Copy link

drmathewsgit commented Sep 3, 2024

Cant do anything in flutter without lightbulb. @arvid220u

@Magellol
Copy link

Magellol commented Sep 3, 2024

Does the ligthbulb do anything more than what CMD + . does? Because you can access the menu with that keyboard shortcut so it's not completely gone.

@drddavi
Copy link

drddavi commented Sep 3, 2024

@Magellol I am a flutter and react dev and we absolutely need this lightbulb! in flutter th lightbulb is a core part of the DX. We don't not want to do CMD + . The team should bring back the default and add a setting option to disable it.

The Editor is for the users not the internal team, if so many people are having an issue with it it's clear a major pain point and issue.

@paul-vd
Copy link

paul-vd commented Sep 4, 2024

Does the ligthbulb do anything more than what CMD + . does? Because you can access the menu with that keyboard shortcut so it's not completely gone.

No, it does not, but that's beside the point, the lightbulb was a visual indication that you have possible actions to perform on a line of code. And again, there is a setting to disable to lightbulb, so removing it completely is highly inconvenient to the users of the application. Removal of things like this should generally be behind a setting...

A good example is the ui change for the horizontal bar: https://docs.cursor.com/get-started/migrate-from-vscode#why-is-the-activity-bar-in-cursor-horizontal

@hellobigbug
Copy link

As a Python developer, there is a strong need for a bulb reminder. It is requested that the development team bring it back. The current static checking and fixing measures are insufficient to meet the development requirements.

@andresdegano
Copy link

I was testing the IDE and is quite nice, but I was surprised that the bulb was not there. I use it a lot, so its a deal breaker.

@HYAZEUS
Copy link

HYAZEUS commented Sep 13, 2024

Given it's a VSCode clone, and all these complaints, it's quite interesting they won't reimplement for such a simple addition. Did I read they removed it because one of the founders didn't like it? Seems like the wrong reasoning behind the decision.

@mgredenberg
Copy link

I am also a flutter developer and urgently need the light bulb.
What also worries me is that no one from the Cursor team has replied here for more than a year!

@lauraversocke
Copy link

I'm FE dev and I also miss light bulb a lot, it was usefull for quick imports, it would be great to have it in cursor too 🙌

@mohamoha6200
Copy link

This issue has been acknowledged and promised to be entertained a year ago, what's delaying it all this long ?

@TomWeStartFires
Copy link

Our whole team moved over to cursor, but this is very frustrating that there is a user option to control this but has been hard disabled and taken away end user customisation that was built in. Please re-enable at least the option, it defaulting to off in the settings would be fine.

@faheemstepsharp
Copy link

Please re-enable this feature, our team is unable to be more productive

@ak99372
Copy link

ak99372 commented Sep 30, 2024

Just another reason Cursor should be an Extension (not a fork of IDE), shouldn't need to decide between Cursor and basic VS Code functionality (or wait a year(s)? to get it fixed).

@timreach
Copy link

timreach commented Oct 2, 2024

An absolutely insane decision to disable this and still have it disabled after people have requested it back. Mindboggling in fact. Why override the VSC settings for zero benefit?

@nagromLobo
Copy link

I also use it for spellchecking and for quick auto-imports in python (though maybe there is a way around this for the imports at least)

@umstek
Copy link

umstek commented Oct 11, 2024

image

There are useful non-AI things too, you know. More reliable than doing with AI.

@drddavi
Copy link

drddavi commented Oct 14, 2024

I did a fresh install with homebrew and enabled the setting below, now i can see the bulb

Screenshot 2024-10-13 at 7 29 49 PM Screenshot 2024-10-13 at 7 30 31 PM

@umstek
Copy link

umstek commented Oct 14, 2024

I did a fresh install with homebrew and enabled the setting below, now i can see the bulb

So, ... the light bulb appears alright; but can't click most of the time 😅

@andresdegano
Copy link

andresdegano commented Oct 14, 2024

I did a fresh install with homebrew and enabled the setting below, now i can see the bulb

So, ... the light bulb appears alright; but can't click most of the time 😅

yup, just tried myself, the bulb is there alright but just unclickable...

@mintyPT
Copy link

mintyPT commented Oct 16, 2024

Installed last week. No bulk, no cmd+.

@msamoeed
Copy link

msamoeed commented Oct 23, 2024

idk who thought it was a good idea to remove a feature that exists in vscode, there is a reason its there..

@knowbee
Copy link

knowbee commented Oct 30, 2024

@arvid220u Can you please provide an update on this issue?

@Carleslc
Copy link

Carleslc commented Nov 4, 2024

Flutter developer here. I tried Cursor intending to pay for the upgrade. The first thing I noticed is the missing lightbulb, so I sadly have to go back to VSCode until this is fixed.

With the option "editor.lightbulb.enabled": "on" the lightbulb appears in Cursor but is unclickable, so it's unusable anyway. And no, Ctrl+. is not as useful nor visible as the lightbulb.

Many users are requesting this feature, which as a clone of VSCode should be available right away. If some users do not want the lightbulb it can be disabled using the settings option.

@nialljawad96
Copy link

the lightbulb is unclickable @arvid220u

@zhoudajun-ola
Copy link

Temporary solution: Use the shortcut key to manually trigger quickFix;
Related command: action.quickFix

@randal923
Copy link

randal923 commented Jan 6, 2025

As others have said, the lightbulb is extremely important for some developers. I have no idea why you guys removed something without verifying who it affects first. cmd/ctrl + . works but I had to look it up to figure it out.

@mintyPT
Copy link

mintyPT commented Jan 6, 2025

After so much radio silence, it doesn't seem they are interested in solving this.

@MrDWilson
Copy link

Would also like this solved, the lightbulb shows but is not clickable. A keyboard shortcut for this basic feature that is in VS Code feels weird.

@berkeonurs
Copy link

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.

@michaelperrin
Copy link

I am using the lightbulb on React / JS / TS code to quickly refactor things, like adding braces to an arrow function.
I am really missing this in Cursor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests