Page 1 of 1
PHP syntax errors highlights
Posted: Sun Feb 02, 2020 12:39 pm
by McSeem
CodeLite 13.0.7 doesn't highlight syntax errors in PHP projects. PHP linter is enabled and it's check configured on file save event. I use Ubuntu 18.04.3 with KDE desktop environment manually installed. But in GNOME Shell (pre-installed in Ubuntu 18.04.3) errors highlight doesn't work also.
On my another machine (Kubuntu 18.04.3) it work fine. What's the problem?
Re: PHP syntax errors highlights
Posted: Sun Feb 02, 2020 11:15 pm
by eranif
IIRC, the errors are maked using phplint
Make sure its install and configured in CodeLite properly:
From the menu bar:
PHP -> Settings -> General -> PHP executable : make sure you have a working PHP here
From the menu bar:
Plugins -> PHP Linter -> Settings
Make sure that 'Lint on file' save is enabled
Re: PHP syntax errors highlights
Posted: Fri Jul 24, 2020 2:22 pm
by kur-ka
Does not work either on 14.0.0.
eranif wrote: ↑Sun Feb 02, 2020 11:15 pm
PHP -> Settings -> General -> PHP executable : make sure you have a working PHP here
Make sure that 'Lint on file' save is enabled
Both above are enabled.
Lint current source does not make anything happen.
What are paths "Mess detector", "Sniffer", "Stan" for?
--
Update
Only auto-check on save/load works: a red arrow with an error description appears in the line-numbers bar.