Bug 373584 - syntax highlighting: lock/unlock and thisAspectInstance
Summary: syntax highlighting: lock/unlock and thisAspectInstance
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 2.1.3   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 14:46 EST by Andrew Clement CLA
Modified: 2012-03-07 16:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2012-03-07 14:46:01 EST
In order to try and indicate to users that lock/unlock are special names in an AspectJ program (they are pointcut designatures if you have the option -Xjoinpoints:synchronization switched on), it would be nice to highlight them in pointcuts.

thisAspectInstance should also be highlighted as 'special' - it is discussed here: http://www.eclipse.org/aspectj/doc/released/README-1612.html
Comment 1 Andrew Eisenberg CLA 2012-03-07 15:58:51 EST
At this point, I'm guessing, all that is required is syntax highlighting.  Content assist, etc is not being requested.  For now, unless there is good reason otherwise, I will implement this.  And later, I can add more complete support if asked.
Comment 2 Andrew Eisenberg CLA 2012-03-07 16:16:53 EST
Fix is easy enough.  Just updated the keywords list in AspectJPlugin.