ActiveState Powered by ActiveState

ActiveState Community


Syntax checking not working

Posted by chrisincambo on 2008-07-15 23:16

I have a 'relatively' clean install of Ubuntu 8.04, and have installed Komodo 4.4.1 without incident, what is there seems to be working fine but I seem to be missing some features.

The syntax checking is working for every language except PHP and JavaScript, I don't use PHP so this isn't a problem, but for JavaScript it is.

I've already search google and these forums and can't find anything on the subject.

Does anyone have any idea's?

chrisincambo | Wed, 2008-07-16 00:52

To make things even more strange, I see that there is a single warning that works for JavaScript:

"Strict Warning: anonymous function does not always return a value"

But still no errors how ever hard I try. I even tried rolling back to libstdc5 and installing Komodo-IDE-4.4.1-20896-linux-libcpp5-x86, but same thing there also.

ToddW | Wed, 2008-07-16 09:57

I believe the JavaScript syntax checker that is used by Komodo aborts after finding the first error or warning, thus later errors/warnings in the file will not be shown.

After fixing the above warning, you should see the next warning further into the file.

Cheers,
Todd

chrisincambo | Wed, 2008-07-16 17:58

Thanks Todd I'll give it a try.

-->