Tuesday, October 28, 2014

Tip 3.6: How to use the Find combo box to do a Quick Find in the current document

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



The Find combo box is another way of doing a Quick Find with the scope limited to the current document.

Press Ctrl+D to reach the Find Combo box. Now type whatever search string you want, and press Enter to do a forward search or Shift+Enter to do a reverse search.



Happy Programming! =)
Posted by Nils-Holger at 1:45 PM with 444 comments.

Monday, October 27, 2014

Tip 3.5: You can use Ctrl+F to use Quick Find in the current document

"Visual Studio Tips, 251 ways to improve your Productivity", courtesy of 'Sara Ford'

Sara Ford's Blog

Pressing Ctrl+F brings up the UI to start a Quick Find search in the current document.



Quick Find prepopulates the Find What text with whatever text is selected in the editor or the word that the cursor is currently on.

Additionally, this Find And Replace window is actually a tool window, so you can dock it somewhere and continue to type in the editor while the window is open.

Happy Programming! =)
Posted by Nils-Holger at 1:47 PM with 445 comments.

Sunday, October 26, 2014

Tip 3.4: You can use F3 to search for the last thing you searched for

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Obviously, you can press the Find Next button in the Find And Replace window. But you can also press F3 to search for the next instance, and Shift+F3 searches for the previous instance of the search string.



Note that this keyboard shortcut is only for Quick Find and Find In Files, not for an incremental search.

Happy Programming! =)
Posted by Nils-Holger at 1:20 PM with 438 comments.