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.
I would like an option to disable wrapping of case blocks in switch statements so that the formatter will not insert line breaks in the following code: switch (code) { case 200: return "OK"; case 404: return "Not found"; default: return Integer.toString(code); }
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/d9d611f48a0b
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d9d611f48a0b User: Dusan Balek <dbalek@netbeans.org> Log: Issue #220009: Option for wrapping in switch statements - fixed.