Community
Participate
Working Groups
Using the java code formatting I get the following: int i = 0; switch (i) { case 0: // handling 0 System.out.println("Case was 0"); // fall through case 1: // handling 1. // some additional remark (also handles 0). System.out.println("Case was 0 or 1"); break; case 2: // fall through default: // some default action System.out.println("Case was :" + i); } I would like to see the "fall through" to be indented, but it does not seem to be possible.
Fixed and released in HEAD. Added regression test org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test609
Verified for 3.2 M4 using build I20051212-0010