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” .