Java – what is the “link to editor” function in eclipse?

I'm new to eclipse (and I don't know NetBeans) I'm reading the eclipse tutorial But I was stacked and couldn't understand whether the "link editor" was completely correct In eclipse, say – > help:

I select the link and editor button, but I can't see any changes. It doesn't seem to do anything visible It says in another eclipse document:

I read the above and some other blogs It is said that working on large projects is very useful and necessary What did it do? I can't grasp that anyone can help me grasp and provide a clear example or information to see its role? Thank you in advance

Solution

It ensures that the file you open (currently editing) is selected and visible in navigator / Project Explorer So if you want to see other classes in the same package, for example, you don't have to drill in manually

If you want to see it work, the navigator view opens and enables this setting Then switch to edit the new file (without using the navigator, such as ctrl-t, type the class name directly, or click a different editor tab) The selection in the navigator should be updated to the file you are editing

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>