I have resharper installed and I'm not sure at this point whether it is resharper or VS?!
Have you run tests with code coverage enabled? ReSharper/dotCover will highlight covered code in green, and uncovered code in red. You can disable this in the "coverage" tab of the Unit Test Sessions window. Check the toolbar buttons. You should also be able to click "Disable code highlighting" in the ReSharper → Cover menu.
Related
Sometimes my Visual Studio IDE tries to "help" me with this strange behavior:
(look at the red border and gray tooltip about Tab suggestion)
but in reality it's very annoying and I make more mistakes if I suddenly press the Tab button.
How can I turn off this sugestion / help of Visual studio?
It seems the problem is global. Vote here if you want Microsoft to fix it soon:
The red AI highlighting with the arrow and tab to replace is not working correctly
I opened Visual Studio 2022 today and got these symbols on my left sidebar.
I didn't enable those, they just appeared. If i click on them, they show this:
They are really annoying, especially since the red arrows appear on the right sidebars in nearly the same color as error indicators.
I couldn't find an option to turn these off, or find a solution online. Does anyone know how to get rid of them?
You will want to turn off Git Line Staging support.
Go to Tools → Options → Environment → Preview Features and uncheck the "Git line-staging support" option and restart the IDE.
Visual Studio Version 17.3 turned this feature on by default. By turning it off, Visual Studio will revert back to having the "green and yellow" change indicator bars instead of these Git ones. It will also remove those red arrows you speak of.
Visual Studio 2022 now shows if content is edited or new on the left side of the text editor:
I think this used to be in the scrollbar and could be turned off there. Now I don't see it in scrollbar options and can find nothing on google about turning it off.
Right clicking on it does nothing, I've looked around in Options but can see nothing.
How do I turn this off?
thx
Open Visual a Visual Studio Project go to : Tools/Option/Text Editor/ General And turn Off the Flag on 'Track Changes' checkbox.
I'm using Visual Studio and ReSharper. When clicking a "switch" statement, sometimes a "black hammer" icon is displayed and sometimes it's a yellow lightbulb. Like this:
i'm not sure which one is which, but i think, one of the icons is displayed by visual studio, the other by resharper. (i assume the yellow one is resharper, because it has more funktionality and for design reasons.).
is there a way i can turn off the "black hammer" one alltogether? Or, is there a reproducible way to allways get the same icon? Right now i have no idea why sometimes the hammer comes up and the lightbulb other times.
The 'bulb' and 'hammer' icons are both supplied by ReSharper (see here). You can merge the Visual Studio features with ReSharper's by adjusting the ReSahrper->Options...->Environment->Editor->Visual Studio Features settings.
You can change the icon theme by adjusting ReSharper->Options...->Environment->General
When debugging a project in Visual Studio 2005, I have recently noticed a brief appearance of the "Object Test Bench" window. This window appears and then disappears after less than a second and does not look like the normal "Object Test Bench" window one sees when not debugging, as it looks like this:
alt text http://www.beok.co.il/images/ObjectTestBench.jpg
I would like to stop this window appearing and have tried the following:
Closing all Object Bench Test windows when not debugging
Resetting Visual Studio to default settings (devenv /ResetSettings)
Any other ideas?
Migrated? Hmm no code in this question. Anyway is the Object Test Bench perhaps open, but docked, so it pops up when the IDE state changes?
More info on the OTB on MSDN here :)
Edit: Here is what my VS 2005 OTB looks like.
alt text http://i.imagehost.org/0989/otb.gif
I also have the same problem. I once had JetBrain's Resharper 4.5 installed. I uninstalled it after my trial expired, and I think that's when I noticed the Object Test Bench popping up when I debug.
Did either/both of you have Resharper or any other Visual Studio add-on installed/uninstalled before this problem?
Related link on stackoverflow
I had what may be a similar problem: not just the Oject Test Bench, but also Breakpoint, Call Stack, and other windows popped up all over whenever I ran in Debug mode. It started during a project with a single page containing several (probably incompatible) jQuery scripts.
What worked for me was to click on Window -> "Auto Hide All", then again on Window -> "Reset Window Layout". That seemed to resolve it.
Go to on Window -> "Auto Hide All", after go on Window -> "Reset Window Layout". That will resolve the problem it.