Can I pick all of the above? That is, avoid spotless, text blocks, and anonymous lambda parameters. They all have issues that independently make me prefer code without them.
On Thu, Nov 28, 2024 at 7:31 PM Benjamin Marwell <bmarw...@apache.org> wrote: > > 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 -- Elliotte Rusty Harold elh...@ibiblio.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org