ikappas / vscode-phpcs

PHP CodeSniffer for Visual Studio Code
MIT License
128 stars 56 forks source link

Add 'Sniff this file' and 'Clear sniff marks' commands #114

Open dhavalgshah opened 6 years ago

dhavalgshah commented 6 years ago

A lot of times I would simply want to disable phpcs across the project because reasons mentioned in #113 .

Having two commands in command pallete would certainly be helpful:

  1. PHPCS: Sniff this file This should take currently viewed file, process it through phpcs, and show sniff marks based on phpcs output.
  2. PHPCS: Clear sniff marks Sometimes you just want to clear sniff marks because you are in a zone and want to finish what you are doing before thinking about formatting and stuff.