Search menu

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



Search|Find

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

Select text in the editor and choose Search|Find.



Search|Find In Path

Opens the Find In Path dialog box, where you search for a string in all files in all directories in a specified source path.

Results are displayed in the Search Results tab in the message pane.



Search|Replace

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



Search|Replace In Path

Opens the Replace In Path dialog box, where you replace a string in all files in all directories in a specified source path.

Results are displayed in the Search Results tab in the message pane.



Search|Search Again

Repeats the last Find or Replace command.

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



Search|Incremental Search

Moves the cursor directly to the next occurrence of specified text.

Select Search|Incremental Search. A tool tip appears near the top of the editor that reads "Search For:". Start typing and each letter you type appears in this tooltip and the cursor moves to the next match.

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



Search|Go To Line

Opens 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. Enter the desired line number in the Enter New Line Number input box and click OK.



Search|Find Classes

Displays the Find Classes dialog box. Use this dialog box to find a specific class, package, or interface. Symbols that can be found this way include:

In order for a class to be found automatically, it must be on the import path.

Results are displayed in the content pane.



Search|Find Definition

Put your cursor in the editor within a symbol name. Select Search|Find Definition. The file containing the definition of that symbol appears in the editor, with the cursor in the definition.

Return to where you were by re-selecting the file you started from. The cursor remains where you left it in that file.



Search|Find References

JBuilder SE and Enterprise

Place the cursor in the editor within a symbol name. Select Search|Find References. All references to that symbol appear in the message pane, organized by type of reference. Click an expansion icon to see the references listed within each type of reference.



Search|History

Return to a specific file in the history list. Select an item from the History submenu to return to that file.



Search|Back

Opens the previous file in the history list.



Search|Forward

Opens the next file in the history list.