My eclipse has no PHP core code completion functionality. I tried with new downloads, no chance.
How to add the Php Language Library?
edit to add: this occurred on an existing project which was messed up in the beginning
Enabling the validation didnt work for me.
I fixed it by ensuring that I have a .buildpath
file in my project's root folder.
the file looks like that:
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry kind="src" path=""/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
</buildpath>
specifically adding this part does the job.
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
I wasn't able to find a UI based solution (even with 3-20) - directly modifying the file worked for me