系统:windows7+sublime3
1、安装sublimelinter
ctrl+shift+p=>pi=>回车=>sublimelinter=>回车
2、安装好后进行配置
Prefercences=>Package Settings=>SublimeLinter=>Settings
找到本地计算机中php的安装目录,然后配置到paths中
// SublimeLinter Settings - User { "paths": { "linux": [], "osx": [], "windows": [ "D:\wamp64\bin\php\php7.0.23\" ] } }
3、配置好后即可在php中看到相应的错误标识
完成!