Skip to main content



      Home
Home » Newcomers » Newcomers » auto re-open resources when project is opened?
auto re-open resources when project is opened? [message #529868] Tue, 27 April 2010 10:20 Go to next message
Eclipse UserFriend
This is probably a dumb noob question but I am getting nowhere trying to find anything about this online or in the docs:

Is there any way to get a project to 'remember' which resources were open at the time a project was closed, and to re-open those same resources when a project is re-opened?

I recently upgraded from an older version of Eclipse to current, and it used to work like this. Now, whenever I close a project, any opened resources of that project stay open in the resrouce browser, which seems like incorrect behavior.

I have tried removing and re-creating projects from scratch, deleting the hidden files at the project root in the local working directory, but same behavior.

Any insight would be appreciated.

OSX, Eclipse Build id: 20100218-1602

Thanks
-c!
Re: auto re-open resources when project is opened? [message #530924 is a reply to message #529868] Sun, 02 May 2010 16:58 Go to previous messageGo to next message
Eclipse UserFriend
Anyone?
Bueller?
Re: auto re-open resources when project is opened? [message #531022 is a reply to message #529868] Mon, 03 May 2010 08:02 Go to previous messageGo to next message
Eclipse UserFriend
In article <hr6rr5$59t$1@build.eclipse.org>, cgray@metamedia.us says...
>
> This is probably a dumb noob question but I am getting nowhere trying to find anything about this online or in the docs:
>
> Is there any way to get a project to 'remember' which resources were open at the time a project was closed, and to re-open those same resources when a project is re-opened?

I don't quite understand what you're doing. My Eclipse remembers what
was open when I close and restart Eclipse, but what do you mean when you
say a "project"? If I open source files from one project while another
is open, those files stay open after a restart. Do yours not do so?

D
Re: auto re-open resources when project is opened? [message #531026 is a reply to message #531022] Mon, 03 May 2010 08:41 Go to previous messageGo to next message
Eclipse UserFriend
David Kerber wrote on Mon, 03 May 2010 08:02


I don't quite understand what you're doing. My Eclipse remembers what
was open when I close and restart Eclipse, but what do you mean when you
say a "project"? If I open source files from one project while another
is open, those files stay open after a restart. Do yours not do so?

D


Mine remembers source files (resources) when closing and relaunching Eclipse too.

Within Eclipse, there is the ability to open and close projects. This can be done from the PHP Explorer tab by right-clicking on a project name, or from the Project menu by selecting open or close. This closes the project, and (used to) close all source files (resources) which are part of that project. Re-opening the project would re-open any resources which were previously open.

This was *very* useful as I work on many different projects for short periods of time, and allowed me to keep only a sane number of source files (resources) visible at a time, yet still have the resources immediately available when I re-open a project.

Eclipse worked this way in Eclipse Platform v3.51, but not now in v3.52.

I have tried a variety of things such as creating my project files fresh in a new local working directory, scouring the preferences and documentation for some new feature or means to accomplish this and am stumped.

Without out this, my use of Eclipse is extremely stymied. I must either keep 30+ resources open which span multiple unrelated projects, or close files only to have to hunt for them to re-open them when re-needed.

* corrupt project files? (I re-created them and am getting the same behavior)
* behavior replaced with some other mechanism? (views? workspaces? ???)
* dropped feature? ( I hope not!)

Any insight is appreciated. thanks -c!
Re: auto re-open resources when project is opened? [message #531145 is a reply to message #531026] Mon, 03 May 2010 17:08 Go to previous message
Eclipse UserFriend
On 5/3/10 8:41 AM, Christopher Gray wrote:
> David Kerber wrote on Mon, 03 May 2010 08:02
>> I don't quite understand what you're doing. My Eclipse remembers what
>> was open when I close and restart Eclipse, but what do you mean when
>> you say a "project"? If I open source files from one project while
>> another is open, those files stay open after a restart. Do yours not
>> do so?
>>
>> D
>
>
> Mine remembers source files (resources) when closing and relaunching
> Eclipse too.
>
> Within Eclipse, there is the ability to open and close projects. This
> can be done from the PHP Explorer tab by right-clicking on a project
> name, or from the Project menu by selecting open or close. This closes
> the project, and (used to) close all source files (resources) which are
> part of that project. Re-opening the project would re-open any resources
> which were previously open.
>
> This was *very* useful as I work on many different projects for short
> periods of time, and allowed me to keep only a sane number of source
> files (resources) visible at a time, yet still have the resources
> immediately available when I re-open a project.
>
> Eclipse worked this way in Eclipse Platform v3.51, but not now in v3.52.
>
> I have tried a variety of things such as creating my project files fresh
> in a new local working directory, scouring the preferences and
> documentation for some new feature or means to accomplish this and am
> stumped.
>
> Without out this, my use of Eclipse is extremely stymied. I must either
> keep 30+ resources open which span multiple unrelated projects, or close
> files only to have to hunt for them to re-open them when re-needed.
>
> * corrupt project files? (I re-created them and am getting the same
> behavior)
> * behavior replaced with some other mechanism? (views? workspaces? ???)
> * dropped feature? ( I hope not!)
> Any insight is appreciated. thanks -c!

Have you considered using different workspaces for different unrelated
projects?
Another thing to look at is Mylyn; it is a task-focused UI layer on top
of Eclipse that can remember open editors as you activate and de-active
tasks. It does a whole lot more than that, too.
http://www.eclipse.org/mylyn has more info.

Hope this helps,
Eric
Previous Topic:Eclipse does not clean build the web app with gwt
Next Topic:Help with install
Goto Forum:
  


Current Time: Tue Jul 29 13:00:50 EDT 2025

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

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

Back to the top