Community
Participate
Working Groups
Build 200402101600 Take the following code (this is how it looks when formatted using the "Default" settings) public class Test { public void foo(String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8) { } } now define a new formatter setting and switch on New Lines -> Preserve existing line break. After reformatting the source now is formatted as public class Test { public void foo(String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8) { } }
The line breaks is preserved. The current indentation is used. I don't advice that this option should be used. It preserves line break, but that could break existing line splitting.
The option "preserve user line breaks" has been removed from the code formatter. It will be removed from the UI soon. Fixed and released in HEAD.
Assuming that the option is now "Blank Lines->Number of empty line to prerve", this is verified in I200403250010