Community
Participate
Working Groups
Build 20020611 + plug-in export for build 20020612 1. Uncheck everything on the "New Lines" tab of the code formatter settings 2. Add the following code to a Java editor: --- begin (don't copy) --- public void testDivideByZero() { int zero = 0; int result = 8 / zero; int result = 8 / zero; } public void testEquals() { --- end (don't copy) --- 3. Select that code 4. Select "Format" from the context menu ==> blank lines are compressed to 1 blank line This is not what I would expect.
Moving to J Core.
Working as expected. Might revise this post 2.0.
Resurrecting formatter issues in 2.1 stream.
Clearing resolution
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in the works. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan.
Resurrecting for 3.0
Reopen for 3.0 consideration.
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.