I'm starting to use Eclipse with PDT and one thing that immediately
struck me is that the supposed syntax error checking is having some
problems. It's finding errors where there are none, and nothing I've
done has been able to get them to go away.
I've been able to get the red underlines to go away (via "report as you
type") but I can't get the red Xs in the sidebar (or the PHP Explorer)
to disappear. Here's an example of code it claims to have syntax errors:
(errors supposedly found on each line but the first one)
<?php
class Expo_Acl extends Zend_Acl {
public function __construct() { }
}
(Note that this syntax is correct, it works properly when executed, and
everything else is peachy... but PDT seems to think that there's
something horribly wrong with it)
I'm sure there's something I've done wrong here, but at this point I
really would just like to turn syntax checking off because it doesn't
seem to work very well with Zend Framework anyway. If there's a way to
get it working that would work as well. Any help would be appreciated.
-Pete