Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized?
icon5.gif  [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #644307] Fri, 10 December 2010 08:35 Go to next message
Eclipse UserFriend
It seems to me (or am I missing something?) that namespaces defined in an external library (referred in PHP include path) are not recognized by Eclipse PDT, giving errors and warnings and no autocomplete capabilities...

How to reproduce?

Grab a copy of the Lithium PHP 5.3 framework (http://www.lithify.me) and include the 'libraries' directory as an external source.

Re: [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #644733 is a reply to message #644307] Mon, 13 December 2010 20:04 Go to previous messageGo to next message
Eclipse UserFriend
I have to say "Try latest build M201010110334".
PHP Development Tools (PDT) - Downloads
or UpdateSite http://download.eclipse.org/tools/pdt/updates/2.2/milestones
icon2.gif  Re: [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #644816 is a reply to message #644733] Tue, 14 December 2010 05:23 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for your reply.

Errors are gone, but autocomplete is still not available...

cfr. https://bugs.eclipse.org/bugs/show_bug.cgi?id=332446
Re: [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #644977 is a reply to message #644816] Tue, 14 December 2010 22:06 Go to previous messageGo to next message
Eclipse UserFriend
>Grab a copy of the Lithium PHP 5.3 framework (http://www.lithify.me) and include the 'libraries' directory as an external source.
And then I got auto-complete(content assist) for lithium. It works for me.
What's the situation/environment?
Are there lithium files under PHP Include Path in PHP Explorer?
Are there class information for the object variable in the script?
Re: [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #645041 is a reply to message #644977] Wed, 15 December 2010 05:35 Go to previous messageGo to next message
Eclipse UserFriend
http://www.freeimagehosting.net/uploads/d8f59e8bbb.png

vs

http://www.freeimagehosting.net/uploads/3e351a5b9f.png

Re: [PHP 5.3] [Bug?] Namespaces defined in Include Path are not recognized? [message #645057 is a reply to message #645041] Wed, 15 December 2010 07:50 Go to previous message
Eclipse UserFriend
Hum... It's curious.
I'm sorry but I have no idea. The only difference may be the drive letter. Both workspace and lithium are in C drive in my case. I cannot test them separated.
http://www.freeimagehosting.net/uploads/cd4f586ca9.png
Previous Topic:Issue with breakpoints when running as a web page
Next Topic:Working Sets - directories/files missing
Goto Forum:
  


Current Time: Sun Jul 06 04:34:05 EDT 2025

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

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

Back to the top