Reference Highlighting in Visual Studio 2010

In the Visual Studio 2010 , when 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  .

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

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.


  1. Kacey Akhand December 20, 2010 Reply
  2. John May 5, 2011 Reply

Leave a Reply


Interesting BlogPosts to read

How to get an Enumerator from range of elements from ArrayList in C# ?
The code snippet shown in this blog post demonstrates how you can get the enumeraor from a range of ...
How to check for the column name in an SqlDataReader Object in C# ?
When working in ADO.NET for data access , there are times when you want to check to see if a column ...
How to disable Diagnostic Tools in Visual Studio 2015?
When you debug an .NET application in Microsoft Visual Studio 2015 , you will notice that the Diagno...