Eclipse: Fast way to Get the Current Resource's File Path into the Clipboard

Опубликовано: 06 Октябрь 2024
на канале: Tod Tech
17,285
57

You can copy to the clipboard the absolute path to the current resource (i.e the file in the active editor window or currently highlighted in the project explorer) with a single keystroke. This technique should work in any version of Eclipse but I only tested it in the JDT and CDT running under Windows 7. Mac and Linux users will have to make appropriate modifications for their command shell of choice. You can find hours of tips like these (including more details on doing them under Linux) in my Pluralsight course on Eclipse. Here's the link for part 1 of the two part course.
http://pluralsight.com/courses/eclips...