IntelliJ IDEA 13.1.0 Web Help


View | Tool Windows | Commander

The Commander tool window is available when the Commander plugin that comes bundled with IntelliJ IDEA, is enabled in your working environment.
Commander displays the hierarchical structure of a project in two similar panes and provides a handy interface for managing files and folders. Unlike the tree views, each Commander pane shows only one level of hierarchy, which is convenient in some cases (for example, when you are permanently working with one package only and don't need to view the whole hierarchy).

In this section:

Toolbar buttons

Icon Keyboard Shortcut Description
img   img or or or or or or or or or , or or or
or or or or or or or or or , or or or
Scroll through the history of navigation operation back and forth in the selected pane of the Commander.
img Swap contents of the two panes.
img Synchronize panes, so that the contents of inactive pane becomes the same as the contents of the active pane.
img If this button is pressed, the contents of the currently selected file automatically opens in the editor, with the caret at the first line of a file, or - in Java files - at a top-level class declaration.

Means of navigation

Action Shortcut Description
Change active pane Move focus to another pane of the Commander.
Open the selected folder Double-click folder
Reveal contents of the selected folder in the active pane.
Go up one level Double-click img
Close the currently opened file or folder.
Navigate between entries Arrow keys
Open file
or or
Open the selected file in the editor.
Open file structure Double-click file
Shows Java file structure in the active pane of the commander. Double-clicking a member loads the file into the editor with the caret at the beginning of the selected member. For non-Java files, the pane is empty.
Show project root or or or or or , or , or or or or or Navigate to the project root directory in the active pane.

File operations


Copy, Clone, Move, Rename and Delete operations are performed as refactorings.

Action Shortcut Context menu command
Copy Refactor | Copy
Clone Refactor | Clone
Move Refactor | Move
Rename Refactor | Rename
Delete or , or , or , or Refactor | Safe Delete


Any of the commands that act on multiple selection, take into account both panes. You can select files in both panes and choose such commands as Compile, Compare files, Reformat Code etc. on the context menu.

See Also



Getting Started:

Web Resources: