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.

Bug 192361 - [70cat][indent] Break statements are not automatically moved inline with or indented from their associated case within a switch.
Summary: [70cat][indent] Break statements are not automatically moved inline with or i...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 18:26 UTC by esmithbss
Modified: 2010-11-24 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-11-23 18:26:40 UTC
Product Version = NetBeans IDE Dev (Build 201011230001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

Current formatting does not move the break statement into line or cleanly indented from it's associated case within a switch statement.  Instead, the current system leaves the break wherever it is entered.

It should be moved either inline with the case, or if all other content in the case is indented, indented within the case.
Comment 1 Dusan Balek 2010-11-24 12:21:48 UTC
Unfortunately, I cannot reproduce the problem in the current dev build. Could
you please provide some additional information (particular test case, any
non-default formatting options, etc.) that could help me to reproduce the
issue? Thanks.