Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 220009

Summary: Option for wrapping in switch statements
Product: editor Reporter: kazocsaba
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED QA Contact: issues <>
Priority: P3    
Version: 7.2   
Target Milestone: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Report:

Description kazocsaba 2012-10-12 13:46:51 UTC
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);
Comment 1 Dusan Balek 2013-04-17 06:38:56 UTC
Fixed in jet-main.
Comment 2 Quality Engineering 2013-04-18 02:21:59 UTC
Integrated into 'main-golden', will be available in build *201304172301* on (upload may still be in progress)
User: Dusan Balek <>
Log: Issue #220009: Option for wrapping in switch statements - fixed.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo