在eclipse中,显示文件系统中的当前文件 [英] In eclipse, reveal current file in filesystem

查看:166
本文介绍了在eclipse中,显示文件系统中的当前文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在eclipse中,是否有一种方法来显示文件系统中当前选定的文件。
我目前需要它在浏览器中打开,但也可以在finder或nautilus中。



基本上,我不需要使用系统编辑器打开 选项。我想要一个右键菜单,其选项是在explorer / finder / nautilus中显示文件。



谢谢

解决方案

注意:您还可以 。








MacOS注意事项:



zvikico 提到


c OS X,用 / usr / bin / open 替换位置,参数应该只是 $ {container_loc}


Adam < a href =https://stackoverflow.com/questions/1161240/in-eclipse-reveal-current-file-in-filesystem/15066969#comment21183568_1161291>注意事项:


不行 - OSX,你需要在 $ {container_loc} 否则你会经常得到奇怪的错误信息,因为它无法处理文件名中的空格。


但是user2036022 详细信息


您可以在macosx上使用-R$ {resource_loc}作为参数 / usr / bin / open 与其他类似工具保持一致。



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

解决方案

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

Or you can use an eclipse plugin like StartExplorer.


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.

这篇关于在eclipse中,显示文件系统中的当前文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆