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.
On windows hold down Ctrl + Shift and on mac Command + Shift, then press the key P.
Right click on any word under the caret and select Toggle highlight of current word in the MultiWordHighlight menu.
Could you please navigate to "Tools > Options > Text Editor > C/C++ > Advance", set "Disable Reference Highlighting" to "True" and try again.
The Highlight all occurrences of selected word extension in Visual Studio Gallery does just that.
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