Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 203220

Summary: [EditorMgmt] Persist set of open editors when an editor is opened (rather than on Platform Exit)
Product: [Eclipse Project] Platform Reporter: James Blackburn <jamesblackburn+eclipse>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED DUPLICATE QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: endante
Version: 3.3Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description James Blackburn CLA 2007-09-13 04:34:16 EDT
Build ID: I20070625

Steps To Reproduce:
The platform seems to save the state of the workbench (including which editor windows are open) on Platform exit.  However many people rarely exit the platform until it or the JVM crashes/locks up.  When Eclipse is relaunched it restores its state to when it was last successfuly exited, rather than the state before the crash.

Like web browsers (and their tabs) such state should be persisted on editor open/close, so that in the event of a crash as little time is wasted as possible getting back to work.
Comment 1 Boris Bokowski CLA 2007-09-17 11:15:07 EDT
Good idea. Not sure if we will have time to implement this ourselves.
Comment 2 Boris Bokowski CLA 2009-06-22 13:23:30 EDT
http://wiki.eclipse.org/Platform_UI/How_to_Contribute
Comment 3 Boris Bokowski CLA 2009-11-17 13:04:47 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 4 Remy Suen CLA 2009-12-13 10:31:28 EST
There seems to be a plug-in that does this although it saves the state every five minutes which does not exactly satisfy the requirement in question of "when an editor is opened".

http://eclipsenuggets.blogspot.com/2007/09/how-to-save-eclipse-ui-workbench-state_6644.html
Comment 5 Remy Suen CLA 2010-12-15 12:47:50 EST

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