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 236067

Summary: No "same line, indented" option in java braces placement
Product: java Reporter: chazz422
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description chazz422 2013-09-17 11:53:26 UTC
There is no "Same line, indented" option in the java braces placement options.  This is to support banner-style braces.  Here's an example:

public class Foo {
    public void main (String[] args) {
        System.out.println ("Inside main method");
        System.exit (0);
        }
    }

All of our source code in version control uses this banner style braces and the code generator in netbeans has no option to directly support this.