After migrating my Java dev-environment from Kepler Service Release 2 to
Oxygen.3 Release (4.7.3) I noticed, that the line wrapping behaviour of the
Java Code Formatter is different now although the same settings are used.
An example:
- Default settings of "Eclipse [built-in]"
- Fuction Calls -> Argutments
- line width: 40
Kepler Service Release 2:
class Example {
void foo() {
Other.bar(
100,
nested(200, 300, 400,
500, 600, 700,
800, 900));
}
}
Oxygen.3 Release (4.7.3):
class Example {
void foo() {
Other.bar(100,
nested(200, 300, 400,
500, 600, 700,
800, 900));
}
}
This causes a lot of trouble, because after making a small change on an existig
class and formatting the code there are a lot of changes just because of differently
wrapped lines. So you have to look really hard in structure compare to find the
"real" changes.
I played around with the settings a little, but did not succeed.
Is there a possibility to make the Java Code Formatter in Oxygen.3 work the "old" way?
Thanks in advance for your help!
Best regards
Ulf