How to Disable Reference Highlighting in Visual Studio?

In the Visual Studio , there is a feature called Reference highlighting where we select a variable , all the instances of the variables are highlighted automatically .

This works similar to FindAll .. giving the developer a clear overview of the instances used in the form by highlighting the selected text/ variable  .

How to Disable Reference Highlighting in Visual Studio?

If you don’t like this feature and want to disable it , here’s are the steps to be followed .

  1. Go to Tools
  2. Select Options
  3. Click Text Editor
  4. Click C# and select Advanced
  5. Uncheck the option “Highlight references to symbol under cursor” .

    2 Comments

  1. Kacey Akhand
    December 20, 2010
    Reply

    Senthil,
    I usually get bored easily and close the tab but i think you can add some value.

  2. John
    May 5, 2011
    Reply

    Thanks! This was driving me nuts.

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error code “SCC_E_BACKGROUNDGETINPROGRESS” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_UNKNOWNERROR” returned by the Visual Studio when using the Source Control...
In this post, you’ll learn about the error code “SCC_E_CONNECTIONFAILURE” returned by the Visual Studio when using the Source Control...