Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Say I have multiple files opened in Eclipse IDE. I just want Eclipse to show the file in the Project file tree, when I have certain file opened.

Just like in NetBeans. In NetBeans when you focus on some opened file, the left tree will be updated and the file will be located in the left (files tree).

share|improve this question

2 Answers 2

up vote 12 down vote accepted

There is an icon which looks like two horizontal arrows, select this (so it is depressed, it's a toggle button with the tooltip 'Link to Editor') and changing tabs should now refocus the selected item in the explorer.

share|improve this answer
Brilliant! Very simple. –  Alexander Sitnikov Sep 11 '13 at 11:29
1. From the Project Explorer menu, select Link With Editor.

2. Click on the Link With Editor icon Link with editor icon on one of the navigation bars.

Click on the link below for the image

Ref : http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-18.htm

share|improve this answer
This has already been answered above. –  Rsya Studios Jan 23 at 8:12
yes it had it even helped me and I even did given a upvote. The only reason i added a new answer was to provide the official link –  mateen Jan 24 at 9:32
In such cases you should comment on the answer itself rather than posting a new answer. You can comment on a post once you have enough reputation. –  Rsya Studios Jan 25 at 9:45
yes I though of commmenting but because of not having enough reputation I have posted this as another answer if you can comment the the link I ll delete this answer. Is that okay ? –  mateen Jan 27 at 4:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.