<html><head><link rel="canonical" href="https://www.jetbrains.com/help/idea/find-tool-window.html.md/" data-react-helmet="true"/></head><body># Find tool window

&gt; **TL;DR**
&gt; `View | Tool Windows | Find`
&gt;
&gt;
&gt;
&gt; `Alt+3` (Windows), `⌘ 3` (macOS), `⌘ 3` (IntelliJ IDEA Classic (macOS)), `⌘ 3` (macOS System Shortcuts), `Alt+3` (XWin), `Alt+3` (GNOME), `Alt+3` (KDE), `Alt+3` (Emacs), `Alt+3` (Sublime Text), `⌘ 3` (Sublime Text (macOS)), `Alt+Shift+U` (NetBeans), `Alt+3` (Visual Studio), `⌘ 3` (Visual Studio (macOS)), `Alt+3` (Eclipse), `⌘ ⌥ Q, S` (Eclipse (macOS))

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

* [Find/Replace in Path](finding-and-replacing-text-in-project.html)

* [Find Usages](find-highlight-usages.html)

* [Structural search and replace](structural-search-and-replace.html)

* [Refactoring Preview](refactoring-source-code.html)

* [Find Usages of a data source](database-tool-window.html), a table, or a column.

* [Find by XPath](xpath-search.html)

* The Usages pane appears in the [Dependencies Viewer](dependencies-analysis.html), when an entry is selected in the Parent Code pane.

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 header, 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](finding-and-replacing-text-in-project.html), [Structural Replace,](structural-search-and-replace.html) and [Refactoring Preview](refactoring-source-code.html)  operations.

&gt; **Warning:**
&gt; If there are no search results, the Find tool window is not visible in the `View | Tool Windows` menu.

## Toolbar buttons

| Item | Tooltip and Shortcut | Description |
| --- | --- | --- |
|  ![the Settings button](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg)  |     Options  `Ctrl+Alt+Shift+F7` (Windows), `⌘ ⌥ ⇧ F7` (macOS), `⌘ ⌥ ⇧ F7` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ U` (macOS System Shortcuts), `Ctrl+Alt+Shift+7` (XWin), `Ctrl+Alt+Shift+7` (GNOME), `Ctrl+Alt+Shift+7` (KDE), `Ctrl+Alt+Shift+F7` (Emacs), `Ctrl+Alt+Shift+F7` (Sublime Text), `⌘ ⌥ ⇧ F7` (Sublime Text (macOS)), `Ctrl+Alt+Shift+F7` (NetBeans), `Ctrl+Alt+Shift+F12` (Visual Studio), `⌘ ⌥ ⇧ F12` (Visual Studio (macOS)), `Ctrl+Alt+Shift+F7` (Eclipse), `⌘ ⌥ ⇧ F7` (Eclipse (macOS))      |   Click this button to open one of the [Find Usages](null)  dialogs, which corresponds to the symbol. You can edit the search settings and click `Rerun` button to execute the modified search query.     |
|  ![the Rerun button](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.rerun.svg)  |    Rerun     `Ctrl+F5` (Windows), `⌘ R` (macOS), `⌃ F5` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+F5` (XWin), `Ctrl+F5` (GNOME), `Ctrl+5` (KDE), `Ctrl+F5` (Emacs), `Ctrl+F5` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Ctrl+F5` (NetBeans), `Ctrl+Shift+F5` (Visual Studio), `⌥ ⇧ F5` (Visual Studio (macOS)), `Ctrl+F11` (Eclipse), `Ctrl+F5` (Eclipse (macOS))    |  Repeat the last search.  This button is not available for  [viewing code                         coverage results](code-coverage.html#read_the_coverage_data) .   |
|  ![the Close button](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.closeSmall.svg)  | Close     `Ctrl+Shift+F4` (Windows), `⌃ ⇧ F4` (macOS), `⌘ ⇧ F4` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ F4` (macOS System Shortcuts), `Ctrl+Shift+F4` (XWin), `Ctrl+Shift+F4` (GNOME), `Ctrl+Shift+4` (KDE), `Ctrl+Shift+F4` (Emacs), `Ctrl+Shift+F4` (Sublime Text), `⌃ ⇧ F4` (Sublime Text (macOS)), `Ctrl+Shift+F4` (NetBeans), `Ctrl+Shift+F4` (Visual Studio), `⌃ ⇧ F4` (Visual Studio (macOS)), `Ctrl+W` (Eclipse), `⌘ W` (Eclipse (macOS))   | Close the current tab or the tool window.                 This button is not available in Replace in Path and Refactoring Preview dialogs.   |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.general.pin_tab.svg)  | 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](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.expandAll.svg) / ![Collapse all](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.collapseAll.svg)  |    Expand all   `Ctrl+NumPad +` (Windows), `⌘ NumPad +` (macOS), `⌘ NumPad +` (IntelliJ IDEA Classic (macOS)), `⌘ NumPad +` (macOS System Shortcuts), `Ctrl+NumPad +` (XWin), `Ctrl+NumPad +` (GNOME), `Ctrl+NumPad +` (KDE), `Ctrl+NumPad +` (Emacs), `Ctrl+NumPad +` (Sublime Text), `⌘ NumPad +` (Sublime Text (macOS)), `Ctrl+NumPad +` (NetBeans), `Ctrl+NumPad +` (Visual Studio), `⌘ NumPad +` (Visual Studio (macOS)), `Ctrl+Shift+NumPad *` (Eclipse), `⌘ ⇧ NumPad *` (Eclipse (macOS))   Collapse all   `Ctrl+NumPad -` (Windows), `⌘ NumPad -` (macOS), `⌘ NumPad -` (IntelliJ IDEA Classic (macOS)), `⌘ NumPad -` (macOS System Shortcuts), `Ctrl+NumPad -` (XWin), `Ctrl+NumPad -` (GNOME), `Ctrl+NumPad -` (KDE), `Ctrl+NumPad -` (Emacs), `Ctrl+NumPad -` (Sublime Text), `⌘ NumPad -` (Sublime Text (macOS)), `Ctrl+NumPad -` (NetBeans), `Ctrl+NumPad -` (Visual Studio), `⌘ NumPad -` (Visual Studio (macOS)), `Ctrl+Shift+NumPad /` (Eclipse), `⌘ ⇧ NumPad /` (Eclipse (macOS))  |  Use these buttons to have all nodes expanded or collapsed.  |
|  ![Previous occurrence](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.up.svg)/![Next occurrence](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.down.svg)  |    Previous/next occurrence     `Ctrl+Alt+Up` (Windows), `⌘ ⌥ ↑` (macOS), `⌘ ⌥ ↑` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↑` (macOS System Shortcuts), `Ctrl+Alt+Up` (XWin), `Alt+Shift+Up` (GNOME), `Ctrl+Alt+Up` (KDE), `Ctrl+Alt+Up` (Emacs), `Ctrl+Alt+Up` (Sublime Text), `Ctrl+Alt+Up` (Sublime Text (macOS)), `Ctrl+Alt+Up` (NetBeans), `Ctrl+Alt+Up` (Visual Studio), `⌘ ⌥ ↑` (Visual Studio (macOS)), `Ctrl+Alt+Up` (Eclipse), `Ctrl+Alt+Up` (Eclipse (macOS))  `Ctrl+Alt+Down` (Windows), `⌘ ⌥ ↓` (macOS), `⌘ ⌥ ↓` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ ↓` (macOS System Shortcuts), `Ctrl+Alt+Down` (XWin), `Alt+Shift+Down` (GNOME), `Ctrl+Alt+Down` (KDE), `Ctrl+Alt+Down` (Emacs), `Ctrl+Alt+Down` (Sublime Text), `Ctrl+Alt+Down` (Sublime Text (macOS)), `Ctrl+Alt+Down` (NetBeans), `Ctrl+Alt+Down` (Visual Studio), `⌘ ⌥ ↓` (Visual Studio (macOS)), `Ctrl+Alt+Down` (Eclipse), `Ctrl+Alt+Down` (Eclipse (macOS))   | Navigate to the previous/next element in the tab of results. |
|  ![Group by](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.groupBy_dark.svg)  | Group by |    Click this icon to open the menu for the following grouping options:        * File Structure `Ctrl+S` (Windows), `Ctrl+S` (macOS), `Ctrl+S` (IntelliJ IDEA Classic (macOS)), `Ctrl+S` (macOS System Shortcuts), `Ctrl+S` (XWin), `Ctrl+S` (GNOME), `Ctrl+S` (KDE), `Ctrl+S` (Emacs), `Ctrl+S` (Sublime Text), `Ctrl+S` (Sublime Text (macOS)), `Ctrl+S` (NetBeans), `Ctrl+S` (Visual Studio), `Ctrl+S` (Visual Studio (macOS)), `Ctrl+S` (Eclipse), `Ctrl+S` (Eclipse (macOS)): select this option to display the found usages under the corresponding method nodes.    * Module `Ctrl+Alt+M` (Windows), `⌃ M` (macOS), `⌃ M` (IntelliJ IDEA Classic (macOS)), `⌃ M` (macOS System Shortcuts), `Ctrl+Alt+M` (XWin), `Ctrl+Alt+M` (GNOME), `Ctrl+Alt+M` (KDE), `Ctrl+Alt+M` (Emacs), `Ctrl+Alt+M` (Sublime Text), `⌃ M` (Sublime Text (macOS)), `Ctrl+Alt+M` (NetBeans), `Ctrl+Alt+M` (Visual Studio), `⌃ M` (Visual Studio (macOS)), `Ctrl+Alt+M` (Eclipse), `⌃ M` (Eclipse (macOS)): if you select this option, the found usages will show under the corresponding module or the library node. &gt; **Tip:** &gt; This type of grouping is helpful, when a package is split between several modules.    * Flatten Modules`Alt+O` (Windows), `⌃ O` (macOS), `⌃ O` (IntelliJ IDEA Classic (macOS)), `⌃ O` (macOS System Shortcuts), `Alt+O` (XWin), `Alt+O` (GNOME), `Alt+O` (KDE), `Alt+O` (Emacs), `Alt+O` (Sublime Text), `⌃ O` (Sublime Text (macOS)), `Alt+O` (NetBeans), `Alt+O` (Visual Studio), `⌃ O` (Visual Studio (macOS)), `Alt+O` (Eclipse), `⌃ O` (Eclipse (macOS)): select this option to display all the modules as a single-level tree view.    * Package `Ctrl+P` (Windows), `Ctrl+P` (macOS), `Ctrl+P` (IntelliJ IDEA Classic (macOS)), `Ctrl+P` (macOS System Shortcuts), `Ctrl+P` (XWin), `Ctrl+P` (GNOME), `Ctrl+P` (KDE), `Ctrl+P` (Emacs), `Ctrl+P` (Sublime Text), `Ctrl+P` (Sublime Text (macOS)), `Ctrl+P` (NetBeans), `Ctrl+P` (Visual Studio), `Ctrl+P` (Visual Studio (macOS)), `Ctrl+P` (Eclipse), `Ctrl+P` (Eclipse (macOS)): select this option to display all the found usages under their respective packages.    * Directory Structure `Ctrl+Alt+D` (Windows), `⌃ D` (macOS), `⌃ D` (IntelliJ IDEA Classic (macOS)), `⌃ D` (macOS System Shortcuts), `Ctrl+Alt+D` (XWin), `Ctrl+Alt+D` (GNOME), `Ctrl+Alt+D` (KDE), `Ctrl+Alt+D` (Emacs), `Ctrl+Alt+D` (Sublime Text), `⌃ D` (Sublime Text (macOS)), `Ctrl+Alt+D` (NetBeans), `Ctrl+Alt+D` (Visual Studio), `⌃ D` (Visual Studio (macOS)), `Ctrl+Alt+D` (Eclipse), `⌃ D` (Eclipse (macOS)): select this option to show all the usages of a symbol under the directories where they are found.    * Test/Production: select this option to group the usages according the Production and Test scopes.    * Usage type `Ctrl+T` (Windows), `Ctrl+T` (macOS), `Ctrl+T` (IntelliJ IDEA Classic (macOS)), `Ctrl+T` (macOS System Shortcuts), `Ctrl+T` (XWin), `Ctrl+T` (GNOME), `Ctrl+T` (KDE), `Ctrl+T` (Emacs), `Ctrl+T` (Sublime Text), `Ctrl+T` (Sublime Text (macOS)), `Ctrl+T` (NetBeans), `Ctrl+T` (Visual Studio), `Ctrl+T` (Visual Studio (macOS)), `Ctrl+T` (Eclipse), `Ctrl+T` (Eclipse (macOS)): if this option is selected, the search results are grouped by the following categories: * instanceof * import * cast target type * extends/implements clause * class static member access * method throws list * .class * field declaration * local variable declaration * method parameter declaration * catch clause parameter declaration * method return type * delegates to another object instance * delegates to another object instance with different parameters * delegates to super * delegates to super with different parameters * recursive method calls * string constants * comments * unclassified usage not related to any of the categories    * Merge Usages from the Same Line: select this option to merge the duplicate usages found on the same line.    |
| ![Show read access](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.showReadAccess.svg)  | Show read access  `Ctrl+R` (Windows), `⌘ R` (macOS), `⌘ R` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+R` (XWin), `Ctrl+R` (GNOME), `Ctrl+R` (KDE), `Alt+Shift+5` (Emacs), `Ctrl+H` (Sublime Text), `⌘ ⌥ F` (Sublime Text (macOS)), `Ctrl+H` (NetBeans), `Ctrl+H` (Visual Studio), `⌃ H` (Visual Studio (macOS)), `Ctrl+F` (Eclipse), `Ctrl+R` (Eclipse (macOS))   | This button is available for [Find Usages](null) only.      If this button is pressed, the search results include references to the read access methods.    |
|  ![Show write access](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.showWriteAccess.svg)  | Show write access   `Ctrl+W` (Windows), `⌥ ↑` (macOS), `⌘ W` (IntelliJ IDEA Classic (macOS)), `⌥ ↑` (macOS System Shortcuts), `Ctrl+W` (XWin), `Ctrl+W` (GNOME), `Ctrl+W` (KDE), `Ctrl+Alt+W` (Emacs), `Ctrl+Shift+Space` (Sublime Text), `⌘ ⇧ A` (Sublime Text (macOS)), `Alt+Shift+.` (NetBeans), `Alt+Shift+=` (Visual Studio), `⌘ ⌥ →` (Visual Studio (macOS)), `Alt+Shift+Up` (Eclipse), `⌃ ⇧ ↑` (Eclipse (macOS)) | This button is available for [Find Usages](null)  only.      If this button is pressed, the search results include references to the write access methods.    |
|  ![Show import statements](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.showImportStatements.svg)  | Show import statements   `Ctrl+I` (Windows), `⌃ I` (macOS), `⌘ I` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ I` (macOS System Shortcuts), `Ctrl+I` (XWin), `Ctrl+I` (GNOME), `Ctrl+I` (KDE), `Ctrl+I` (Emacs), `Ctrl+I` (Sublime Text), `Ctrl+I` (Sublime Text (macOS)), `Ctrl+I` (NetBeans), `Ctrl+Shift+I` (Visual Studio), `⌃ I` (Visual Studio (macOS)), `Alt+Shift+P` (Eclipse), `Ctrl+I` (Eclipse (macOS))   | This button is available for [Find Usages](null)  only.       If this button is pressed, the search results include the usages in the import statements.     |
|  ![the Preview Usages button](https://resources.jetbrains.com/help/img/idea/2026.2/app.actions.previewDetails.svg)  | Preview Usages |   Click this icon to open the Preview pane next to the search results.  |
|    &gt; **Tip:** &gt; The following buttons are available for Replace in Path only.    |
| 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. |
|    &gt; **Tip:** &gt; The following buttons are available for Refactoring Preview only.    |
| 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. |
|    &gt; **Tip:** &gt; The following buttons are available for Structural Replace only.    |
| 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` (Windows), `⌘ R` (macOS), `⌃ F5` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+F5` (XWin), `Ctrl+F5` (GNOME), `Ctrl+5` (KDE), `Ctrl+F5` (Emacs), `Ctrl+F5` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Ctrl+F5` (NetBeans), `Ctrl+Shift+F5` (Visual Studio), `⌥ ⇧ F5` (Visual Studio (macOS)), `Ctrl+F11` (Eclipse), `Ctrl+F5` (Eclipse (macOS))  | Run the action again and show the results on the same tab. |
| Jump to Source |  `F4` (Windows), `⌘ ↓` (macOS), `F4` (IntelliJ IDEA Classic (macOS)), `F4` (macOS System Shortcuts), `F4` (XWin), `F4` (GNOME), `F4` (KDE), `F4` (Emacs), `F4` (Sublime Text), `F4` (Sublime Text (macOS)), `F4` (NetBeans), `F4` (Visual Studio), `⌘ ↓` (Visual Studio (macOS)), `F12` (Eclipse), `F3` (Eclipse (macOS))  | Navigate to the selected item in the source code. |
| Include |  `Insert` (Windows), `⇧ ⌫` (macOS), `Insert` (IntelliJ IDEA Classic (macOS)), `⇧ ⌫` (macOS System Shortcuts), `Insert` (XWin), `Insert` (GNOME), `Insert` (KDE), `Insert` (Emacs), `Insert` (Sublime Text), `⇧ ⌫` (Sublime Text (macOS)), `Insert` (NetBeans), `Insert` (Visual Studio), `⇧ ⌫` (Visual Studio (macOS)), `Insert` (Eclipse), `⇧ ⌫` (Eclipse (macOS))  | For an [excluded item](#ex): include the item in the list of results.  |
| Exclude | `Delete` (Windows), `⌦` (macOS), `⌦` (IntelliJ IDEA Classic (macOS)), `⌦` (macOS System Shortcuts), `Delete` (XWin), `Delete` (GNOME), `Delete` (KDE), `Delete` (Emacs), `Delete` (Sublime Text), `⌦` (Sublime Text (macOS)), `Delete` (NetBeans), `Delete` (Visual Studio), `⌦` (Visual Studio (macOS)), `Delete` (Eclipse), `⌦` (Eclipse (macOS)) |    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` (Windows), `⌘ X` (macOS), `⌘ X` (IntelliJ IDEA Classic (macOS)), `⌘ X` (macOS System Shortcuts), `Ctrl+X` (XWin), `Ctrl+X` (GNOME), `Ctrl+X` (KDE), `Shift+Delete` (Emacs), `Ctrl+X` (Sublime Text), `⌘ X` (Sublime Text (macOS)), `Ctrl+X` (NetBeans), `Ctrl+X` (Visual Studio), `⌘ X` (Visual Studio (macOS)), `Ctrl+X` (Eclipse), `⌘ X` (Eclipse (macOS))  | Remove the selected item from the list of results. |
|  Recent Find Usages | `Alt+Down` (Windows), `⌥ ↓` (macOS), `⌥ ↓` (IntelliJ IDEA Classic (macOS)), `⌥ ↓` (macOS System Shortcuts), `Alt+Down` (XWin), `Alt+Down` (GNOME), `Alt+Down` (KDE), `Alt+Down` (Emacs), `Alt+Down` (Sublime Text), `⌥ ↓` (Sublime Text (macOS)), `Alt+Down` (NetBeans), `Alt+Down` (Visual Studio), `⌥ ↓` (Visual Studio (macOS)), `Alt+Down` (Eclipse), `⌥ ↓` (Eclipse (macOS)) | Show the list of recent searches. Select an item in the list to see the search results. |
| Export to Text File | `Alt+O` (Windows), `⌃ O` (macOS), `⌃ O` (IntelliJ IDEA Classic (macOS)), `⌃ O` (macOS System Shortcuts), `Alt+O` (XWin), `Alt+O` (GNOME), `Alt+O` (KDE), `Alt+O` (Emacs), `Alt+O` (Sublime Text), `⌃ O` (Sublime Text (macOS)), `Alt+O` (NetBeans), `Alt+O` (Visual Studio), `⌃ O` (Visual Studio (macOS)), `Alt+O` (Eclipse), `⌃ O` (Eclipse (macOS)) | 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](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg) | 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](https://resources.jetbrains.com/help/img/idea/2026.2/app.general.hideToolWindow.svg) | Hide | Hides the tool window. Press `Alt+3` (Windows), `⌘ 3` (macOS), `⌘ 3` (IntelliJ IDEA Classic (macOS)), `⌘ 3` (macOS System Shortcuts), `Alt+3` (XWin), `Alt+3` (GNOME), `Alt+3` (KDE), `Alt+3` (Emacs), `Alt+3` (Sublime Text), `⌘ 3` (Sublime Text (macOS)), `Alt+Shift+U` (NetBeans), `Alt+3` (Visual Studio), `⌘ 3` (Visual Studio (macOS)), `Alt+3` (Eclipse), `⌘ ⌥ Q, S` (Eclipse (macOS)) to restore it.  |

## See also

### Getting Started

[Tool windows](tool-windows.html)

### Procedures

[Search and replace a target within a project](finding-and-replacing-text-in-project.html)    [Code refactoring](refactoring-source-code.html)  [Structural search and replace](structural-search-and-replace.html)

</body></html>