deakjahn / vscode-php-allfactor

Comprehensive PHP refactoring (Visual Studio Code)
https://marketplace.visualstudio.com/items?itemName=tramontana.php-allfactor
1 stars 0 forks source link

`Wrap in block` does not respect indenting of the original block #6

Open AndreiOrmanji opened 1 year ago

AndreiOrmanji commented 1 year ago

Selected range: image

Actual result: image

Expected result: image

deakjahn commented 1 year ago

I really can't see what your intention was here, you can't put a block inside the argument list of a call. :-)) I'm not yet entirely convinced that it should be the task of this extension to disable any operation that leads to syntactically invalid code.