[antlr-interest] IDE Plugins

Gerald Rosenberg gerald at certiv.net
Wed Nov 5 13:28:46 PST 2008


At 07:38 AM 11/4/2008, Robert Vaessen wrote:
>    * Will these plugins provide syntax highlighting, 
> auto-completion, etc. for java code snippets in grammar files?
If you are looking for a JDT-level experience, no.  At least not 
currently.  Neither Eclipse plug-in supports full JDT-style 
refactoring of java code or full java syntax highlighting.  Not too 
surprising, since Antlr is not limited to java actions.

Better to minimize the amount of java code in the grammar file by 
having the Antlr generated parser subclass the action code 
implementation -- removes visual clutter from the grammar and 
separates specification from implementation.

Still, both plug-ins do provide Template support for Antlr syntax and 
action code completion.  Both come with a fairly complete set of 
Antlr templates and allow definition of custom Antlr and action code 
templates  -- the AntlrDT plugin automatically includes the JDT templates.

Both have full syntax highlighting Antlr editors and provide 
incremental builders and grammar launchers.  AntlrIDEv3 has grammar 
debug support.  AntlrDT has a full syntax highlighting StringTemplate editor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081105/c60ab36e/attachment-0001.html 


More information about the antlr-interest mailing list