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 IDE Dev (Build 2009-07-20_15-04-14 ) Java: 1.5.0_18-ea; Java HotSpot(TM) 64-Bit Server VM 1.5.0_18-ea-b01 if you press enter after default in following snippet you end up with carret aligned on the same level as keyword default is. it should work as after case. switch($key) { case 'id': $value = ' smallint(6) '; break; case 'count': $value = ' bigint(21) '; break; case 'bucket': $value = ' bigint(21) '; break; default: | press enter | you end up here
confirmed
Fixed & unit tested http://hg.netbeans.org/web-main/rev/5b19a0399dbe
Integrated into 'main-golden', will be available in build *200907230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5b19a0399dbe User: Tomasz Slota <tslota@netbeans.org> Log: #168908: wrong new line indent after the 'default' keyword