You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the piece of data got from server was: 'textEdit': {'range': {'end': {'character': 7, 'line': 35}, 'start': {'character': 7, 'line': 35}}, 'newText': 'After(d)'}
i think After(d) of 'newText' was wrong, it should be After(${1:})
// usePlaceholders is false as its default value.
The text was updated successfully, but these errors were encountered:
Shane-XB-Qian
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Sep 19, 2023
Thanks, I believe this is a dupe of #62676<#62676>.
This is indeed a bug in unimported completion.
not sure if exactly same case,
I think it was not didn't respect useplaceholder (false) option,
but code bug which left var name chars which just removed type name chars from placeholder.
gopls version
What did you do?
1, type
time.
2, then chose
After
What did you expect to see?
time.After()
What did you see instead?
time.After(d)
Logs
the piece of data got from server was:
'textEdit': {'range': {'end': {'character': 7, 'line': 35}, 'start': {'character': 7, 'line': 35}}, 'newText': 'After(d)'}
i think
After(d)
of 'newText' was wrong, it should beAfter(${1:})
//
usePlaceholders
is false as its default value.The text was updated successfully, but these errors were encountered: