Search menu

The Search menu contains commands for finding text in source code. Choose one of the following commands for more information.


Search|Find

Displays the Find Text dialog box. Use this dialog box to specify text you want to locate and set options that affect the search.

See also:
User's Guide: Finding specific text


Search|Replace

Displays the Replace Text dialog box. Use this dialog box to specify text you want to search for and then replace with other text (or with nothing).

See also:
User's Guide: Replacing text


Search|Search Again

Repeats the last Find or Replace command.

The settings last made in the Find Text or Replace Text dialog box remain in effect when you choose Search Again. For instance, if you have not cleared the Replace Text settings, the Search Again command searches for the string you last specified and replaces it with the text specified in the Replace Text dialog box.


Search|Incremental Search

Moves the cursor directly to the next occurrence of text that you type.

When you are performing an incremental search, the Content pane status line reads "Searching For:" and displays each letter you have typed.

For example, if you type "class" the cursor moves to the next occurrence of the word, highlighting each letter as you type it. This behavior continues until the editor loses focus or you press Enter or Escape.

Incremental Search keystroke options

Option Description

Backspace Removes the last character from the search string and moves to the previous match.
F3 Repeats search (Default keybinding)
Ctrl+L Repeats search (Classic keybinding)
Ctrl+S Repeats search (Epsilon keybinding)
Shift+F5 Repeats search (Brief keybinding)

See also:
User's Guide: Searching incrementally as you specify a search string


Search|Search Source Path

Opens the Search Source Path dialog box, where you search for a string in all files in all directories in your source path.

Zipped files are not searched. You can add and remove directories to search.

See also:
User's Guide: Searching for text across files in a selected path or paths


Search|Go to Line Number

Displays the Go To Line Number dialog box.

This dialog box prompts you for the line number you want to find. (The current line and column number are displayed in the Line and Column Indicator on the status bar of the Content pane.) The current line number is displayed in the Enter New Line Number input box.

See also:
User's Guide: Going to a specific line number


Search|Browse Symbol

Displays the Browse Symbol dialog box. Use this dialog box to browse a specific symbol (class, package, or interface). The class must be on the imports path, for it to be found automatically.

See also:
User's Guide: Browsing the source code for a language keyword