Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

Java, the OLPC, and community responsibility

The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
Replies: 5 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

Hide unmodified files in package view

At 1:08 PM on Aug 6, 2008, 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.

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

Michael


  Click to reply to this thread Reply
1. At 1:10 PM on Aug 6, 2008, Michael Giroux wrote:

Re: Hide unmodified files in package view

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" wrote in message
news:g7clrb$tpg$1 at build dot eclipse dot 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
>


  Click to reply to this thread Reply
2. At 12:56 PM on Aug 7, 2008, Eric Rizzo wrote:

Re: Hide unmodified files in package view

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
  Click to reply to this thread Reply
3. At 2:40 PM on Aug 7, 2008, Michael Giroux wrote:

Re: Hide unmodified files in package view

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


  Click to reply to this thread Reply
4. At 4:35 PM on Aug 7, 2008, Eric Rizzo wrote:

Re: Hide unmodified files in package view

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
  Click to reply to this thread Reply
5. At 5:41 PM on Aug 7, 2008, Michael Giroux wrote:

Re: Hide unmodified files in package view

> 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



thread.rss_message