Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Extend JDT semantic highlight(Is it possible to extend jdt semantic highlight based on the AST?)
Extend JDT semantic highlight [message #768070] Mon, 19 December 2011 14:20 Go to next message
Alessandro Carraro is currently offline Alessandro CarraroFriend
Messages: 27
Registered: July 2009
Junior Member
I'd like to extend default java editor in this way:
Some java methods are 'special' for the java framework I'm building (actually they are generated by my plugin, but this is not important).
I can identify them from either:

* AST
* Fully qualified name.
* Naming conventions

I'd like to see invocations to those methods to be "emphasized" (i could highlight or print in bold or create a marker - whatever is faster)

Can you provide a list of things to be done to achieve my goal?

Many thanks
Alex
Re: Extend JDT semantic highlight [message #775572 is a reply to message #768070] Fri, 06 January 2012 09:43 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 19.12.2011 15:20, Alessandro Carraro wrote:
> I'd like to extend default java editor in this way:
> Some java methods are 'special' for the java framework I'm building
> (actually they are generated by my plugin, but this is not important).
> I can identify them from either:
>
> * AST
> * Fully qualified name.
> * Naming conventions
>
> I'd like to see invocations to those methods to be "emphasized" (i
> could highlight or print in bold or create a marker - whatever is faster)
>
> Can you provide a list of things to be done to achieve my goal?
The existing semantic and syntax coloring can't be extended. You would
have to implement something similar as JDT already does. The solutions
differs depending on whether you need an AST or not.

Dani
>
> Many thanks Alex
Previous Topic:Runnable Jar export fails with class-path problems
Next Topic:Varaiable and Expression View in Debug Perspective
Goto Forum:
  


Current Time: Fri Apr 26 03:50:19 GMT 2024

Powered by FUDForum. Page generated in 0.02420 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top