Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
532 views
in Technique[技术] by (71.8m points)

plugins - In eclipse, reveal current file in filesystem

In eclipse, is there a way, to reveal the currently selected file in the filesystem. I currently need it to open in explorer, but it could also be in finder or nautilus.

Basically, I do not need the "Open with System Editor" option. I would like a right-click menu with the option: "Show file in explorer/finder/nautilus".

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Note: You can also develop your own external tool to open the file in a Windows explorer

alt text

Or you can use an eclipse plugin like StartExplorer.

alt text


Notes on MacOS:

zvikico mentions:

On Mac OS X, replace the location with /usr/bin/open and the arguments should be just ${container_loc}.

But Adam cautions:

Doesn't work - OSX, you need to put quotes around the ${container_loc} otherwise you'll often get bizarre error messages because it can't cope with spaces in file names.

But user2036022 details:

you can use -R "${resource_loc}" on macosx as argument to /usr/bin/open to be consistent with other similar tools.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...