<html>
<body>
At 07:38 AM 11/4/2008, Robert Vaessen
wrote:<blockquote type=cite class=cite cite="">
<ol>
<li>Will these plugins provide syntax highlighting, auto-completion, etc.
for java code snippets in grammar files? </blockquote>
</ol>If you are looking for a JDT-level experience, no.&nbsp; At least
not currently.&nbsp; Neither Eclipse plug-in supports full JDT-style
refactoring of java code or full java syntax highlighting.&nbsp; Not too
surprising, since Antlr is not limited to java actions. <br><br>
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.<br><br>
Still, both plug-ins do provide Template support for Antlr syntax and
action code completion.&nbsp; Both come with a fairly complete set of
Antlr templates and allow definition of custom Antlr and action code
templates&nbsp; -- the AntlrDT plugin automatically includes the JDT
templates.<br><br>
Both have full syntax highlighting Antlr editors and provide incremental
builders and grammar launchers.&nbsp; AntlrIDEv3 has grammar debug
support.&nbsp; AntlrDT has a full syntax highlighting StringTemplate
editor.&nbsp; <br>
</body>
</html>