Reputation: 8116
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.
Upvotes: 0
Views: 386
Reputation: 1764
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
Upvotes: 1
Reputation: 2639
refer to this question to install SL PHP lint plugin, it will tell you where the error is
Upvotes: 1