Jordan Morris
Jordan Morris

Reputation: 2301

Visual Studio 2010 - cannot find color setting for identifier-matching

I am looking for the option to set the background/highlight color for identifier-matches on Visual Studio.

For example, if I have an identifier:

int myNumber=0

Now, I put my cursor on into the middle of myNumber. Visual Studio highlights all other occurrances of myNumber on the page.

I cannot, for the life of me, find the color settings for this highlighting. At the moment in my color scheme it looks very much like the color for selected text. So, it is confusing and affects my productivity.

If anyone can track this down, you will be my hero.

Upvotes: 6

Views: 1051

Answers (2)

Malvineous
Malvineous

Reputation: 27300

Since this comes up in the first Google search result, I'll also add that you may also have to enable the option if the colour you have selected isn't working. This is located in various places:

  • Text Editor, [Basic, C#], Advanced, "Highlight references to symbol under cursor"
  • Text Editor, C++, Advanced, "Disable Reference Highlighting"

Upvotes: 2

Kevin
Kevin

Reputation: 8561

It's a few months late, but the setting you're looking for is Highlighted Reference.

Upvotes: 10

Related Questions