Cannot find wrap function call arguments if multiline?

Answered

PhpStorm 2018.2.3.

I'd like to have expected formatting from:

$foo->bar(1, 2,
3);

to

$foo->bar(
    1,
    2, 
    3
);

It means if it becoming a multi-line arguments call, each argument should be on a separated line.

Is this configuration gone?

Now we have only these options, but they cannot cover such case. It was definitely working before.

2 comments

Hm, those options exactly are working fine in 2018.2.5:

 

Edit: I got this pop up via Find Action (Ctrl+Shift+A) > Adjust code style settings

0

Yeah, correct.

That's working! Thanks!

1

Please sign in to leave a comment.