Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:35 Go to next message
Ciaro  is currently offline Ciaro Friend
Messages: 3
Registered: December 2010
Junior Member
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] Tue, 14 December 2010 01:04 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
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 10:23 Go to previous messageGo to next message
Ciaro  is currently offline Ciaro Friend
Messages: 3
Registered: December 2010
Junior Member
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] Wed, 15 December 2010 03:06 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>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 10:35 Go to previous messageGo to next message
Ciaro  is currently offline Ciaro Friend
Messages: 3
Registered: December 2010
Junior Member
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 12:50 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
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: Thu Mar 28 11:54:19 GMT 2024

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

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

Back to the top