The work in progress is on the "mavenize" branch here - https://github.com/timboudreau/ANTLR4-Plugins-for-NetBeans - It is 44 modules (comprising generic support for generating most of a plugin for any Antlr grammar from annotations, and then in antlr-editing-plugins, a suite of modules for Antlr itself) :-)
There *was* an Antlr formatter, but this project started with working on an exiting Antlr plugin I forked, evolved into generic Antlr support, and I'm now in the process of reassembling the original Antlr-editing-only module to eat my own dogfood, as a set of modules with all the features of the original, plus lots more (like live-syntax highlighting of files in the language of the grammar you're editing, which get updated when you edit the grammar, visual syntax trees and more - one of the biggest PITA's of Antlr development is writing a rule that overrides another rule and not knowing it until long after you broke it and then trying to figure out *what* broke it, so instant feedback as you edit a grammar is a necessity). I haven't add formatting back in yet, though. But I'll keep you posted. -Tim On Fri, Sep 20, 2019 at 1:17 AM Peter Cheung <mcheun...@hotmail.com> wrote: > Dear Tim > Yes, i want to format antlr lang. > Thanks > From Peter > ________________________________ > From: Tim Boudreau <niftin...@gmail.com> > Sent: Monday, September 16, 2019 7:48 AM > To: dev@netbeans.apache.org <dev@netbeans.apache.org> > Subject: Re: Can anyone give me a help about developing antlr formatter > > I have some stuff under development that might be useful for that. You want > to format a language that has an Antlr grammar, right? > > -Tim > > On Sun, Sep 15, 2019 at 11:43 AM Peter Cheung <mcheun...@hotmail.com> > wrote: > > > Hi All > > Can anyone give me a help about developing antlr formatter? Where i > > can get an example to develop a custom formatter? > > Thanks > > From Peter > > > M > -- > http://timboudreau.com > -- http://timboudreau.com