Tool windows provide access to development tasks: viewing your project structure, running and debugging your application, integration with version control systems and other external tools, code analysis, search, navigation, and so on. By default, tool windows are attached to the bottom and sides of the main window. However, you can rearrange and even detach them to use as separate windows, for example, on another monitor.
The following screenshot shows several common tool windows occupying the space around the editor:
Structure tool window
Run tool window
Maven tool window
Some tool windows are always available (for example, Project and Structure), some are activated when a specific plugin is enabled, and some appear only when you perform a certain action (for example, Run, Debug, and Find).
For example, the Run tool window appears only after you run your code. It is accessible from the main menu or using the shortcut Alt+4 as long as there is some output in the console, and you don't close all the tabs in it.
Open a tool window
To show or hide a tool window, do one of the following:
Hide the active tool window
Press Shift+Escape or selectfrom the main menu.
To show the hidden tool window, use the shortcut assigned to it (go toto see the full list of tool windows with shortcuts).
Right-click the tool window's icon on the toolbar and select Hide.
Click the Hide button () on the tool window's title bar.
To focus your attention on the editor, you can hide all tool windows and then when necessary, quickly restore all windows that were open when you've hidden them.
Hide or restore all tool windows
Double-click the editor tab that you want to maximize. This will only work if Perform 'Hide All Tool Windows' / 'Restore Windows' with double-click on editor tab is enabled on the Advanced Settings page of the IDE settings Control+Alt+S.
Selectfrom the main menu.
Navigate between the editor and a tool window
To change focus from a tool window to the last caret location in the editor, press Escape.
To change focus from the editor back to the last active tool window, press F12 or selectfrom the main menu.
Tool window bars and buttons
Tool window bars on the sides of the main window contain the icons of tool windows. Click an icon to show or hide the tool window. Right-click a tool window icon to open the context menu, where you can hide or move the tool window. You can also drag tool window icons to rearrange tool windows.
Show or hide tool window icons
Select or clear Tool Window Bars from the main menu under .
When the tool window bars are hidden, you can double-press and hold Alt to show them.
Tool window components
Generally, most of the tool windows have a title bar and a content pane.
Some tool windows also have toolbars that contain controls used to perform various actions.
A tool window can be separated with tabs or a dropdown selector in the title bar, based on the functionality that it covers. Selectto show tabs. Disable this option to show a dropdown menu.
The title bar contains the tool window options menu for changing the viewing mode, the position of the tool window, and a set of tool window-related settings or actions. You can also access these options by right-clicking the title bar.
Click to hide the tool window and use other buttons that may be on the title bar, for example:
and to expand and collapse the contents of the tool window
to locate and select the file from the editor in the tool window
Actions from the tool window toolbar are usually also available in the main menu and context menus. Some of them can also be executed with a default shortcut. You can assign shortcuts for actions as described in Configure keyboard shortcuts.
For all tool windows that display tree-like structures (for example, Project tool window) you can display vertical lines that mark indent levels in tree views and help you better understand the hierarchy of the components in your project. To display these lines, enable Show tree indent guides on the Appearance and Behavior | Appearance page of the IDE settings Control+Alt+S.
You can use the following shortcuts to manage Aqua's tool windows:
Hide Active Tool Window
Hide All Tool Windows
Jump to Last Tool Window
Show Terminal window