"aspect" reserved word underlined as an error [message #4623] |
Tue, 24 September 2002 20:28  |
Eclipse User |
|
|
|
Hi,
I've just created an AspectJ project in eclipse (eclipse 2.0.1, aspectJ
0.5.2/1.0.6). I have one class and one aspect in my project.
For the aspect file, I can see that the aspect keyword is underlined with
red (as an error), but my project still compiles and runs correctly. Can you
help me to get rid of that annoying red underlining?
Thanks,
Dan
|
|
|
|
Re: "aspect" reserved word underlined as an error [message #4829 is a reply to message #4623] |
Wed, 25 September 2002 02:38  |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi Dan,
From the AJDT 0.5.2 Release Notes:
"
The early problem indication feature of the JDT underlines potential errors
in the editor as you type (before compilation). This feature is not
AspectJ-aware. S a result, AspectJ keywords may be highlighted as errors by
underlining with a req "squiggle"(see below):
....
This feature is perfectly harmless, but can be irritating. You can disable
the early error indication by selectng "Preferences" from the "Window" menu
and then expanding the "Java" node. Click on "Editor" and then select the
"Problem Indication" tab. Finally, deselect the "Show problems before
compiling" option and press apply.
"
So this red line is really annoying but it is perfectly harmless. I think
that later AJDT developers will correct this, as correct the code completion
in aspects (currently only code templates are present).
Regards,
Csaba Horv
|
|
|
|
Re: "aspect" reserved word underlined as an error [message #561690 is a reply to message #4623] |
Wed, 25 September 2002 02:38  |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi Dan,
From the AJDT 0.5.2 Release Notes:
"
The early problem indication feature of the JDT underlines potential errors
in the editor as you type (before compilation). This feature is not
AspectJ-aware. S a result, AspectJ keywords may be highlighted as errors by
underlining with a req "squiggle"(see below):
....
This feature is perfectly harmless, but can be irritating. You can disable
the early error indication by selectng "Preferences" from the "Window" menu
and then expanding the "Java" node. Click on "Editor" and then select the
"Problem Indication" tab. Finally, deselect the "Show problems before
compiling" option and press apply.
"
So this red line is really annoying but it is perfectly harmless. I think
that later AJDT developers will correct this, as correct the code completion
in aspects (currently only code templates are present).
Regards,
Csaba Horv
|
|
|
Powered by
FUDForum. Page generated in 0.06557 seconds