i can do that with my eclipse...

but i've got an idea:
if your code completion does not work eather it might be a wrong or missing entry in the .buildpath or .project file.
it might have something to do with that.

go to your projectfolder (with the explorer, eclipse wont show these files) and open the .project file.
the important part is unter the <natures> node if there is no such subnode as <nature>org.eclipse.php.core.phpnature</nature> add it, restart your eclipse and try again.
in case that file is completely missing just add it, here is how mine looks:

<?xml version="1.0" encoding="utf-8"?>
    <name>project name</name>

if that didn't help open the .buildpath file, it should look something like this:

<?xml version="1.0" encoding="utf-8"?>
    <buildpathentry kind="src" path=""/>
    <buildpathentry kind="con" path="org.eclipse.php.core.language"/>

again restart eclipse and try again.

i hope that helped.


i fixed the problem installing the plugin pdt:

help -> install new software ->

i hoped that i could have helped you.


this answer provided by kepler may resolve the issue.

according to this external article, removing files under workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2 will reset the database that stored the jump information.


as you have java projects, are you in php perspective or not ? if you have opened a php project and you are in java perspective, a lot of features won't work.

enter image description here

have you set a php executable ? if i remember it is not mandatory for eclipse, but it is useful for the feature you want.

menu > window > preferences > php > php executables

check this link if you have imported an old project : ctrl+click (php code hyperlink detector) and content assist do not work in php project. (create a new workspace where you copy your project).

have you checked if your project is present in php build path ?

right-click on your project > properties > php build path

Related Query

More Query from same tag