IntelliJ IDEA 13.1 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 Ctrl+Alt+Left or Button4 ClickShift+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickCtrl+Alt+Left or Button4 ClickAlt+Left or Button4 ClickAlt+Left or Button4 ClickCommand Open Bracket, Alt Command Left or Button4 ClickAlt Command Left or Button4 ClickCommand Open Bracket or Button4 Click
Ctrl+Alt+Right or Button5 ClickShift+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickCtrl+Alt+Right or Button5 ClickAlt+Right or Button5 ClickAlt+Right or Button5 ClickCommand Close Bracket, Alt Command Right or Button5 ClickAlt Command Right or Button5 ClickCommand Close Bracket or Button5 Click
Scroll through the history of navigation operation back and forth in the selected pane of the Commander.
img Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+UCommand UCommand UCommand U Swap contents of the two panes.
img Alt+F6Alt+F6Alt+F6Alt+F6Alt+F6Alt+F6Alt+F6Alt+F6Alt+F6Alt F6Alt 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

Action Shortcut Description
Change active pane TabTabTabTabTabTabTabTabTabTabTabTab 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 Ctrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCommand EnterCommand EnterCommand Enter
F4F4F4F4F4F4F4F4F12 or Ctrl+Shift+ECommand Down or F4F4F3
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 Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash or Ctrl+NumPad /Ctrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad /Command Slash or Command NumPad / 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 F5F5F5F5F5F5F5F5F5F5F5F5 Refactor | Copy
Clone Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift F5Shift F5Shift F5 Refactor | Clone
Move F6F6F6F6F6F6F6Ctrl+MShift+Alt+VF6F6Alt Command V Refactor | Move
Rename Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Ctrl+RShift+Alt+RShift F6Shift F6Shift F6 Refactor | Rename
Delete DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDeleteDelete or BackspaceDeleteDelete or Backspace 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: