DataGrip 2022.2 Help

Find tool window

The Find tool window displays the results of the following searches:

The Find tool window can contain several tabs. By default, search results are updated in the current tab on every search. To show the results of each search in a separate tab, right-click the tool window title bar, and then select View Options | Open Results in New Tab.

By default, the Find tool window appears at the bottom of the screen. It has a toolbar with a set of buttons, a pane of results, and additional buttons for Replace in Path, and Refactoring Preview operations.

The Find tool window lets you work with search results.

Toolbar buttons

Item

Tooltip and Shortcut

Description

the Settings button

Settings

Click this button to edit the search settings.

the Rerun button

Rerun

Ctrl+F5

Repeat the last search.

the Close button

Close

Ctrl+Shift+F4

Close the current tab or the tool window.

App general pin tab

Pin Tab

Click this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.

Expand all/Collapse all

Expand all

Ctrl+NumPad +

Collapse all

Ctrl+NumPad -

Use these buttons to have all nodes expanded or collapsed.

Previous occurrence/Next occurrence

Previous/next occurrence

Ctrl+Alt+Up

Ctrl+Alt+Down

Navigate to the previous/next element in the tab of results.

Group by

Group by

Click this icon to open the menu for the following grouping options:

  • File Structure Ctrl+S: toggles grouping by statements.

  • Group by directory Ctrl+P: select this option to show all the usages of a symbol under the directories where they are found.

  • Usage type Ctrl+T: turns grouping usages by categories on or off.

the Preview Usages button

Preview Usages

Turns showing the Preview pane on or off.

Context menu commands

Item

Shortcut

Description

Rerun

Ctrl+F5

Run the action again and show the results on the same tab.

Jump to Source

F4

Navigate to the selected item in the source code.

Include

Insert

For an excluded item: include the item in the list of results.

Exclude

Delete

Exclude the selected item from the list of results. (Excluded items are shown strikethrough.)

When you carry out the Replace All or the Do Refactor command, the excluded items are not affected.

Remove

Ctrl+X

Remove the selected item from the list of results.

Recent Find Usages

Ctrl+E

Show the list of recent searches. Select an item in the list to see the search results.

Export to Text File

Alt+O

Save the contents of the current result tab. In the Export preview dialog, specify the target file or copy information to the clipboard. Before saving, you can also modify the information to be saved.

Upper Toolbar buttons

Icon

Tooltip

Description

Show Options Menu

Show Options Menu

Click this icon to open a menu with more options for managing the tool window such as displaying or hiding side toolbars, group tabs, selecting viewing mode, resizing, and so on.

Hide

Hide

Hides the tool window. Press Alt+3 to restore it.

Last modified: 23 August 2022