x/tools/gopls: take address automatically for completion candidates #36132
Labels
Comments
Change https://golang.org/cl/212399 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In cases like:
You don't get the desired candidate "&myImpl" because we don't automatically take a reference for completion candidates. I propose we count "myImpl" as a matching candidate and automatically include an additional edit to prepend the "&" reference operator. That way you can start typing "my<>" and complete straight to "&myImpl".
The text was updated successfully, but these errors were encountered: