I would like to enable (if it exists) an option in Visual Studio 2010 that would highlight the same identical words to the selected ones. There is a feature like this already implemented e.g. in Notepad++ it looks more or less like this :

enter image description here

Does anyone know if it exists in Visual Studio 2010 ?

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

There is an extension on Microsofts Visual Studio Gallery named "Highlight all occurrences of selected word" which promises what you're looking for.

link|improve this answer
Thanks! This extension is awesome :) – Patryk Feb 6 at 17:33
Visual Assist X, although commercial, provides the same as one of its functions. – STATUS_ACCESS_DENIED Feb 6 at 17:36
feedback

Umm, this is a built in feature.

http://blogs.msdn.com/b/zainnab/archive/2010/01/18/how-to-use-reference-highlighting.aspx

http://msdn.microsoft.com/en-us/library/ee349251.aspx

link|improve this answer
Yeah this works but only for Basic and C#. ( I didn't mention that but I want it to work with C++ and the solution mentioned by Oliver works for that) – Patryk Feb 7 at 8:20
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.