bpearson / atom-phpcs

PHP CodeSniffer package for Atom editor
MIT License
6 stars 1 forks source link

Suggestion: run on save #13

Closed lukasoppermann closed 8 years ago

lukasoppermann commented 8 years ago

It would be nice to add an option to run the codesniffer on save.

bpearson commented 8 years ago

It does?

lukasoppermann commented 8 years ago

Ahh, true, it does not say so anywhere and if you have a line highlighted and hit save, you have to move to a different line and back to see the message at the bottom appear. (Just figured this out).

Maybe you could state that it runs on save, just to make it obvious. :-)

bpearson commented 8 years ago

https://github.com/bpearson/atom-phpcs/issues/15

Docs are lacking (I'm terribad at writing docs), open to suggestions/PRs etc.