In Intellij IDEA, is there a way to copy the path of the current editor tab to the clipboard?

jordanpg picture jordanpg · Oct 11, 2014 · Viewed 7.1k times · Source

I'm doing some writing and would like to copy the path of the current editor tab (as shown in the tooltip here) to the clipboard:

Intellij screenshot showing editor tab path

Anyone happen to know a shortcut for this?

Answer

Anton Dozortsev picture Anton Dozortsev · Oct 12, 2014

Press Alt+Home to select current file on Navigation Bar:

enter image description here

Then Shift+Command+C to copy path to a file and Esc come back to editor.