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 242491 - Unable to change break indententation
Summary: Unable to change break indententation
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 242490 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-02 12:48 UTC by antoniocs
Modified: 2014-03-03 06:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description antoniocs 2014-03-02 12:48:48 UTC
So I am trying to use the Format option in netbeans.
I have customized it to my liking but there is one thing that doesn't seem to be changed. That thing is the tab in the break in the switch statement.

This is the code I have:

    switch (value) {
        case (VALUE_X):
            result = false;
            break;
        default:
            result = true;
    }

What I want is this: 

    switch (value) {
        case (VALUE_X):
            result = false;
        break;
        default:
            result = true;
    }

Notice the break indentation. There is no where in the editor to select how to indent the break.
Comment 1 Jiri Prox 2014-03-03 06:37:37 UTC
*** Bug 242490 has been marked as a duplicate of this bug. ***