Hi
I have to edit a lot of php files and wanna enable auto format on save.
I am wondering if this closing , is correct and if not where to disable without disable adding , on closing on the line above?
Hello,
There are settings for that: php.format.rules.addCommaAfterLastArrayElement php.format.rules.addCommaAfterLastCallParameter https://docs.devsense.com/en/vscode/editor/customize-formatting#add-a-comma-after-the-last-function-call-parameters
php.format.rules.addCommaAfterLastArrayElement
php.format.rules.addCommaAfterLastCallParameter
I hope it helps.
Thanks