Bug 37397 - [EditorMgmt] Open files not re-opened when Eclipse re-started
Summary: [EditorMgmt] Open files not re-opened when Eclipse re-started
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows NT
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 13:16 EDT by Aaron Cosand CLA
Modified: 2003-05-15 13:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Cosand CLA 2003-05-08 13:16:20 EDT
If I close Eclipse and have several files open, when I re-start eclipse, the 
previously opened files are not re-opened.  This is a change from previous 
behavior.
Comment 1 Olivier Thomann CLA 2003-05-08 14:25:11 EDT
Move to JDT/UI.
Comment 2 Dirk Baeumer CLA 2003-05-09 04:39:22 EDT
Restoring open editors is done by platform/ui
Comment 3 Debbie Wilson CLA 2003-05-12 10:36:48 EDT
Aaron, Exactly which version of Eclipse are you using?  Can you check the .log 
file (found under .metadata directory).  Usually, if the open files are not re-
opened when you restart Eclipse it is because you crashed when Eclipse was 
being shutdown.
Comment 4 Aaron Cosand CLA 2003-05-13 11:44:45 EDT
Version: 2.1.0
Build id: 200303272130


I truncated .log, opened eclispe, opened a file in the my current project, 
closed eclipse and re-opened eclipse.  No file opened by eclipse and .log 
contains nothing
Comment 5 Simon Arsenault CLA 2003-05-14 12:17:30 EDT
Open the preference dialog, in the Workbench > Editors preference page, is the 
option to close all editors checked?

Do you have other plugins installed beside just the Eclipse SDK? If so, can you 
reproduce this problem with just the Eclipse SDK?
Comment 6 Aaron Cosand CLA 2003-05-14 16:00:46 EDT
I did have close all editors checked.  I unchecked it and everything works fine 
now.  Thank you for the help and my appologies for the bone-head bug 8-)
Comment 7 Simon Arsenault CLA 2003-05-15 10:44:12 EDT
Do you remember setting that preference and then just forgot about it? Or did 
it only get checked after you upgraded to 2.1?
Comment 8 Aaron Cosand CLA 2003-05-15 13:08:43 EDT
I was running 2.1 for some time before the problem appeared.  I was looking 
through the properties for something, I can't remember exactly what, and I 
thought that I had accidentally unchecked it, so I re-checked it.