Posts tagged 'Searches Keyboard'

Saturday, June 8, 2013

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 12:47 PM with 0 comments.

Friday, June 7, 2013

Tip 3.3: How to not automatically search for the currently-selected word

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

Sara Ford's Blog



Go to the Tools–Options–Environment–Find And Replace page, and uncheck the Automatically Populate Find What With Text From The Editor option.



Now, when you hit Ctrl+F (Quick Find) or Ctrl+Shift+F (Find In Files) or Ctrl+H (Quick Replace), the Find What combo box will not automatically display the current word or selected text.

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

Thursday, June 6, 2013

Tip 3.2: You can use Ctrl+F3 to search for the currently-selected word without bringing up the Find And Replace window

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

Sara Ford's Blog



Just select some text (or just have the cursor on the word you want to search for) and press Ctrl+F3. Ctrl+Shift+F3 will do a reverse search.



Note that a Ctrl+F3 search uses the following options:
  • Is case sensitive
  • Searches hidden text
  • Allows for partial matching
  • Does not use regular expressions


Happy Programming! =)
Posted by Nils-Holger at 2:18 PM with 440 comments.

Wednesday, June 5, 2013

Tip 3.1: How to behold the power of incremental search

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

Sara Ford's Blog



Sara Aside

She didn't know about incremental search until someone showed her. Now she can't live without it.
To conduct an incremental search, follow these steps:
  1. Press Ctrl+I.
  2. Start typing the text you are searching for.

    Note

    You'll see the cursor jump to the first match, highlighting the current search string.
  3. Press Ctrl+I again to jump to the next occurrence of the search string.



Additionally, you can press Ctrl+Shift+I to search backward. To stop searching, press Esc. You'll see confirmation in the status bar that you are out of the incremental search mode.

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