Community
Participate
Working Groups
For Example: two classes in one source file class One {} class Two {} results in class One {} class Two {} or class One { } class Two { } Admittedly, this is seldom, but useful for my preview window in the preference page - and it is valid Java. I suggest to just preserve the new lines between the classes, which is not done currently, even with PRESERVE_USER_LINEBREAKS enabled.
I will investigate.
Fixed and released in HEAD. The formatter should now respect the settings to preserve user line breaks or the number of empty lines to preserve. Regression test added.
Verified for 3.0M6