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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
