2016-06-25 6 views
1

PhpStormは、ブラケットを配列から整列させています。PhpStorm内の配列ブラケットの整列を停止する

DB::table('something')->create([ 
            'title' => 'John', 
            'description' => 'Doe', 
           ]); // I don't want to align this. 


DB::table('something')->create([ 
    'title' => 'John', 
    'description' => 'Doe', 
]); // I want it like this. 

ここで私はSettings/Preferences > Editor > Code Style > PHPを変更しますか?

答えて

2

最後にこれを理解しました。

[設定]> [エディタ]> [コードスタイル]> [PHP]> [折り返しと中括弧]に移動します。 Function call argumentsの下のAlign when multilineのチェックを外します。

PhpStorm Preferences Screenshot

関連する問題