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

Bug 370074

Summary: Namespace's inner types aren't shown
Product: z_Archived Reporter: itay friedman <itay.f>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: jacek.pospychala, silviya, zulus
Version: unspecifiedFlags: jacek.pospychala: iplog+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
example test
none
updated example test none

Description itay friedman CLA 2012-01-29 12:05:58 EST
Created attachment 210245 [details]
example test

When creating a namespace myNS which contains inner types,
they are not shown in the content assist when typing use myN|

example test attached produces:

junit.framework.AssertionFailedError: 
EXPECTED COMPLETIONS LIST:
-----------------------------
type(One)
type(One\Agree)
type(One\D)

ACTUAL COMPLETIONS LIST:
-----------------------------
type(One)
Comment 1 itay friedman CLA 2012-02-01 09:35:21 EST
Created attachment 210371 [details]
updated example test

Attached is an updated test which has modifications in the desired results section.
These modifications are important since they're based on better practice.
Comment 2 Zhongwei Zhao CLA 2012-02-06 22:59:46 EST
fixed
Comment 3 Sylvia Tancheva CLA 2012-07-06 10:55:38 EDT
Current situation:
--EXPECT--
type(One)
type(Agree)
type(D)

--ACTUAL--
--EXPECT--
type(One)
type(Agree)

Reopen
Ilina Stefanova
Comment 4 Dawid Pakula CLA 2016-06-01 08:24:14 EDT
I think current results are correct.

PDT complete classes that contact prefix "On" (empty results) and namespaces that starts with "On" prefix. After complete user is able to rerun CA and select Trait or Class.

Only think that should be improved is auto-run CA after complete namespace.

So, when PDT complete with "\" on the end, PDT should recompute CA.