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

前端之家收集整理的这篇文章主要介绍了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.f2er.com/java/123558.html

猜你在找的Java相关文章