Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Reference Highlighting Won't Disable

I have disabled Reference Highlighting in Visual Studio 2013 for C# code using the instructions here: http://blogs.msdn.com/b/zainnab/archive/2013/07/18/visual-studio-2013-reference-highlighting.aspx. Yet, I still see references highlighted.

The font-color combination being used does not match the font-color setting for Highlighted Reference -- the setting is green background with off-white text, and highlighted references appear as white background with off-white text. Also, the reference navigation does not work (as expected) -- pressing CTRL+SHIFT+DOWN/UP does not do anything, indicating the highlighted references feature is turned off.

How can I stop the references from being highlighted?

like image 361
Matt Slavicek Avatar asked May 09 '14 15:05

Matt Slavicek


People also ask

How to stop highlighting in Visual Studio?

Could you please navigate to "Tools > Options > Text Editor > C/C++ > Advance", set "Disable Reference Highlighting" to "True" and try again.

How do I turn off highlighting in Vscode?

You can enable / disable semantic highlighting in the VS Code settings. Press F1 to open the command window, and then enter "Open Settings (UI)". Search "semantic" to find the Editor>Semantic Highlighting item . Set the value to true to enable semantic highlighting; otherwise set it to false .

How do I highlight in Visual Studio?

On windows hold down Ctrl + Shift and on mac Command + Shift, then press the key P.


1 Answers

It was caused by the Match Margin feature of the Productivity Power Tools extension. I couldn't find a way to change the background color used for highlighting, so I just turned off the feature.

like image 81
Matt Slavicek Avatar answered Nov 02 '22 03:11

Matt Slavicek