| Summary: | [content assist] Can't find JSDoc for type name proposals with '.' in the qualified name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Nitin Dahyabhai <thatnitind> | ||||
| Component: | General | Assignee: | Nitin Dahyabhai <thatnitind> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun | ||||
| Version: | 3.2.2 | Flags: | cmjaun:
review+
|
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nitin Dahyabhai
Created attachment 179078 [details]
proposed patch
What scenario triggers this? I'm not sure how to test this one out, though the fix itself looks fine. If we have a type named "foo.bar" and we attempt to do content assist for allocation, the proposal for "bar" can't find its doc because we don't have an a type in the model simply named "bar". Since the proposal includes the full name, "foo.bar", it tries to use that as a fallback type name should the name in the signature not be found. Applied to HEAD. Checked into 3.2.3 and HEAD. |