I've been trying to setup SublimeLinter (Mac) but something must be going wrong as the php lint simply doesn't work. I've installed and removed the package many times, tried to add/remove support for php following different tutorials I've found but none worked. I thought Sublime packages were straight forward as installing and using. Am I missing something?
How to setup SublimeLinter for mac
Asked Answered
I believe Sublime sets the syntax of PHP to HTML by default. Change the syntax to PHP if you want it to lint as PHP.
© 2022 - 2024 — McMap. All rights reserved.
ctrl + backquote
) Is it just PHP linter that isn't working or is it all of them? I believe the Python one is built in, so you may want to try that. You can at least narrow down if it is the linter itself, or if it is php specific. – LoaiasisSublimeLinter: css enabled (using JavaScriptCore) SublimeLinter: html disabled (tidy is not ready for HTML5)
and nothing else. Any ideas on how to enable for js and php? – Chromolithographyphp -l
from the terminal, I believe the linter should work also. – Loaiasis