What are the red X decorators on my classes' icons? [message #649346] |
Tue, 18 January 2011 15:27  |
Eclipse User |
|
|
|
Some of my class file have a red X decorator on the icon, and some do not. What does this mean? I thought that it might indicate an unsaved file or a file that won't build, but neither seem to be it. I googled for Eclipse Decorators, but found very little information describing their individual meanings. So another question is, where in the fine manual are the Eclipse icon decorators described?
Thanks!
|
|
|
|
|
Re: What are the red X decorators on my classes' icons? [message #649358 is a reply to message #649355] |
Tue, 18 January 2011 16:34   |
Eclipse User |
|
|
|
On 18-Jan-11 14:23, Dotan Cohen wrote:
> Thanks, that is a great link. Bookmarked!
>
> I figured they were errors, if I can't figure out what (now that I know
> for certain that they are errors) then I'll post back!
>
> Have a great night!
Your entries here in the forum have been associated with C++ stuff. I'm
a Java guy (having repented of decades of being a C/assembly guy), and
I've never done C/C++ in Eclipse. Don't therefore allow me to mislead
you. So, in Java...
In the file, you'll find decorations down the margins, reds, yellows,
etc. The reds correspond to lines with errors; the yellows to warnings.
Click to go to the line in question. Hover over either the margin
decoration or the red, squiggly line underneath the expression,
identifier, etc. to see what the compiler thinks is the problems.
Best of luck to you,
Russ
|
|
|
Re: What are the red X decorators on my classes' icons? [message #649693 is a reply to message #649358] |
Thu, 20 January 2011 06:04  |
Eclipse User |
|
|
|
Thank you Russ. I am in fact referring to Java, I should have made that clear.
It seems that my problem was that I had not yet defined constructors for some classes. I've since finished the project and I'm not sure which errors I was getting, but along the way I've learned a lot about the Eclipse environment. Thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.07468 seconds