x/tools/gopls: completing inside new()
suggests keywords first
#40274
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Completing inside
new()
should offerint
first, but it instead offerschan
,func
,map
, and thenint
.Probably
addKeywordCompletions
shouldn't add keyword type name candidates if there is already an expected type (int
is the expected type in the above example).The text was updated successfully, but these errors were encountered: