vscode-phpcs icon indicating copy to clipboard operation
vscode-phpcs copied to clipboard

Add support for onSave

Open BirkAndMe opened this issue 7 years ago • 2 comments

It would be great to have an option, to run phpcs on save. So the phpcs.enable worked the same way as php.validate.run

BirkAndMe avatar Aug 01 '18 07:08 BirkAndMe

I was just about to raise an issue for the same request. I think this would be a really useful setting for people. It can be a little annoying seeing the code highlighted as breaking the standards when you're halfway through typing something out.

drmonkeyninja avatar Aug 01 '18 11:08 drmonkeyninja

It looks like there is already a merge request for this: https://github.com/ikappas/vscode-phpcs/pull/116.

drmonkeyninja avatar Aug 01 '18 11:08 drmonkeyninja