Copy path/file name in Eclipse to clipboard

user710818 picture user710818 · Nov 4, 2011 · Viewed 25.8k times · Source

Is there a shortcut to copy the current path/file to the clipboard?

Answer

Peter Szanto picture Peter Szanto · Nov 4, 2011
  • Just select the file tab and hit Ctrl+C to copy file basename into clipboard.
  • Hit Alt+Enter to bring up the file properties with absolute path and copy it manually.
  • Additionally you can use an Eclipse macro plugin that can do the steps in one go: http://sourceforge.net/projects/practicalmacro/files/