views:

29

answers:

2

Hi,

Sorry for the lame question, but I can't think of a decent way to ask.

When I have certain text selected, Visual Studio highlights certain other related text. If my caret is within "Get", the "Return" and "End Get" lines are highlighted. If I put the caret within the name of an instance, all references to it are highlighted. "If" highlights "Then" and "End If", etc.

This highlighting is weak and grey and shows up really badly on my screen and I was hoping someone could tell me what the name of the highlight it is in Tools -> Options -> Environment -> Fonts and Colors so that I can change it to something more eye-catching.

Any ideas?

Cheers.

+1  A: 

I think you're looking for "Highlighted Reference". At least in VS2010.

Martin Harris
Cheers. Never would have gotten that from the name.
Frosty840
+1  A: 

Yep. It's Highlighted Reference and one of my favorite features :) Here is a post on how to use this feature to your advantage: http://blogs.msdn.com/b/zainnab/archive/2010/01/18/how-to-use-reference-highlighting.aspx

zainnab