在Eclipse中,如何在当前编辑的文件的目录中打开文件浏览器 [英] In Eclipse, how to open a file browser in the directory of the currently edited file

查看:388
本文介绍了在Eclipse中,如何在当前编辑的文件的目录中打开文件浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道eclipse中有可能从项目资源浏览器中打开文件浏览器,但是是否可能不属于您的项目的文件?通常在资源浏览器中找不到外部包含...

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...

如果编辑器的值相当于$(resource_loc),那么它会工作..但是我wasn找不到它。有人可以帮助我吗?

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 ?

谢谢!

编辑:我发现 StartExplorer ,但它对我来说不起作用。使用 WINDOWS资源管理器 cmd.exe 进行硬编码。此外,它仍然需要您使用资源浏览器。除此之外,它可以打开编辑器中选择的路径,但它们必须是完整的路径。

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.

编辑2:StartExplorer似乎已升级。我不再使用日食,但如果有人还在寻找这个,我会再次看看他们的东西!

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!

推荐答案

窗口 - > 开放透视 - > 远程系统,则将显示具有根本地节点的视图。

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

在Project Explorer窗格中,浏览文件任何节点,右键单击并选择在远程系统视图中显示到达那里。

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

这篇关于在Eclipse中,如何在当前编辑的文件的目录中打开文件浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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