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 244826

Summary: Split braces formatting settings for if and else(if)
Product: php Reporter: SvSerg
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description SvSerg 2014-05-31 10:44:12 UTC
Hello,
Thank you for a quality product.
Could you in Settings> Editor> Formatting to format code to do "if" and "Else, elseif" separately. In order to be able to format code as follows:
http://screencast.com/t/aEbHqSZQ9g
if (true)
{
    // ...
} else (OR) elseif { <----
    // ...
}
http://screencast.com/t/cr5MYEzBU

This is an important detail, and many programmers use this style. 
Really miss this option.

-------------------------
My Regard
Sergey Sarayev

Product Version = NetBeans IDE 8.0 (Build 201403101706)