Search this blog

Thursday, June 4, 2009

Visual Studio : Search and replace Keys

Ctrl-F : Displays the Find dialog

Ctrl-Shift-F : Displays the Find in Files dialog

F3 : Finds the next occurrence of the previous search text

Ctrl-F3 : Finds the next occurrence of the currently selected text or the word under the cursor if there is no selection

Shift-F3 : Finds the previous occurrence of the search text

Ctrl-Shift-F3 : Finds the previous occurrence of the currently selected text or the word under the cursor

Ctrl-D : Places the cursor in the Find/Command line on the Standard toolbar

Alt-F3, H : Selects or clears the Search Hidden Text option for the Find dialog

Ctrl-I : Starts an incremental search—after pressing Ctrl-I, you can type in text, and for each letter you type, VS.NET will find the first occurrence of the sequence of letters you have typed so far. This is a very convenient facility, as it lets you find text by typing in exactly as many characters as are required to locate the text and no more. If you press Ctrl-I a second time without typing any characters, it recalls the previous pattern. If you press it a third time or you press it when an incremental search has already found a match, VS.NET searches for the next occurrence.

Alt-F3, C : Selects or clears the Match Case option for Find and Replace operations

Alt-F3, R : Selects or clears the Regular Expression option so that special characters can be used in Find and Replace operations

Ctrl-H : Displays the Replace dialog

Ctrl-Shift-H : Displays the Replace in Files dialog

Ctrl-Shift-I : Performs an incremental search in reverse direction

Alt-F3, S : Halts the current Find in Files operation

Alt-F3, B : Selects or clears the Search Up option for Find and Replace operations

Alt-F3, W : Selects or clears the Match Whole Word option for Find and Replace operations

Alt-F3, P : Selects or clears the Wildcard option for Find and Replace operations

No comments:

Post a Comment