Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wilkinsona opened this issue May 25, 2022 · 1 comment
Assignees
Milestone

Comments

@wilkinsona
Copy link
Contributor

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
Copy link
Contributor Author

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.

@wilkinsona wilkinsona self-assigned this May 25, 2022
@wilkinsona wilkinsona added this to the 0.0.33 milestone May 25, 2022
philwebb added a commit that referenced this issue Feb 7, 2023
Improve fluent API formatting by tweaking the "qualified Invocations"
wrapping option. This commit also changes the fix for gh-332 by porting
`align_selector_in_method_invocation_on_expression_first_line` to
the Java 8 formatter.

Closes gh-124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant