Tips & Tricks

Open a file system view for the current file/folder selected in IntelliJ IDEA

Contributed by: Etienne Studer

Note: The tip is valid only for MS Windows OS.

If you often need to locate a file or folder in your file system, you can configure Explorer to be opened right from IntelliJ IDEA.
1.   Click IDE Settings | External Tools, and then click the Add button.
2.   Specify the tool as shown on the screenshot below.
 
3.   You can also assign a keyboard shortcut to this tool.
   a.   Click IDE Settings | Keymap.
   b.   Select External Tools | Explorer, and click Add Keyboard Shortcut. For example, assign F10 key.

Note:   The default keymap schema cannot be modified. So, if you use the default keymap, just copy it to have your own.


Voila! Now if you press F10 in the Project or Hierarchy view, or just when you edit the file in the code editor, it will be located in Explorer.
And of course, you can attach any other external tool (let’s say MS Word) the same way.

Discover more