This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans Platform Dev (Build 201003290201) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: SunOS version 5.11 running on x86; UTF-8; ja_JP (nb) I got this report from community member in Japan. I'm not sure if this issue has been already reported or not. It seems that when typing "break;", indentation for case become wrong. switch ($a) { case 1; abc(); break; case 2; abc(); break; case 3; abc(); break; } "Format" code will work properly. switch ($a) { case 1; abc(); break; case 2; abc(); break; case 3; abc(); break; }
Fixed in the webmain.
Product Version: NetBeans IDE Dev (Build 100406-c711d74ebbfc) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01