Community
Participate
Working Groups
I have blank lines between methods. If my method ends with a curly brace it leaves the blank line if it ends with a commented curly brace it removes the blank line. e.g.: } // end constuctor
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