| Summary: | Feature Request (Templates): Proposals on an assignment | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Johannes Lerch <lerch> |
| Component: | Recommenders | Assignee: | Marcel Bruch <marcel.bruch> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | marcel.bruch |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Johannes Lerch
I see that "final Button b" is given in completionNodeParent() and getExpectedType() is correctly set. But the receriverName is empty and receiverType is null. The second one is not problem but will the receiverName be available from the context? code completion is not triggered on any "name". If I would assume that "b" is the receiver name I would exclude any other statements like method returns as in chain completion would return. I guess you have to take this information from the LocalDeclaration or its superclass AbstractVariableDeclaration. FWIW, getCompletionNodeParent() now contains the information about the assignment, i.e., "final Button b = <CompleteOnName:>;" We should keep this in mind when updating the template completion during M6. Setting the status to new again as there has been no progress for a year. Stefan, if you would like to migrate the template completion for M6 and fix this issue please reassign it to you. Thanks, Marcel Closing as wont fix as there is no one working on this one and we have no plans to support it in 2.x yet. |