Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Hide unmodified files in package view
Hide unmodified files in package view [message #330637] Wed, 06 August 2008 17:08 Go to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
I have a package that contains about 50 java source files. When working on
this package, the modified files are flagged '>' but may not appear in the
window at the same time.

It would be nice to have an option to filter (exclude) unmodified files so
that only the modified files are shown. This would be similar to the option
to the filter for closed projects.

It would be nice if there was an easy way to switch this on and off, but I
would be happy to manage via the filters config.

Does anyone else think this would be useful enough to merit a feature
request?

Michael
Re: Hide unmodified files in package view [message #330638 is a reply to message #330637] Wed, 06 August 2008 17:10 Go to previous messageGo to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
Another possible implementation would be to sort modified files to the top
of the list.

The goal is to get all modified files in one visible spot.

Michael


"Michael Giroux" <michael.giroux@bull.com> wrote in message
news:g7clrb$tpg$1@build.eclipse.org...
>I have a package that contains about 50 java source files. When working on
>this package, the modified files are flagged '>' but may not appear in the
>window at the same time.
>
> It would be nice to have an option to filter (exclude) unmodified files so
> that only the modified files are shown. This would be similar to the
> option to the filter for closed projects.
>
> It would be nice if there was an easy way to switch this on and off, but I
> would be happy to manage via the filters config.
>
> Does anyone else think this would be useful enough to merit a feature
> request?
>
> Michael
>
Re: Hide unmodified files in package view [message #330659 is a reply to message #330637] Thu, 07 August 2008 16:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael Giroux wrote:
> I have a package that contains about 50 java source files. When working on
> this package, the modified files are flagged '>' but may not appear in the
> window at the same time.
>
> It would be nice to have an option to filter (exclude) unmodified files so
> that only the modified files are shown. This would be similar to the option
> to the filter for closed projects.
>
> It would be nice if there was an easy way to switch this on and off, but I
> would be happy to manage via the filters config.

It sounds like you would find value in using Mylyn to manage task
contexts: http://www.eclipse.org/mylyn/
It will filter many of the standard Eclipse views based on what files
you have actually looked at and touched.

Installed by default in 3.4 (and at least some of the 3.3 package
builds, too).

Eric
Re: Hide unmodified files in package view [message #330666 is a reply to message #330659] Thu, 07 August 2008 18:40 Go to previous messageGo to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
Eric,
Thanks for the pointer.

I agree it is a nice feature. It is pretty close to what I need.

I have one problem -- if I close a file, it is removed from the view, even
if it has been modified.

It seems to be removed from the task context once I close the file. I
looking, but so far I see no way to associate a closed file with a task
context. What am I missing?

Michael
Re: Hide unmodified files in package view [message #330669 is a reply to message #330666] Thu, 07 August 2008 20:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Michael Giroux wrote:
> Eric,
> Thanks for the pointer.
>
> I agree it is a nice feature. It is pretty close to what I need.
>
> I have one problem -- if I close a file, it is removed from the view, even
> if it has been modified.
>
> It seems to be removed from the task context once I close the file. I
> looking, but so far I see no way to associate a closed file with a task
> context. What am I missing?

There is a preference to turn that off (so that files will NOT be
removed from the context when the editor is closed): Preferences > Tasks
> Context.

I don't know why they make that feature on by default ; I find it
annoying, too, and can hardly imagine someone wanting that behavior.

Eric
Re: Hide unmodified files in package view [message #330670 is a reply to message #330669] Thu, 07 August 2008 21:41 Go to previous message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
> There is a preference to turn that off (so that files will NOT be removed
> from the context when the editor is closed): Preferences > Tasks
> > Context.

Outstanding.

> I don't know why they make that feature on by default ; I find it
> annoying, too, and can hardly imagine someone wanting that behavior.

Agree.

>
> Eric
Previous Topic:initializationError0 When Running JUnits Through Eclipse
Next Topic:Errors by exporting java persistence api based bundle
Goto Forum:
  


Current Time: Thu Nov 21 11:47:16 GMT 2024

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

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

Back to the top