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 142597 - Not enough options for braces placement.
Summary: Not enough options for braces placement.
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 16:07 UTC by Milos Kleint
Modified: 2009-11-02 11:00 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 Milos Kleint 2008-08-01 16:07:37 UTC
current dev build.

There's only possible to define braces position for Class Declaration, Method declaration and the there's a generic
category Other.
That's not enough, when I tried to reproduce apache maven coding style, it requires to place braces on new line for if,
while, else, for statements so I have to check "new line" at the "Others" field.,
however that results in following code when declaring arrays.

    private static final String[] DEFAULT_INCLUDES =
    {
        "**/*.properties"
    };

Ideally this would stay on one line. That's not currently possible.
Comment 1 Jan Becicka 2008-11-14 11:06:42 UTC
Will resolve later
Comment 2 Quality Engineering 2009-11-02 11:00:55 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX