How to quickly copy the current edit file name or full file path in Eclipse (Luna)?

This "solution" no longer works in Luna version: Copy path / filename in Eclipse to clipboard

This is a truly must-have feature for a rich IDE!

+3


source to share


2 answers


You can use star explorer or Copy path .
Short button to copy path to clipboard in star explorer: Ctrl+ Alt+ C



The standard eclipse has a key like this. You can select the resource in Package / Project / Navigator view and click Alt+ Enterto open the properties dialog and then copy the path from here.

+5


source


I am using Eclipse Java EE IDE for web developers. Versions: Luna Release (4.4.0) Build ID: 20140612-0600

You can right click on the file and select Copy Qualified Name.

enter image description here



In this particular example, the path in the clipboard

/TestingProject/src/com/website/testing/App1.java

0


source







All Articles