| Summary: | Namespace's inner types aren't shown | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | itay friedman <itay.f> | ||||||
| Component: | PDT | Assignee: | PHP Core <php.core-inbox> | ||||||
| Status: | REOPENED --- | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | jacek.pospychala, silviya, zulus | ||||||
| Version: | unspecified | Flags: | jacek.pospychala:
iplog+
|
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
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.
fixed Current situation: --EXPECT-- type(One) type(Agree) type(D) --ACTUAL-- --EXPECT-- type(One) type(Agree) Reopen Ilina Stefanova 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. |
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)