Code Assist Missing from PHP Eclipse

This happened just recently. After upgrading from the old PHP Eclipse into Eclipse Luna PHP version, my code assist got screwed up. Searching online has also been a headache. As the projects were brought in using subversion (SVN), code assist did not exist in those projects.


Here were some solutions mentioned

One have to create a new PHP Project first then only import from SVN to enable the code assist.

Tedious. The process of import and backup those not in the project scope.

Some mentioned to enable PHP Support by Right Clicking the Project > Configure > Add PHP Support.

This option in the new Luna Eclipse has already been enabled by default. So it is now greyed out

Towards the end, finally the solution was more or less due to the .buildpath file. Just do the following to finally enable your code assist on your PHP Eclipse.

 Right Click your project and go to Build Path > Configure Build Path


 Click the Add Folder. Add the project.


If code assist still does not exist. Go to your project folder and open the .buildpath file using a word editor like notepad. Add the following into the file.

<?xml version="1.0" encoding="UTF-8"?>
<buildpathentry kind="src" path=""/>

<!-- Add this line below -->
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>

After doing so, your project should now have code assist. Do drop me a line though if it does not work.

Leave a Reply