Search code examples
visual-studiovisual-studio-2010editorhighlighting

How to get Visual Studio 2010 to highlight instances of a variable


I'm new using vs2010 I've read that when you click on a variable its suppose to highlight all the instances of that variable in that file and highlight red or show an error as well where the number line is located. How can I get vs2010 to do this because by default it doesn't do that for me and it would be great for the highlighting to work. Thanks.


Solution

  • The Highlight all occurrences of selected word extension in Visual Studio Gallery does just that.

    Highlight all occurrences of selected word