7

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 ?

7

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

  • Visual Assist X, although commercial, provides the same as one of its functions. – 0xC0000022L Feb 6 '12 at 17:36
2

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

  • 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 '12 at 8:20
1

People Looking for visual studio 2015:

https://marketplace.visualstudio.com/items?itemName=PaulCzywczynski.Highlightalloccurrencesofselectedword

It's a modified version of Nicholas Sha's plugin by Paul Czywczynski. The syntax highlighting looks just like notepad++, but better.

It puts little markers on the line numbers of the occurances.

Screen Shot Here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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