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 271096

Summary: Group Assignment Multiline Alignment doesn't work
Product: php Reporter: harunaga
Component: CodeAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: my log message file

Description harunaga 2017-07-14 05:10:45 UTC
I have the following code block after formatted:
class A extends B
{
    protected $arr  = ['a'    => 1,
        'aa'   => 2,
        'aaa'  => 3,
        'aaaa' => 4,];
    protected $arr1 = ['a' => ["apple",
            "banana",
            "orange",
            "watermelon",],
        'b' => ['b',],];

}


in PHPStorm it will becomes

class A extends B
{
    protected $arr  = ['a'    => 1,
                       'aa'   => 2,
                       'aaa'  => 3,
                       'aaaa' => 4,];
    protected $arr1 = ['a' => ["apple",
                                "banana",
                                "orange",
                                "watermelon",],
                       'b' => ['b',],];

}


It looks much more smarter.
How to do with Netbeans. I try some search but no luck. Does Netbeans support that ? It would be appreciated because I love Netbeans so much.

JDK: 
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
OS: window 7 Pro 64 bit - japanese
Comment 1 harunaga 2017-07-14 05:24:04 UTC
Created attachment 164766 [details]
my log message file