Closed cloudpay-simon closed 2 years ago
How about using a standard code formatter? Such as https://github.com/google/google-java-format
That's a possibility. I wasn't sure how receptive you would be to adding a dependency. Generated code is not known for its prettiness. We use (and enforce) google-java-format here, so I'd be happy with it.
Attempt to pretty-print generated source code using very simplistic algorithm.