antlr / Antlr4Formatter

Formatter for ANTLR 4 grammars
BSD 2-Clause "Simplified" License
40 stars 15 forks source link

Formatting of ANTLR4 grammars #23

Open matthiasbalke opened 5 years ago

matthiasbalke commented 5 years ago

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 commented 5 years ago

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

teverett commented 5 years ago

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

matthiasbalke commented 5 years ago

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.

teverett commented 5 years ago

works for me

On Fri, Dec 28, 2018 at 9:13 AM Matthias Balke notifications@github.com 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 .

matthiasbalke commented 4 years ago

This issue was closed by #40