Does AspectJ plugin work?

It seems to me, built-in AspectJ plugin is not working.
It was ok in version 7.0.2, but in 7.0.3 it does not show syntax highlighting and does not show icon to navigate to aspected pointcuts.

Can anybody confirm it?

W BR,
Dmitry

0
8 comments
Avatar
Permanently deleted user

There's nothing changed. Are you sure your project didn't change? Is
Spring configured correctly?

It seems to me, built-in AspectJ plugin is not working.
It was ok in version 7.0.2, but in 7.0.3 it does not show syntax highlighting and does not show icon to navigate to aspected pointcuts.

Can anybody confirm it?

W BR,
Dmitry

0
Avatar
Permanently deleted user

There's nothing changed. Are you sure your project didn't change? Is
Spring configured correctly?


No, project didn't change.
I attach 2 screenshots of the same aspect (the same file).
First screenshot has syntax highlight and other nice stuff from AspectJ plugin, it is from IDEA 7.0.2
Second is from IDEA 7.0.3, it does not have syntax highlight and pointcut navigation.
BTW, this aspect is not related to spring configuration, because it is used without spring. This module is built by maven, which runs AspectJ's weaving.

W BR,
Dmitry



Attachment(s):
aspect_7_0_2.JPG
aspect_7_0_3.JPG
0
Avatar
Permanently deleted user

Hmm, we don't support any @AspectJ without Spring. So it's strange that
it worked at all. BTW, what are the yellow warnings on @AspectJ
annotations in 7.0.2 saying?

Dmitry Kirillov wrote:
>>

>> There's nothing changed. Are you sure your project didn't change? Is
>> Spring configured correctly?
>>


No, project didn't change.
I attach 2 screenshots of the same aspect (the same file).
First screenshot has syntax highlight and other nice stuff from AspectJ plugin, it is from IDEA 7.0.2
Second is from IDEA 7.0.3, it does not have syntax highlight and pointcut navigation.
BTW, this aspect is not related to spring configuration, because it is used without spring. This module is built by maven, which runs AspectJ's weaving.

W BR,
Dmitry


------------------------------------------------------------------------


------------------------------------------------------------------------

0
Avatar
Permanently deleted user

Hmm, we don't support any @AspectJ without Spring. So it's strange that
it worked at all. BTW, what are the yellow warnings on @AspectJ
annotations in 7.0.2 saying?


It is not bug, but feature? :)
Very sad) It was quite helpful.
Yellow warnings are "argNames attribute isn't defined", "It is recommended to define argNames attribute in @AspectJ annotations".
These warning are IDEA pluses in "IDEA vs Eclipse" holy wars with co-workers :)

0
Avatar
Permanently deleted user

It is not bug, but feature? :)

Appears so. I'm sorry. :( Unfortunately we don't have any plans to
support full AspectJ yet. If there was somebody willing to do so in
open-source, would be great.

0
Avatar
Permanently deleted user

It's a feature, not bug :(

0
Avatar
Permanently deleted user

It's a feature, not bug :(


Good news, everyone (c)

The navigation is restored now in Selena. More precisely, if there is
Spring facet, it acts like it should, and if there isn't, it still tries
to parse pointcut expressions, doesn't show parse errors, and, if you're
lucky to use the pointcut type subset IDEA supports, even provides
navigation across module dependencies. All this will be available in
next Selena EAPs and maintenance releases.

0
Avatar
Permanently deleted user

Thanks a lot :)

W BR,
Dmitry

0

Please sign in to leave a comment.