Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332446

Summary: [PHP 5.3] Namespaces defined in Include Path are not recognized
Product: z_Archived Reporter: Ciaro <ciaro>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED WORKSFORME QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ciaro CLA 2010-12-13 10:32:19 EST
Build Identifier: 20100917-0705

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

* Errors seem to be fixed in Helios Service Release 1, but PDT is still lacking autocomplete in the context stated above...

Reproducible: Always

Steps 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.
Comment 1 Ciaro CLA 2010-12-14 05:19:45 EST
Tested in M201010110334, same behavior...
Comment 2 xu jiaxi CLA 2010-12-15 00:23:23 EST
I tested it in the HEAD code, it works fine.
What's your project version?
Did you set the PHP Interpreter to PHP 5.3?
Comment 3 Zhongwei Zhao CLA 2011-05-11 03:35:28 EDT
works for me
Comment 4 Kalin CLA 2011-08-02 10:38:17 EDT
No longer reproducible.
Closing...