mike-lischke / antlr-format

A tool to format ANTLR grammars
MIT License
8 stars 2 forks source link

[FR] Add option to determine the used line breaks #3

Open mike-lischke opened 11 months ago

mike-lischke commented 11 months ago

Add a new option that allows to specify the line break style to be used (\n˙, ˙\n\r or default for current OS).

Note: since all whitespaces are generated (not taken over from the original file), this will automatically fix all non-matching line breaks.