Summary: | New code Formatter | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Steve Ray <stephen.l.ray> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M6 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Steve Ray
2003-12-02 15:26:19 EST
What are your formatting options? Reproduced. I am investigating. Fixed and released in HEAD. Regression tests added. Test case: class Example { void foo() {} void foo2() {} // end of foo2 void bar() {} } New result if at least one blank lines needs to be preserved: class Example { void foo() { } void foo2() { } // end of foo2 void bar() { } } Using the new code formatter preference page, you can also add a new line before each method without specifying any number of blank lines to be preserved. Verified for 3.0M6 |