score:0

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"?>
<projectdescription>
    <name>project name</name>
    <comment></comment>
    <projects>
    </projects>
    <buildspec>
        <buildcommand>
            <name>org.eclipse.wst.common.project.facet.core.builder</name>
            <arguments>
            </arguments>
        </buildcommand>
        <buildcommand>
            <name>org.eclipse.wst.validation.validationbuilder</name>
            <arguments>
            </arguments>
        </buildcommand>
        <buildcommand>
            <name>org.eclipse.dltk.core.scriptbuilder</name>
            <arguments>
            </arguments>
        </buildcommand>
    </buildspec>
    <natures>
        <nature>org.eclipse.php.core.phpnature</nature>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
    </natures>
</projectdescription>


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

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

again restart eclipse and try again.

i hope that helped.

score:0

i fixed the problem installing the plugin pdt:

help -> install new software -> http://downloads.zend.com/pdt

i hoped that i could have helped you.

score:0

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.

score:1

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