views:

23

answers:

2

I just installed MSVS2010 Ultimate & I've noticed something which is somewhat annoying & conflicting with my syntax highlighting, as can be seen:

alt text

As can be seen, when a keyword/function/variable/etc is highlighted all other instances of the aforementioned are highlighted too. This is somewhat annoying.

Is there any way to disable this?

A: 

This is a new feature from VS IDE to show you other changes tothis object. but ifyoudo not like it you can easily changed it by pressing

CTRL + ALT + Spacebar

you can read detail in my blog


updtae : thismentioned in VS2010 official Website here

You also can try CTRL+SHIFT+DOWN ARROW or CTRL+SHIFT+UP ARROW. see the VS page

Nasser Hadjloo
Just tried it, CTRL+ALT+SPACE did nothing but show the auto-complete drop-down.
Irwin
I'll update my answer . you should press these whene you are opening Intellisense so check it again.
Nasser Hadjloo
Yet again, it did nothing.
Irwin
@Irwin- Do you read the instructions or not? is it really necessary to copy and paste the text in the mentioned link ?
Nasser Hadjloo
A: 

This is considered a new feature of Visual Studio 2010.

But a fast trick to disable is following these steps:

  1. Tools -> Options -> Environment -> Font and Colors
  2. Choose the item Highlighted Reference
  3. Set its color equal to the background you are using (i suppose a really dark gray from your screenshot)

I like this feature but I tuned the color a bit to have it only little more lighter than the background :)

marco.ragogna