cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Code Action Lightbulb not showing

Open marcelo-mason opened this issue 2 years ago • 72 comments

  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 avatar Aug 18 '23 23:08 marcelo-mason

Setting is enabled on both:

image

marcelo-mason avatar Aug 18 '23 23:08 marcelo-mason

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

arvid220u avatar Aug 18 '23 23:08 arvid220u

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

knowbee avatar Aug 18 '23 23:08 knowbee

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.

tatelax avatar Aug 21 '23 01:08 tatelax

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

tom-voicer avatar Aug 24 '23 06:08 tom-voicer

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.

marcelo-mason avatar Aug 24 '23 21:08 marcelo-mason

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.

Jethro87 avatar Aug 31 '23 23:08 Jethro87

@arvid220u

knowbee avatar Sep 01 '23 05:09 knowbee

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?

arvid220u avatar Sep 01 '23 06:09 arvid220u

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

Jethro87 avatar Sep 04 '23 14:09 Jethro87

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.

Jethro87 avatar Jan 16 '24 04:01 Jethro87

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

tech-craniometrix avatar Feb 15 '24 16:02 tech-craniometrix

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

Magellol avatar Feb 19 '24 21:02 Magellol

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

kylegwalsh avatar Jul 25 '24 14:07 kylegwalsh

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

Ali1Ammar avatar Jul 31 '24 13:07 Ali1Ammar

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

AmanuelYosief avatar Aug 06 '24 08:08 AmanuelYosief

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

miklereverie avatar Aug 08 '24 00:08 miklereverie

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!

HYAZEUS avatar Aug 19 '24 07:08 HYAZEUS

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

th8m0z avatar Aug 27 '24 04:08 th8m0z

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

MilanMeurrens avatar Aug 27 '24 08:08 MilanMeurrens

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!

drddavi avatar Aug 28 '24 02:08 drddavi

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.

paul-vd avatar Aug 28 '24 23:08 paul-vd

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

avikshith-np avatar Sep 03 '24 06:09 avikshith-np

Cant do anything in flutter without lightbulb. @arvid220u

drmathewsgit avatar Sep 03 '24 06:09 drmathewsgit

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.

Magellol avatar Sep 03 '24 16:09 Magellol

@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.

drddavi avatar Sep 03 '24 16:09 drddavi

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

paul-vd avatar Sep 04 '24 07:09 paul-vd

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.

hellobigbug avatar Sep 10 '24 07:09 hellobigbug

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.

andresdegano avatar Sep 13 '24 17:09 andresdegano

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.

HYAZEUS avatar Sep 13 '24 18:09 HYAZEUS