llms.txt: machine-readable documentation index. Markdown version of this page is also available.

JetBrains Air Help

Search and replace

Use the Search tool when you need every match in the project at once: an error message, a config key, an API name you're about to change. You can narrow the search, group the results, and replace matches across files.

Find text in the open file

  1. In the editor, press Ctrl+F.

  2. Type what you're looking for. Use the icons in the field to match case, match whole words, or use a regular expression, and the arrows to move between matches. Press Alt+Up to go back to an earlier query.

Search across the project

  1. On the tool bar on the right, click Search.

  2. Press Ctrl+T and select Search.

  3. Enter the text you want to find. You can use regular expressions and the search options in the search field.

    The Search tool with a query typed in and the results grouped by file, each with its number of matches
  4. Select a match to open the file at that line.

Narrow the search

When a search returns too much, use the Search Options menu in the Search tool to scope it down.

Limit the search scope

  1. In the Search tool, open Search Options.

  2. Enable Scope to show the In folder field.

  3. Enter the folder to search in.

    To search one folder straight from the project tree, right-click it in the Files tool and select Find in Files.

Filter by file name pattern

  1. In the Search tool, open Search Options.

  2. Enable File Mask to show the File mask field.

  3. Enter a file name pattern, for example *.java.

Group results by folder

  1. In the Search tool, open Search Options.

  2. Under Group By, select Folder. Parent folders appear in the results pane.

Replace in multiple files

To go straight to replace mode from anywhere, press Ctrl+Shift+H (Replace in Files).

Switch between search and replace

  1. In the Search tool, click the arrow at the left of the search field to show the replace field.

  2. Type the replacement. Press Alt+Enter to replace the selected match, or Ctrl+Alt+Enter (⌥ ⌘ ⏎ on macOS) to replace all of them.

Replacements are edits of your own, so commit them from the Changes tool before the agent's next turn – see Edits you make yourself.

Find and replace actions

Four similarly named actions cover the two scopes: the file you have open, and the whole project. If you don't remember a shortcut, press Ctrl+Shift+K for the Actions tab of Go to All and type find or replace.

Action

Scope

Shortcut

Find

The file you have open

Ctrl+F

Replace

The file you have open

Ctrl+H

Find in Files

The whole project. Opens Text Search, which is built for jumping to one result – see Go to All.

Ctrl+Shift+F

Replace in Files

The whole project. Opens the Search tool in replace mode.

Ctrl+Shift+H

06 November 2026