Is there a way to save a search information in Visual Studio. For example if I'm constantly searching for "This string", match case, match whole word, look in 'Current Project'. Can I store this somehow as a saved search?
A:
Just Hit Ctrl + F and the Find what combo in the Find and Replace will have the latests words you have searched.
Carlos Muñoz
2010-09-02 14:06:55
+2
A:
This is easy to do with a macro. Start with Tools + Macros + Record. Do a search, setting all the options you want, click Stop Recording. View + Other Windows + Macro Explorer. Rename the "TemporaryMacro" to something more suitable. Tools + Customize + Keyboard and assign a keystroke to the macro.
You now have a single keystroke to execute the search.
Hans Passant
2010-09-02 14:07:34