Tool windows
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 space around the editor:
Project tool window
CMake tool window
Git Commit tool window
Structure tool window
Some tool windows are always available some are activated when a specific plugin is enabled, and some appear only when you perform a certain action .
Open a tool window
To show or hide a tool window, do one of the following:
From the main menu, select a tool window under
.Use the corresponding shortcut, for example, Alt+1 to open the Project tool window. If there is no shortcut for a tool window, you can assign it as described in Keyboard shortcuts.
Click the corresponding tool window button on the tool window bar.
Hover the mouse pointer over the quick access button / in the lower left corner of the main window and select a tool window.
Hide the active tool window
Press Shift+Escape or select
from the main menu.To show the hidden tool window, use the shortcut assigned to it (go to
to see the full list of tool windows with shortcuts).
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
Press Ctrl+Shift+F12.
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 Ctrl+Alt+S.
Select
from 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.
If you selected a code item in a tool window, for example, a search result, a code issue, or a bookmark, press F4 to open the corresponding file and locate this item in the editor.
To change focus from the editor back to the last active tool window, press F12 or select
from the main menu.
Tool window bars and buttons
Tool window bars on the edges of the main window contain buttons to show and hide tool windows. Right-click a tool window button to open its context menu, where you can change the viewing mode and move the tool window. You can also drag tool window buttons to rearrange tool windows on the bars.
Show or hide tool window bars
Click the quick access button in the lower left corner of the main window to hide the tool window bars. The button changes to and you can click it to show the tool window bars.
Alternatively, 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 hidden tool window bars.
Tool window components
Generally, all tool windows have a title bar, a toolbar, and a content pane.
Some tool windows are also separated using tabs or a dropdown selector in the title bar, based on the functionality that it covers. Select
to show tabs. Disable this option to show a dropdown menu.The title bar contains the tool window options menu for changing the viewing mode and the position of the tool window. You can also access these options by right-clicking the title bar or the tool window button. Some tool windows can have other options in this menu, depending on the functionality (for example, to sort, filter, and group items listed in a tool window).
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 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 Ctrl+Alt+S.
You can use the following shortcuts to manage CLion's tool windows:
Hide Active Tool Window | Shift+Escape |
Hide All Tool Windows | Ctrl+Shift+F12 |
Jump to Last Tool Window | F12 |
Ctrl+Alt+Shift+Left | |
Ctrl+Alt+Shift+Right | |
Ctrl+Alt+Shift+Up | |
Ctrl+Alt+Shift+Down | |
Alt+1 | |
Alt+2 | |
Alt+3 | |
Alt+4 | |
Alt+5 | |
Alt+6 | |
Show Structure window | Alt+7 |
Alt+8 | |
Alt+9 | |
Alt+0 | |
Show Terminal window | Alt+F12 |
Ctrl+Alt+3 |