sorry for reopen an old post.
This is the only one I've find about using code sniffer inside Sublime Text.
I've tried this plugin, but don't woks.
I've created a Phpcs folder inside Packages and phpcs.py with the code
def run(self, view, args):
cmd = "phpcs --standard=Joomla " + view.fileName()
view.window().runCommand("exec", "", cmd])
Each time I tried to use it I receive this by console
Traceback (most recent call last):
File "./sublime_plugin.py", line 351, in run_
TypeError: run() takes exactly 3 arguments (2 given)
I'm not python programmer, so I haven't find a solution by myself neither google.
I use the Joomla standard and have checked the command works in my console. I'm running kubuntu 11.10 with python 2.7
Some one can help me? thanks