Finally found this solution on Stackoverflow, it works for me.
1. Open file .buildpath in project root path.
2. Add following lines if there is no <buildpath> section:
<buildpath>
<buildpathentry kind="src" path=""/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
</buildpath>
3. If there is <buildpath> already, just add this line:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
4. Restart Eclipse.
source link:
http://stackoverflow.com/questions/1232647/code-completion-assist-for-built-in-php-functions-in-eclipse-pdt
No comments:
Post a Comment