# Saturday, March 13, 2010
« Visual Studio 2010 floating code windows... | Main | A way to determine if an ASP.NET MVC vie... »
Close up blog entry

After importing my color scheme from Visual Studio 2008 into Visual Studio 2010 I found a problem with the color used to highlight references. The background highlight shows up on the text under the caret for things like variables, functions, classes, etc. and any text that is a reference.

I created a short video to show how to deal with this issue.

The setting in Visual Studio 2010 is under the Tools…Options menu.

Visual Studio 2010 Tools Menu

Go to Environment… fonts and colors… Display item Highlighted Reference and change the item background.  If you want to get rid of the Highlighted Reference color then choose an item background of Automatic.

Visual Studio 2010 Options Fonts Colors Dialog

I hope this helps someone :-)

Share/Bookmark
Tuesday, April 13, 2010 2:48:54 PM (Eastern Daylight Time, UTC-04:00)
That's better than default, however it appears _over_ other decoration, like Breakpoints causing distraction.
arhoads76
Wednesday, April 14, 2010 9:59:52 PM (Eastern Daylight Time, UTC-04:00)
Good point. I found the solution to turning off the highlighted reference color at How to: Use Reference Highlighting. I'll update this blog post as well to specify how to turn it off.

I thought I searched for this at the time, but I guess I did not look hard enough :-)
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview