Is there a way to tell Eclipse formatter that when a String is too long, it should split it with +
to fit the maximum line width automatically?
For instance, if my max line width is 80, I'd like this:
String s = "This is a very very very very very very very very very very very very very very very very very very very long String";
to become something like this:
String s = "This is a very very very very very very very very very very very"
+ " very very very very very very very very long String";
No. This would mean changing your source code, not just white space.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With