x/tools/gopls: take address automatically for completion candidates #36132
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
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: