I am using ST3 on a PHP script file.
The lower left corner indicates I have "1 error" somewhere in the script.
How can I locate where the error is and what it is?
Note: the "Line 612, Column 13" simply tells me where the cursor is at this moment. It is not where the error is located.
参考此问题以安装SL PHP lint插件,它将告诉您错误在哪里
Use SublimeLinter-php , This plugin provides an interface to php -l
. It will be used with files that have the “PHP”, “HTML”, or “HTML 5” syntax.
Usage Example
There is also Javascript , JSON and CSS versions
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.