Home Download Buy Blog Forum Support

php syntax checker, php build

Re: php syntax checker, php build

Postby aparajita on Sat Oct 15, 2011 9:41 pm

roman wrote:Is in Sublime editor php syntax checker? can this function be done somehow? Can it be done with setting up new build option and if so, how to do that?


Try the SublimeLinter plugin, it has php syntax checking either interactively, on load/save or on demand.

https://github.com/Kronuz/SublimeLinter or you can install it via the Package Control plugin.
aparajita
 
Posts: 177
Joined: Sun Jul 24, 2011 10:42 pm

Re: php syntax checker, php build

Postby NiPh on Sat Oct 15, 2011 10:59 pm

NiPh wrote:
jasondavis wrote:I am wanting to run the example code
But that gives errors when I try to build any file...please help


Maybe it's too old theme, but i beleve i'll help someone )
So the code is
Code: Select all
{
    "cmd": ["C:\\Program Files (x86)\\Zend\\ZendServer\\bin\\php.exe", "-a", "$file"],
    "selector": "source.php"
}


"cmd": ["C:\\Program Files (x86)\\Zend\\ZendServer\\bin\\php.exe", "$file"]

And better to remove -a, because some troubles with autoload begins )
NiPh
 
Posts: 2
Joined: Sat Oct 15, 2011 7:55 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 33 guests