Community
Participate
Working Groups
[Eclipse 3.2M5a] I would like to see an option to restore the state of the Package Explorer (tree structure) from the last session. Currently all the Working Sets / Projects are collapsed when restarting Eclipse. Especially when working with many Working sets / Projects and having set the Package Explorer to show the Working Sets makes it laborious to come back where I have left off.
We had this in realier versions (1.1) but had to remove it as considerable time was spend on startup to restore the view (in particular classpath resolving). Startup time is important and we couldn't justify the extra startup time in that case.
*** Bug 216442 has been marked as a duplicate of this bug. ***
*** Bug 222194 has been marked as a duplicate of this bug. ***
*** Bug 228905 has been marked as a duplicate of this bug. ***
I agree this is a pain. We should either fix it, or offer a preference for users who don't care about startup time but do care about a consistent experience. E.g. Preferences > Java: [] Restore Package Explorer expansion state on startup
*** Bug 65896 has been marked as a duplicate of this bug. ***
*** Bug 163255 has been marked as a duplicate of this bug. ***
*** Bug 351327 has been marked as a duplicate of this bug. ***
+1 to fix it. The current behavior violates UI guidelines (see http://wiki.eclipse.org/index.php/User_Interface_Guidelines#Persistence). If we add a preference then it should be a general workbench preference as this also affects the Project Explorer and the Navigator (which currently restores the expansion state). But we should try without such a preference. For safety we could add an internal JDT preference without UI, so that a product can disable restoring the expansion state.
I guess Java is just as much of a plug-in as a Pydev(Python), isn't it? PyDev does it automatically but I have no idea if they infringe any guideline. Maybe they got it right. I just don't understand why this should be a preference when even the inherent Debug Perspective has it as normal behavior.
(In reply to comment #10) > I just don't understand why this should be a preference when even the inherent > Debug Perspective has it as normal behavior. Views generally do not care about which perspective they are in. I restarted Eclipse with the 'Package Explorer' expanded in both the 'Java' and 'Debug' perspectives and neither scenario preserved the expansion state.
You are right, my Debug Perspective is probably being set by PyDev.
*** Bug 398049 has been marked as a duplicate of this bug. ***
*** Bug 547446 has been marked as a duplicate of this bug. ***