Open contactjavas opened 6 years ago
Update 17 August 2018:
Ctrl S
) works now, it formats the codeautoSave
still doesn't format the codephpcbf.standard
to certain standard name (in my case, WordPress).phpcbf.standard
to phpcs.xml
or ./phpcs.xml
still doesn't work (doesn't format the document).
General Info
OS: Windows 10 Node: 10.8.0 NPM: 6.1.0 VSCode: Insiders build
Simple Description
I have read #21, and i think i should open separate issue.
So,
vscode-phpcbf
extension works well before 15 August 2018 and start to not working anymore after that. I did some trial and here is my conclusion:When does it not work?
"phpcbf.standard": "phpcs.xml"
or"phpcbf.standard": "./phpcs.xml"
"phpcbf.onsave": true
and"editor.formatOnSave": true
When does it work?
(Glad, i can still use this extension)
"phpcbf.standard": "WordPress"
. This works, but only if i useShift Alt F
(Format document) command. Simply saving the document won't format it automatically.