Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ViM-like search highlight in Visual Studio possible?

ViM has this option hlsearch where a searched string is displayed in highlight mode at all places in the file it is found. Is there a way to do the same in Visual Studio?

That is, if I search for "foobar", then all the foobar in the file are shown highlighted and this display remains until my next search. I find this very useful to see the places in a function where a certain variable is used (without having to manually search for the next appearance of that string).

I am aware of the Visual Studio Task List which can be used to look up strings like TODO. I hope the reader realizes that this is not a good fit for my problem which is more general text search and highlight.

like image 255
Ashwin Nanjappa Avatar asked May 30 '09 07:05

Ashwin Nanjappa


1 Answers

If you like vim and are using Visual Studio you may want to check out Viemu.

The hlsearch Feature is of course included.

Example Picture:

Viemu hlsearch http://dklein.taunus.de/viemuhlsearch.png

With best regards.

like image 149
leen Avatar answered Oct 29 '22 10:10

leen