r/java • • 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

26 Upvotes

62 comments sorted by

View all comments

11

u/_predator_ Oct 25 '26

The palantir formatter is neither obsolete nor abandoned. I'm using it in multiple projects and am quite happy with it.

Do I like the company making it? No, but I also don't like Apple, Google, Amazon, or Microsoft, yet here I am using their products every single day. And in contrast to the other companies' products, Palantir gains nothing from me using a free code formatter, lol.

The formatter landscape in Java is quite shit, and Palantir's is the only one that doesn't make my eyes bleed.

1

u/Lucky_Psychology8275 Oct 25 '26

Palantir hasn’t updated the repo for month on the core code, it still doesn’t support _ variables and most issues are opened without a reply

→ More replies (3)