微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

java – Eclipse中“链接到编辑器”功能是什么?

我是 Eclipse的新手(也不知道NetBeans).我正在阅读eclipse教程.但是我被堆叠,不能理解“链接编辑器”是否完全正确.在Eclipse中说 – >帮助:

select the Link with Editor button in the local toolbar or view menu of one of the
navigation views. Lastly,click on the editor tab for JanesFile.txt. Notice how the
navigation view updated itself to select the file you are currently editing
(JanesFile.txt). If you don’t like this automatic update you can easily turn it off by
deselecting Link with Editor.

我选择链接与编辑器按钮,但我看不到任何改变它看起来没有做任何可见的事情.它在Eclipse的另一个文档中说:

When multiple editors are opened,it can be difficult to keep track of where the
related resources are in the Navigator. For this reason,the Navigator has support
to synchronize its tree view with the currently edited resource.

To link resources between the Navigator and the editors in the workbench,
locate the Link button in the Navigator toolbar at the top of its UI. The Link button
is an icon with two arrows pointing to each other. Move the mouse over it; hover
help should read Link with Editor. This technique also applies to the JDT’s Package
Explorer.

我读了上面和其他一些博客.据说在大型项目上工作是非常有用和必要的.它究竟做了什么?我不能把握任何人都可以帮我把握,并提供一个明确的例子或信息来看看它的作用?
提前致谢

解决方法

它确保您打开的文件(当前正在编辑)已被选中并在导航器/项目资源管理器中可见.所以如果你想看到同一个包中的其他类,例如您不必手动钻入.

如果你想看到它的工作,导航器视图打开并启用此设置.然后切换到编辑新文件(不使用导航器,例如使用CTRL-T,直接键入类名称,或单击不同的编辑器选项卡).导航器中的选择应该更新到您正在编辑的文件.

原文地址:https://www.jb51.cc/java/123558.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐