Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » php functions empty
php functions empty [message #99934] Fri, 17 July 2009 10:13 Go to next message
Al Kativo is currently offline Al KativoFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

i downloaded yersterday the eclipse-php-galileo-win32.zip and installed
it. Then I made istallation of site-1.6.2.1.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
help me.

Cucu
Al
icon9.gif  Re: php functions empty [message #480075 is a reply to message #99934] Thu, 13 August 2009 17:05 Go to previous messageGo to next message
Simen Thorsrud is currently offline Simen ThorsrudFriend
Messages: 1
Registered: August 2009
Junior Member
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.

/ S

Edit: I'm using Eclipse for PHP Developers. Build id: 20090619-0625.

[Updated on: Thu, 13 August 2009 17:07]

Report message to a moderator

Re: php functions empty [message #483630 is a reply to message #480075] Wed, 02 September 2009 11:59 Go to previous messageGo to next message
Burt Crepeault is currently offline Burt CrepeaultFriend
Messages: 3
Registered: July 2009
Junior Member
Hi folks,

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
though...
Re: php functions empty [message #483640 is a reply to message #483630] Wed, 02 September 2009 12:29 Go to previous message
Burt Crepeault is currently offline Burt CrepeaultFriend
Messages: 3
Registered: July 2009
Junior Member
Correction to my last:

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
it.

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
out).

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
this...
Previous Topic:Creation of Element Failed
Next Topic:Eclipse 3.5 / PDT 2.1.0.v20090611 - missing PHP perspective
Goto Forum:
  


Current Time: Fri Apr 26 03:28:08 GMT 2024

Powered by FUDForum. Page generated in 0.02347 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top