spring-io / spring-javaformat

Apache License 2.0
806 stars 111 forks source link

Method invocation wrapping indentation has changed with Java 11-based formatter #332

Closed wilkinsona closed 2 years ago

wilkinsona commented 2 years ago

There's a new setting that seems to have caused a change in the formatter's default behaviour when running on Java 11 or later. We'd like to restore the old behaviour if we can.

wilkinsona commented 2 years ago

The new setting was introduced in this commit and can be controlled with org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line.