Bug 547446 - Eclipse does not restore Package/Projecte Explorer after restart
Summary: Eclipse does not restore Package/Projecte Explorer after restart
Status: CLOSED DUPLICATE of bug 130083
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.12   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-18 07:40 EDT by nimo mayr CLA
Modified: 2019-05-30 10:30 EDT (History)
2 users (show)

See Also:


Attachments
Link with Editor already does that (263.63 KB, image/png)
2019-05-19 12:24 EDT, Patrik Suzzi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nimo mayr CLA 2019-05-18 07:40:17 EDT
Please add the the following option (checkbox) under "Preferences->General->Startup and Shutdown":

"Restore Package/Project Explorer on Startup"

which restores the tree expansion set.

Actually, it is a pain to search and unfold each directory to restore it to the state before I did restart eclipse.

If "eclipse startup time" increases with checked option, I will tolerate that, because:

Actually "my startup time" to continue working on a set of projects increases very much, because I must handle these directory searching and tree expansions manually - this is really not user friendly.

Please add this option:

"Restore Package/Project Explorer on Startup"


Thank you!
Comment 1 Patrik Suzzi CLA 2019-05-19 12:24:36 EDT
Created attachment 278648 [details]
Link with Editor already does that

Keeping the expansion tree is a complex problem with several unknowns. For example: you cannot guarantee that all files and folders are still in the same position as when you closed the IDE.

Usually, in Eclipse you focus on files, and you can use the "Link with Editor" option to display the location of a file in the project tree. 
Plus, when you close and reopen Eclipse, you will see all the open editors that you were working on. 

So, instead of opening the Explorer tree in the same state, you can simply (1) activate the "Link with Editor" and (2) click on one of the editors that were open, and then (3) you automatically see that file in its position in the project tree. (See attached image)

Besides, if you want to navigate files and you remember the names, you can do this very quickly with shortcuts, i.e.:

CTRL+E : Filter among open editors
CTRL+SHIFT+R: Find a file in all the project tree.

Bottom line, I guess we wont implement the feature "Restore Package/Project Explorer on Startup", as we can more simply use the "Link With Editor" and filter resources.
Comment 2 Patrik Suzzi CLA 2019-05-19 12:27:07 EDT
shortcuts in Mac:

CMD+E : Filter among open editors
CMD+SHIFT+R: Find any resource in the project tree
Comment 3 Dani Megert CLA 2019-05-30 10:30:57 EDT

*** This bug has been marked as a duplicate of bug 130083 ***