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.
Summary: | Source format removes braces | ||
---|---|---|---|
Product: | java | Reporter: | cezariusz <cezariusz> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | normal | CC: | giancarlolongo, sdedic |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
cezariusz
2015-05-08 15:55:45 UTC
(In reply to cezariusz from comment #0) > it's not fit our coding style. I mean it doesn't follow our coding style. This behavior can be customized in Options -> Editor -> Formatting -> Braces -> Special If-else treatment (In reply to Jiri Prox from comment #2) > This behavior can be customized in Options -> Editor -> Formatting -> Braces > -> Special If-else treatment If you deselect "Special If-else treatment" braces will not removed, but "else if" will be break into two lines. This behaviour did not happen in past verions of NB, like v7: braces were never removed. Probably caused by http://hg.netbeans.org/jet-main/rev/4632127cda3e |