-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format Only Changes #197
base: master
Are you sure you want to change the base?
Format Only Changes #197
Conversation
I'm unconvinced by this. |
Is there any particular reason? Pros:
Cons:
|
For me, it fails aesthetically in too many common cases with too much indentation (double and quadrupedal indentation) and line breaking. There are formatters that don't aesthetically fail as much as google java style / basically closer to IntelliJ style. |
do you have one in mind that I can setup automatic formatting with? |
For me I couldn't care less about any particular code style, it's just that a standard format that can be enforced automatically makes contribution/reviewing easier. |
what do you think about https://github.com/palantir/palantir-java-format |
I have been trying it out actually, but yes it does kinda suck in some DSL cases [e.g. ebean query bean queries] so I'm not 100% sold on it. Still looking. |
okay, but are those DSL cases in this repo/pr? I'm not talking about changing what you use for application development. |
629092b
to
1eed5f9
Compare
- sorts Context/Jex members - adds auto-formatter
google java stylepalantir-style