Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Why does Eclipse reopen closed files on restart?
Why does Eclipse reopen closed files on restart? [message #1779582] Tue, 09 January 2018 21:49 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 544
Registered: July 2009
Senior Member
I've found that if I have a bunch of files open in Eclipse, and I manually close the tab for many of those files, and then restart Eclipse, it will just go ahead and reopen all of those files again.

This includes files of several types, including java, decompiled class files, stashed git commits, pom files, and others.

It's been doing this for a very long time. I believe I've asked about this in the past, but I've never gotten a useful answer.
Re: Why does Eclipse reopen closed files on restart? [message #1779637 is a reply to message #1779582] Wed, 10 January 2018 15:15 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3067
Registered: July 2009
Senior Member
That's definitely not normal behavior. Have you tried creating a new workspace from scratch to see if it behaves the same way?
Re: Why does Eclipse reopen closed files on restart? [message #1779661 is a reply to message #1779582] Wed, 10 January 2018 23:32 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 544
Registered: July 2009
Senior Member
I'm saying i've been seeing this for years. I've created many workspaces over this time and seen the same symptom in every release and workspace.
Re: Why does Eclipse reopen closed files on restart? [message #1779934 is a reply to message #1779661] Mon, 15 January 2018 21:25 Go to previous messageGo to next message
Max Lama is currently offline Max LamaFriend
Messages: 3
Registered: January 2018
Junior Member
i have the same problem
Re: Why does Eclipse reopen closed files on restart? [message #1779935 is a reply to message #1779582] Mon, 15 January 2018 21:36 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3078
Registered: July 2009
Senior Member

How are you using Eclipse? Is more than one window involved? Is anything else installed that opens and closes editors for you automatically?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Why does Eclipse reopen closed files on restart? [message #1779939 is a reply to message #1779935] Mon, 15 January 2018 22:06 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 544
Registered: July 2009
Senior Member
I never use more than one main window. I never use any sort of external tool to open editor windows.
Re: Why does Eclipse reopen closed files on restart? [message #1780051 is a reply to message #1779939] Tue, 16 January 2018 21:16 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 544
Registered: July 2009
Senior Member
It appears this is being done by Mylyn. I've filed the following bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=529753 .
Re: Why does Eclipse reopen closed files on restart? [message #1780109 is a reply to message #1780051] Wed, 17 January 2018 13:27 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3067
Registered: July 2009
Senior Member
What a great piece of troubleshooting; that's one of the best bug reports I've seen from a user in a long time. You're an excellent open source community citizen, David!
Previous Topic:Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04
Next Topic:Neon: black OR bars get left behind cursor movement left / right
Goto Forum:
  


Current Time: Wed Feb 21 04:08:36 GMT 2018

Powered by FUDForum. Page generated in 0.03147 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software