r/java • u/Lucky_Psychology8275 • Oct 25 '26
What cli formatter do you use
Given how software engineering evolves, using IDEA formatter is less and less practical.
- IDEA CLI formatter requires IntelliJ so no CI / wsl etc
- GJF is old and does not format lambdas well enough
- Palantir is obsolete and abandoned in addition to being one of the worst company ever created
- prettier-java not great either
I’m starting to think no formatter is the best option
24
Upvotes
View all comments
Show parent comment
1
u/lazystone Oct 26 '26
But you're OK with touching Google? Or Microsoft?
Why so? Google for example just illegally destroyed forests in Finland, so are you going to stop using all Google libraries now? Or should you avoid all websites built on top of React? That's Facebook/Meta. Or stop visiting GitHub - it's Microsoft after all. And you know what? The biggest contributor to Java itself is Oracle, would you name Oracle as ethical company?
But if you put your hypocrisy aside, there is https://github.com/openjavaformat/open-java-format after all.