Find tool window
The Find tool window displays the results of the following searches:
Find Usages of a data source, a table, or a column.
The Usages pane appears in the Dependencies Viewer, when an entry is selected in the Parent Code pane.
The results of each search are displayed in a separate tab, or replace the contents of the current tab, depending on the Open in new tab dialog setting. By default the 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, Structural Replace, and Refactoring Preview operations.
Toolbar buttons
Item | Tooltip and Shortcut | Description |
---|---|---|
Options Ctrl+Alt+Shift+F7 | Click this button to open one of the Find Usages dialogs, which corresponds to the symbol. You can edit the search settings and click button to execute the modified search query. | |
Rerun Ctrl+F5 | Repeat the last search. This button is not available for viewing code coverage results. | |
Close Ctrl+Shift+F4 | Close the current tab or the tool window. This button is not available in Replace in Path and Refactoring Preview dialogs. | |
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 Ctrl+NumPad + Collapse all Ctrl+NumPad - | Use these buttons to have all nodes expanded or collapsed. |
/ | Previous/next occurrence Ctrl+Alt+Up Ctrl+Alt+Down | Navigate to the previous/next element in the tab of results. |
Group by | Click this icon to open the menu for the following grouping options:
| |
Show read access Ctrl+R | This button is available for Find Usages only. If this button is pressed, the search results include references to the read access methods. | |
Show write access Ctrl+W | This button is available for Find Usages only. If this button is pressed, the search results include references to the write access methods. | |
Show import statements Ctrl+I | This button is available for Find Usages only. If this button is pressed, the search results include the usages in the import statements. | |
Preview Usages | Click this icon to open the Preview pane next to the search results. | |
Do Replace All | Alt+D | Click this button to replace all occurrences in the current tab of results. |
Replace Selected | Alt+L | Click this button to replace the selected occurrence in the current tab of results. |
Do Refactor | Alt+D | Click this button to perform refactoring on all occurrences in the current search results. |
Cancel | Alt+C | Click this button to discard search results and close the results tab. |
Replace All | Click this button to replace all found occurrences. | |
Replace Selected | Click this button to replace the highlighted occurrence. | |
Preview Replacement | Click this button to show how the changes will apply to the selected node in the Find tool window. In this case, the corresponding occurrence is highlighted in the source code. |
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. |
Add to Favorites | Add the selected node to the Favorites list. You can also create the new favourites list and add the selected node to it. IntelliJ IDEA displays the created favourites list next to the Add to New Favourites List option. | |
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 | 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 | Hides the tool window. Press Alt+3 to restore it. |