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 - Split braces formatting settings for if and else(if)
Summary: Split braces formatting settings for if and else(if)
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-31 10:44 UTC by SvSerg
Modified: 2014-06-02 07:39 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 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)