Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

eclipse

jsp

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?

like image 448
Xonatron Avatar asked Nov 22 '25 10:11

Xonatron


1 Answers

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.

like image 128
mcfinnigan Avatar answered Nov 24 '25 01:11

mcfinnigan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!