Open a file system view for the current file/folder selected in IntelliJ IDEA
March 17th, 2006 by Alexandra RusinaContributed 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.
March 17th, 2006 at 2:03 pm
Very impressive!
There is also a plugin, Native Neighbourhood, that provide support on more platforms, and the option to reveal the selected file in explorer or in a shell.
March 17th, 2006 at 2:11 pm
I chose to uncheck “Synchronize files after execution” because it causes a long lag after opening Explorer. (Project has over 1000 files accessed over the network)
March 20th, 2006 at 5:04 am
This also works nicely in MacOS X, where you could call it “Open in Finder”. Just use “/usr/bin/open” as then program instead of “explorer” and only use “$FileDir$” as the parameter.
April 6th, 2006 at 9:20 am
This opens a simple folder view without the folder tree view panel on the left.
If you want the Explorer-like folder tree as well, type ” /e,/select,$FilePath$ ” instead of ” /select,$FilePath$ ” as program parameter.