Xonatron
Xonatron

Reputation: 16052

expand Project Explorer, Package Explorer, or Navigator view from open file in Eclipse?

Is there a way to expand one of the Project Explorer, Package Explorer, or Navigator views from an open file in Eclipse?

I can see the full path of the opened file in the title bar, but I want to navigate to that location (quickly and automatically) within one of the file structure views. Using Java and JSP in case that matters.

EDIT : Reworded: The file is already open. The location of the file in the Project Explorer, Package Explorer, and Navigator views is not open. From the already opened file, can I open the location in one of these views?

Upvotes: 3

Views: 2200

Answers (1)

mcfinnigan
mcfinnigan

Reputation: 11638

On the Package Explorer there is an icon which looks like this: Link With Editor

Toggling this on will link the tree location from the Package Explorer to the current file in the Editor window.

Upvotes: 13

Related Questions