检查文件.buildpath

<?xmlversion="1.0"encoding="UTF-8"?><buildpath><buildpathentrykind="src"path="mysourcepath"/><buildpathentrykind="con"path="org.eclipse.php.core.LANGUAGE"/><buildpathentryexternal="true"kind="lib"path="C:/software/eclipse/ide-stubs-master3.3/src/Phalcon"/></buildpath>

看看是否包含了你的代码目录;

看看是否包含了第三方库的目录,如thinkphp的目录,phacon声明文件目录等;

另外,看看是否有如下定义:

<buildpathentrykind="con"path="org.eclipse.php.core.LANGUAGE"/>

没有就加进去。