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

Update Eclipse formatter configuration to never join wrapped lines #609

Open
kaklakariada opened this issue Dec 17, 2024 · 0 comments
Open
Labels
feature Product feature

Comments

@kaklakariada
Copy link
Collaborator

kaklakariada commented Dec 17, 2024

The current Eclipse formatter always joins wrapped lines. If you want to explicitly wrap lines, you need to force wrapping with a trailing //

We should configure the following property in .settings/org.eclipse.jdt.core.prefs:

org.eclipse.jdt.core.formatter.join_wrapped_lines=false

Also indent case inside a switch:

org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
@kaklakariada kaklakariada added the feature Product feature label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

No branches or pull requests

1 participant