Re: eclipse - doing multiple tasks?

From: Alex Hunsley (lard_at_tardis.ed.ac.molar.uk)
Date: 10/17/03


Date: Fri, 17 Oct 2003 15:26:47 +0100

Michael Borgwardt wrote:

> Alex Hunsley wrote:
>
>> I've justed started looking at eclipse and it seems very good.
>> I like the automatically generated tasks like fixing imports. Is it
>> possible to select a load of these and tell it to do them all, however?
>
>
> In general: No, because they cannot necessarily be fixed automatically.
> For your specific problem of fixing imports, however, you can select a
> whole package/directory in the tree view and select Source->Organize
> Imports,
> and it will process all the classes inside.
>
Ah thanks for this!
Unfortunately, the organise imports seems to be broken!
There are quite a few files that now look like this:

package [... whatever]

import [...whatever]
import [...whatever]

ng = false;

.. and obviously the compiler trips up on the "ng = false;" - eclipse
has removed some chars from the front of this line!
Does anyone know anything about this weird behaviour?

alex



Relevant Pages

  • Re: eclipse - doing multiple tasks?
    ... Alex Hunsley wrote: ... > I've justed started looking at eclipse and it seems very good. ... > I like the automatically generated tasks like fixing imports. ... whole package/directory in the tree view and select Source->Organize Imports, ...
    (comp.lang.java.programmer)
  • eclipse - doing multiple tasks?
    ... I've justed started looking at eclipse and it seems very good. ... I like the automatically generated tasks like fixing imports. ... possible to select a load of these and tell it to do them all, ...
    (comp.lang.java.programmer)