If you are new to Eclipse PDT and find that code assist or the PHP Manual (Shift+F2 or Open PHP Manual) are not working for a particular project, check that you have a file named .buildpath in the root of your project.
If there is nothing there, try creating a new project (File / New / PHP Project) grab the file from there and copy it into your existing project.
Alternatively just paste in the following:
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry kind="src" path=""/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
</buildpath>
I have .buildpath in the root of the project, and shift+F2 still doesn’t work.
Same here. It just stopped working and i have no idea why?
I’ve written an article on how to solve this issue at Every Possible Way to Solve Eclipse Content Assist Failures! It should help you solve your problems. If not create a comment and I’ll be sure to look into it.