Hello everyone!

Sadly, palantir-java-format, used in Maven builds via spotless, still has
no support for text blocks and will misformat them. Also, it
 still cannot parse anonymous lambda parameters (_).

Text blocks are available since 14, this bugs me already. The anonymous
underscore parameter will become available for Maven on Java 21.

I was not able to reach out to the maintainer. What should we do about it?

Option 1: just not use both features

Option 2: use text blocks and deal with misalignment

Option 3: use text blocks and spam // spotless:off around those

Option 4: ...?

Input is appreciated. I found palantir/spotless very valuable and I
wouldn't want to ditch it from Maven.

- Ben

Reply via email to