benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
812 stars 126 forks source link

Toggle plugin via command palette #73

Closed benmatselby closed 11 years ago

benmatselby commented 11 years ago

From GH-58:

---8<--- It would be awesome if I could enable/disable the phpcs_execute_on_save option via the CMD-SHIFT-P feature. This plugin is awesome for working with newer PHP projects, but it's really annoying when making tweaks on old projects. I'm using this plugin to ensure PSR-2 compatibility...and my older projects are anything but, and I don't plan on converting them.

I was thinking this option could read: PHP Code Sniffer: Toggle Execute On Save. ---8<---

benmatselby commented 11 years ago

This is now in the master branch.

reinink commented 11 years ago

@benmatselby Thanks a lot for adding this. Makes jumping between new PSR2 compatible projects and my old projects much easier. Keep up the excellent work.