Is there a way (keyboard shortcut?) to open the folder of the currently opened file in Windows Explorer?
What I mean is this: When a java source file is open in IntelliJ, I'd like to open Windows Explorer on the folder containing that file. Is there a short way of doing that?
Just padding out Peter Lawrey's answer, for Intellij 12.n on Windows 7 the steps for adding explorer as an external program would be:
You can then add the External Tool as a keyed short cut through File > Settings > Keymap
Right clicking on a source file External Tools->Open Containing Folder is another way to use this tool.
As of version 2016.2 you can press Alt + F1 while in the editor and navigate to different view. Choose "Show in file manager". You can even navigate to a corresponding pom.xml from Maven view. Powerful, indeed.
You can try one of these plugins:
只是想添加到基于本文的Simon B 的答案中,除了在第 8 步中打开其父文件夹之外,还可以选择文件,将“$FileDir$”更改为“/select, $FilePath$”
You can add explorer as an external program and add a hot key for that. ie you will be able to select a directory or file and the same opens in windows explorer.
This help page provides an easier way of doing this in later versions of IntelliJ as follows:-
Windows 10: use "C:\\Windows\\explorer.exe" instead. (#7 Program:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.