Antlr4Formatter icon indicating copy to clipboard operation
Antlr4Formatter copied to clipboard

Formatting of ANTLR4 grammars

Open matthiasbalke opened this issue 7 years ago • 5 comments

As soon as https://github.com/diffplug/spotless/pull/328 is merged, we should eat our own dogfood and format our ANTLR4 grammars using spotless, which in turns uses Antlr4Formatter.

matthiasbalke avatar Dec 28 '18 13:12 matthiasbalke

I've added the config in my commit. But the spotless PR must be merged and released first.

matthiasbalke avatar Dec 28 '18 14:12 matthiasbalke

I like the idea, but this is a big decision: there are many contributors to grammars-v4. Lets leave this open for now.

teverett avatar Dec 28 '18 15:12 teverett

Oh I ment to start with the ANTLR4 grammars we are using in the formatter. If we are comfortable with the formatting, we can go one step further.

matthiasbalke avatar Dec 28 '18 16:12 matthiasbalke

works for me

On Fri, Dec 28, 2018 at 9:13 AM Matthias Balke [email protected] wrote:

Oh I ment to start with the ANTLR4 grammars we are using in the formatter. If we are comfortable with the formatting, we can go one step further.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/antlr/Antlr4Formatter/issues/23#issuecomment-450384306, or mute the thread https://github.com/notifications/unsubscribe-auth/ABK1Zr2hPWqZfwG8ouGFSWc7Ihq35sg_ks5u9kNCgaJpZM4Zj3bC .

teverett avatar Dec 28 '18 16:12 teverett

This issue was closed by #40

matthiasbalke avatar Jul 07 '20 14:07 matthiasbalke