IntelliJ IDEA 12.1.0 Web Help

11.0+

View | Tool Windows | Commander

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

IconKeyboard ShortcutDescription
img   img Ctrl+Alt+LeftCtrl+Alt+Left
Ctrl+Alt+RightCtrl+Alt+Right
Scroll through the history of navigation operation back and forth in the selected pane of the Commander.
img Ctrl+UCtrl+U Swap contents of the two panes.
img Alt+F6Alt+F6 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

ActionShortcutDescription
Change active pane TabTab Move focus to another pane of the Commander.
Open the selected folderDouble-click folder
EnterEnter
Reveal contents of the selected folder in the active pane.
Go up one levelDouble-click img
Close the currently opened file or folder.
Navigate between entriesArrow keys
Open file Ctrl+EnterCtrl+Enter
F4F4
Open the selected file in the editor.
Open file structureDouble-click file
EnterEnter
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 Ctrl+Slash; Ctrl+DivideCtrl+Slash; Ctrl+Divide Navigate to the project root directory in the active pane.

File operations

Note

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

ActionShortcutContext menu command
Copy F5F5 Refactor | Copy
Clone Shift+F5Shift+F5 Refactor | Clone
Move F6F6 Refactor | Move
Rename Shift+F6Shift+F6 Refactor | Rename
Delete DeleteDelete Refactor | Safe Delete

Tip

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

Procedures:

Reference:

Getting Started:

Web Resources: