or
Ctrl+Shift+F or Ctrl+Shift+R
In the Project tool window:
or from the context menu for a directory
Specify what you want to find and where. In the Replace in Path dialog, also specify the replacement text or pattern.
Use Ctrl+Shift+F and Ctrl+Shift+R to switch between the find and replace modes.
Search pattern and replacement text
| Item | Description |
|---|---|
| Text to find | In this field, specify the search pattern. Type the text manually or select one of the previously
specified patterns from the drop-down list.
Pressing Alt+Down in this field, will open a history drop-down list of your previous search entries. |
| Replace with | In this field, specify the replacement text. Type the text manually or select one of the previously
specified substitutions from the drop-down list.
This field is available only in the Replace in Path dialog. |
Options
Use this tab to specify find and replace options.
| Item | Description |
|---|---|
| General |
In this area, specify additional search and replace parameters. The available options are:
|
| Scope | In this area, specify the scope to apply the search to. The available options are:
|
| File name filter | In this area, specify additional settings to narrow down the search scope.
If text to find is not entered, and this check box is selected, then IntelliJ IDEA find all files matching the specified mask, regardless of their contents. |
| Result options | Click the down arrow to reveal the result presentation options.
|
| Find |
|
Preview
Use this tab to check the preview of your search target.
You can press Up or Down keys to navigate between entries in the preview area without leaving the Text to find field. You also can press F4 to get to the selected entry in the editor.
