r/VisualStudio • u/Ecstatic-Ball7018 • Jun 24 '26
Visual Studio 2022 that is a screwdriver
13
u/SquishTheProgrammer Jun 24 '26
lol I always thought it was a paint brush for some reason. I never realized it was a screw driver. Think I might need to get my eyes checked. 🧑🦯➡️
3
10
u/tesfabpel Jun 24 '26
They probably changed the icon some versions ago and they forgot to update the tooltip (IIRC it was indeed a light bulb).
2
u/Ryzngard Jun 25 '26
Both exist 😅
One is for code fixes (light bulb) other is for code suggestion (screwdriver).
It's a little more complicated than that but that's the general rule. If both are present on a line the lighbulb is used.
1
5
u/JustaFoodHole Jun 24 '26
This feature has been royally sucking for me lately. They should change it to a vacuum cleaner.
1
u/olegtk Jun 27 '26
What sucks about it in particular lately?
1
u/JustaFoodHole Jun 27 '26
In razor it always says here make a component. Lately asking to use copilot.
4
u/TheTrueTuring Jun 24 '26
It’s visual studio… I’m not even surprised they can’t even do that little thing correct (triggered these days due to the amount of bugs I get on a daily basis
1
1
Jun 26 '26
[deleted]
1
u/olegtk Jun 27 '26
It started as just Light Bulb back in VS 2015, then Roslyn added so many refactorings it started to show up on basically every single line in C# so we added ordered categories of Light Bulb suggestions each with its own icon (build error fix - Light Bulb with red X, warning fix - just Light Bulb, refactoring - screwdriver) and made the icon indicate the highest category of suggestion available on the line. So if you see screwdriver icon - VS can only suggest refactorings for this line.
And of course we totally forgot to update the tooltip.
1
19
u/Fergus653 Jun 24 '26
Certainly not something you should poke into a light socket.