Is Komodo supposed to be highlighting syntax errors in PHP code?
If yes, how does one turn that on - or am I seeing some kind of bug.
For example given the following should I see anything special on the line with the error?
<?php print 'this bit is valid code'; blah blah blah print 'and here is more valid code'; ?>
If I should see something I don't (see attached)
| Attachment | Size |
|---|---|
| Snap1.jpg | 11.54 KB |
Do you have PHP installed locally? Komodo uses your PHP installation to do syntax checking, so you will need to both install PHP and, in Komodo's preferences at
Edit / Preferences / Languages / PHP
...tell Komodo where php.exe is. For more on this:
http://docs.activestate.com/komodo/5.2/prefs.html#PHP
--
JeffG
http://www.openkomodo.com/blogs/jeffg
Awesome - thanks.
Ah... I thought all that was just for debugging not for the errors to highlight.
I did happen to have PHP installed locally on this test box (don't normally) I just had to update the prefs to tell Komodo where it is. All working now. Cheers.
Fair Winds
... and watch for squalls from leeward