In Eclipse, how to open a file browser in the dire

2019-01-22 02:50发布

I know it's possible in eclipse to open file browsers from your project's resource browser, but is it possible for files that aren't part of your project ? Typically external includes are not found in your resource browser...

If there is the equivalent of $(resource_loc) for the editor, it would work.. But I wasn't able to find it. Can anyone help me on this ?

Thanks!

EDIT : I Found StartExplorer, but it doesn't work for me. It is hardcoded to use WINDOWS explorer or cmd.exe. Also, it still requires you to use the resource browser. Other than that it can open paths selected in the editor, but they must be full paths.

EDIT 2 : StartExplorer seems to have been upgraded. I no longer use eclipse, but if someone else is still looking for this, I'd look again at their stuff!

8条回答
对你真心纯属浪费
2楼-- · 2019-01-22 03:17

From StartExplorer website:

This plug-in is inherently not platform-independent. Currently, the following operating systems/desktop environments are supported out of the box: Windows, Mac OS, Linux with Gnome, Linux with KDE, Linux with Xfce, Linux with LXDE.

查看更多
我命由我不由天
3楼-- · 2019-01-22 03:17

EasyShell seems quite descent to me (used in Ubuntu). It gives you the choices to open the Nautilus, to open the shell, to run a file and to copy the selected path. All of them appear with a right click on the package explorer of Eclipse. The installation was with no problems. Therefore, I would suggest it.

Hope I helped!

查看更多
爷的心禁止访问
4楼-- · 2019-01-22 03:26

For eclipse Luna (4.4) and later, You can use: Right Click->Show In->System Explorer enter image description here

查看更多
爷的心禁止访问
5楼-- · 2019-01-22 03:26

You might want to try eExplorer, see my answer on https://stackoverflow.com/a/24149472/612123

查看更多
神经病院院长
6楼-- · 2019-01-22 03:32

"Window" -> "Open Perspectives" -> "Remote Systems", then a view with root 'Local' node will be displayed.

While in Project Explorer pane, to browse files of any node, right click and select Show in Remote Systems view to get there.

enter image description here

查看更多
趁早两清
7楼-- · 2019-01-22 03:42

If you are using git, you can open Window > Show View > Other > Git Repositories. That will give you a Git Repositories explorer, which shows the Working Tree. The Working Tree will show all files in the filesystem, even temporary ones you created that are not added to git yet.

Another way is to open Window > Perspective > Other > Git.

查看更多
登录 后发表回答