简体   繁体   中英

How to identify where the “Error” is located in a script file using Sublime Text 3

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM