The Search menu provides commands to search in files.
The Search menu
Search menu commands
Menu command | Keystroke | Description |
Find |
Ctrl+F |
Searches documents for strings. |
Find in Files |
Ctrl+Shift+F |
Searches for a string in multiple files. |
Replace |
Replace |
Replaces text with different text. |
Replace in Files |
Ctrl+Shift+H |
Replaces text with different text in multiple files. |
Find Next |
F3 |
Searches for the next occurrence of the specified text. |
Find Previous | Shift+F3 | Searches for the previous occurrence of the specified text. |
Find Selected Text | Ctrl+F3 | Searches for the next occurrence of the selection. |
Find and Mark All | Alt+Shift+F3 | Searches the document for all occurrences of the specified text and marks them with bookmarks. |
Go To L:ine | Ctrl+G, Ctrl+L | Moves the cursor to a specified line in the document. |
Go To Mate | Ctrl+] | Moves the cursor to the bracket, parenthesis, or brace that matches the one at the cursor. |
Next Location | F4 | Moves the cursor to the line containing the next error or tag. |
Previous Location | Shift+F4 | Moves the cursor to the line containing the previous error or tag. |
Next Function | Ctrl+PgDn | Moves the cursor to the declaration of the next function. |
Previous Function | Ctrl+PgUp | Moves the cursor to the declaration of the previous function. |
Case Sensitive Matching | Ctrl+K, Ctrl+F, C | Enables or disables the case sensitivity of letters when searching. |
Whole Word Matching | Ctrl+K, Ctrl+F, W | Enables or disables whole word matching when searching. |
Regular Expression Matching | Ctrl+K, Ctrl+F, X | Enables or disables expression matching rather than plain text matching. |