简体   繁体   中英

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?

On the Package Explorer there is an icon which looks like this: 与编辑链接

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM