Community
Participate
Working Groups
The new code formatter seems to be only indenting the first line and the break line correctly. Here is what the formatter is producing: switch (VARIABLE) { case CASE_1 : _foo= false; doSomething1(); doSomething2(); doSomething3(); break; case CASE_2 : _foo= true; doSomething4(); break; } build: 3.0m4 <from prefs_store.ini in jdt.core> org.eclipse.jdt.core.codeComplete.fieldPrefixes=_ org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled org.eclipse.jdt.core.formatter.newline.openingBrace=insert org.eclipse.jdt.core.formatter.space.castexpression=do not insert org.eclipse.jdt.core.formatter.style.assignment=compact org.eclipse.jdt.core.formatter.tabulation.char=space
Reproduced. I am working on it.
Fixed and released in HEAD. Regression tests added.