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?
Could you please navigate to "Tools > Options > Text Editor > C/C++ > Advance", set "Disable Reference Highlighting" to "True" and try again.
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 .
On windows hold down Ctrl + Shift and on mac Command + Shift, then press the key P.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With