CodeSniffer should be integrated into "Hints" (or similar) so that style violations are detected on the fly and no manual inspection is necessary. I think this would help a lot to make Netbeans up to par with other IDEs
If I can help to make this happen, please let me know...
Ondro, do you think it is doable?
I don't think that it's a good idea. Running external tool after almost every keystroke is not good imho...
I thought so... Even on file save, it would be bad from performance point of view (but still much better than on each keystroke).
No easy way to this -> P4, sorry.
> I don't think that it's a good idea. Running external tool after almost every keystroke is not good imho...
well, it works pretty well in Emacs with flycheck (https://github.com/flycheck/flycheck) and phpstorm also supports on-the-fly checking with CodeSniffer:
> The on-the-fly code check is activated upon every update in the file thus making it extremely easy to get rid of problems reported by PHP Code Sniffer.
I'm a bit sad to see that reaction because it's really important in our workflow to have immediate feedback from CodeSniffer.
Maybe I can implement it myself? Where can I get some guidance to do that?
(In reply to lordnelson from comment #4)
> Maybe I can implement it myself? Where can I get some guidance to do that?
Sure, you can! Perhaps you can start looking at . Ondra (on CC) will give you more advices.