PHP Code Navigation in eclipse PDT

I just checked out a PHP project (SAHANA), opened it in eclipse PDT, and found out that the code navigation is not working. I couldnt view a function’s code by just ctrl+click ing on the function call.

Asked Ravindra and this is the solution he gave me.

What I did was just created a new dummy PHP project named test in eclipse,

got the .project file which was generated in the project folder (test) and copied it over the .project file I had in the project (sahana).

Opened up the newly copied .project (in sahana) and edited the <name></name> to match the name of the project (say sahana-phase 2).

Closed and re-opened eclipse.

BINGO!!! now I have code navigation.


2 thoughts on “PHP Code Navigation in eclipse PDT

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s