Organize imports ignoring class [message #216785] |
Sun, 28 March 2004 00:01 |
Eclipse User |
|
|
|
Originally posted by: Lamont_Gilbert.rigidsoftware.com
I have a class called pj2Plugin. When i call a method on this class like so
pj2Plugin.log("sdsda");
it will be highlighted in red because its not imported. But if I try to
do a ctrl-shift-O, the class will NOT be imported. I have to add it
manually. And under certain conditions it will even remove the thing.
Any idea why this is? does it not like classes that start with
lowercase letters?
--
Respectfully,
CL Gilbert
"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber." John 10:1
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
|
|
|
Re: Organize imports ignoring class [message #216815 is a reply to message #216785] |
Sun, 28 March 2004 04:38 |
Kevin Duffey Messages: 304 Registered: July 2009 |
Senior Member |
|
|
I have seen this in the past several builds as well. I figured it was a bug
but it doesn't occur all the time. The time I have seen this is when I add a
new class, then go to use that new class in another class. It is on the
classpath, and Eclipse IDE has already compiled it as I see it in the output
folder as well. So it's not a matter of not being part of the classpath or
not yet compiled. It seems odd that this happens, and like you said, even
after manually typing it, I still see the red line (sometimes), and if I
organize again, my import is gone.
"CL [dnoyeb] Gilbert" <Lamont_Gilbert@rigidsoftware.com> wrote in message
news:c454bg$dmr$1@eclipse.org...
> I have a class called pj2Plugin. When i call a method on this class like
so
>
> pj2Plugin.log("sdsda");
>
> it will be highlighted in red because its not imported. But if I try to
> do a ctrl-shift-O, the class will NOT be imported. I have to add it
> manually. And under certain conditions it will even remove the thing.
>
> Any idea why this is? does it not like classes that start with
> lowercase letters?
>
>
>
>
> --
> Respectfully,
>
>
> CL Gilbert
>
> "Verily, verily, I say unto you, He that entereth not by the door() into
> the sheepfold{}, but climbeth up some other *way, the same is a thief
> and a robber." John 10:1
>
> GnuPG Key Fingerprint:
> 82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
>
> For a free Java interface to Freechess.org see
> http://www.rigidsoftware.com/Chess/chess.html
|
|
|
Powered by
FUDForum. Page generated in 0.04591 seconds