Community
Participate
Working Groups
The code formatting feature of the JDT (control+shift+F) messes up AspectJ code at times. For example, the pattern "set*" would be tokenized and formatted as "set *" instead, creating a syntactic error. The more usable solution would allow AspectJ to be formatted as well. From a tools perspective, it would also make sense to allow AspectJ code to be tokenized as if it were Java and to have the same meanings. That is, that set * and set* are treated as the same.
This item belongs with the others requiring tighter JDT integration, as such I'm tagging it as an enhacement. Thanks for the report.
Just to say: I keep hitting this, the unintended consequences of formatting one's code. AJDT should support a flag to disable formatting of code in the AspectJ editor or warn about it, even if the JDT integration doesn't get better.
An update on the code formatting situation is that code formatting has greatly improved in AJDT 1.2.0M1 (see the new and noteworthy for this release). We need to find the remaining holes in this area. Thanks, Helen
*** Bug 59444 has been marked as a duplicate of this bug. ***
Yes, this is fixed in 1.2.0M1. Please open new bugs for any problems found in this area.