For most of the people this is not new, but for me this is..
I Always liked the emacs/vi incremental search feature and i wished windows has that.
Now i discover that Visual Studio has already implemented this feature.
Simple press Ctrl + I in which ever file you want to do incremental search. You can notice that status bar displays the typed incremental search string and you can clearly see the incremental search been done on your editor. Press Shift+Ctrl+I will take you to obvious reverse incremental search.
Just Press Esc to come out of incremental search.
In VS2003 to 2008 , you can see and search icon with direction of search being displayed if you press Ctrl+I
1 comment:
That is a useful tip Sanjeev.
But couple of doubts
a) Why am holding Ctrl to go to next instance of searched text. Am I not in incremental search mode. Of course I am; that is the reason I need to press "esc" to come out. Then why this double key entry. Is there any single key stroke like any function key to go to next one or previous one.
b) Can it do any regex stuff also like VIM and emacs? Can I specify any escape sequences?
Post a Comment