I have been playing with this for over an hour to get the sublimelinter working.
So I now have the following packages installed:
SublimeLinter
SublimeLinter-php
SublimeLinter-phplint
Does someone know why it still does not lint the PHP I write?
I am working on Windows and cannot find any docs relating to sublime 3 and windows.
The console reads:
SublimeLinter: cannot locate 'phplint'
SublimeLinter: cannot locate 'php'
I had the same problem and FINALLY figured out, how to get SublimeLinter to work in SublimeText 3. After installing
SublimeLinter
andSublimeLinter-php
it kept telling meSublimeLinter: cannot locate 'php'
. (No surprise, PHP isn't in myPATH
on purpose).After adding the path of my PHP installation to the SublimeLinter User Settings (Preferences -> Package Settings -> SublimeLinter -> Settings - User), and a restart of SublimeText everything is working as expected now.
Here is the relevant part:
I didn't have to change anything else.