Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370074 - Namespace's inner types aren't shown
Summary: Namespace's inner types aren't shown
Status: REOPENED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-29 12:05 EST by itay friedman CLA
Modified: 2020-05-14 10:17 EDT (History)
3 users (show)

See Also:
jacek.pospychala: iplog+


Attachments
example test (359 bytes, application/octet-stream)
2012-01-29 12:05 EST, itay friedman CLA
no flags Details
updated example test (351 bytes, application/octet-stream)
2012-02-01 09:35 EST, itay friedman CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.