i downloaded yersterday the eclipse-php-galileo-win32.zip and installed
it. Then I made istallation of site-188.8.131.52.zip for svn. I checked out a
project. Everything cool. But then I donŽt have any php functions. Not i
the view or even on strg+space. Also strg+mouseover donŽt tell me where my
functions are. I lost one day on trouble. I don`t find anything. Please
My PHP Functions view is empty too, which is a shame. I have tried reinstalling different versions of Eclipse and even manually installed the PHP-related packages in Eclipse's software update management system.
But still no PHP Functions view. Is anyone able to help?
By the way, I am using Mac OS X 10.5.7 on a MacBook Pro.
Edit: I'm using Eclipse for PHP Developers. Build id: 20090619-0625.
This has to do with the .project file and it being ignored by SVN. To see
what I mean, open a terminal window and browse to a PHP project that's
been checked out of SVN. Look at the content of the .project file (cat
project). Now go back to Eclipse and start a new PHP project. Switch back
to the terminal window and look at the .project file for the new project.
See the difference?
Usually, your SVN plugin (I'm using Subversive) will ignore the .project
file so it doesn't get uploaded to your repository when you commit. This
means that if you checkout a PHP project for the first time in your
workspace, the .project file is absent and I guess Eclipse creates one
from scratch. I think it's not smart enough to recognize it as a PHP
project and therefore creates a generic .project file that doesn't connect
to the right PDT plugins. That's my take on it anyway.
I usually manually edit the .project file to the proper format as a
workaround. I keep feeling there has got to be a better way to do it
Here is the complete list of steps to work around this problem:
1) From Eclipse, create a new PHP project, including a new PHP file within
2) From a terminal, copy the .project file from the newly created project
to all checked-out projects. Manually edit the copied .project files to
reflect the proper project name (between the <name></name> tags).
3) Copy the .buildpath file from the newly created project to all
checked-out ones. Manually edit the copied .buildpath files to reflect
your environment (I don't use this personally so you'll have to figure it
4) Copy the .settings/ folder from the newly created project to all
checked-out ones. In the folder is a file named
org.eclipse.php.core.prefs. Manually edit this file for all checked-out
projects to reflect the proper project include path (after the
include_path= make sure you have 0;<your include paths separated by
semi-colons> so it looks like this: include_path=0;<your path 1>;<your
path 2> )
5) Restart Eclipse.
Hope that helps. Hope also that someone would tell me a better way to do