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
I am using vim withthe latest version of YouCompleteMe which I believe uses gopls under the hood. I would like to verify the following using the gopls cli but have not been able to figure out how to get autocomplete suggestions with the cli. Direction there would be appreciated as it would likely help narrow down if this is actually a gopls issue or a you complete me issue.
When autocompleting on empty struct literals
When populating an autocomplete list inside an empty struct I get the same autocomplete recommendations as outside the struct (all available identifiers):
What did you expect to see?
The list restricted to only the fields of the struct: Asdf, and Qwer in the above case
More info
When the struct literal has any token in it, even if that token is not a valid member, I do see the autocomplete suggestions as desired
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Apr 23, 2021
What version of Go are you using (
go version
)?go version go1.14.4 darwin/amd64
Does this issue reproduce with the latest release?
yes, did a fresh you complete me install
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am using vim withthe latest version of YouCompleteMe which I believe uses gopls under the hood. I would like to verify the following using the gopls cli but have not been able to figure out how to get autocomplete suggestions with the cli. Direction there would be appreciated as it would likely help narrow down if this is actually a gopls issue or a you complete me issue.
When autocompleting on empty struct literals
When populating an autocomplete list inside an empty struct I get the same autocomplete recommendations as outside the struct (all available identifiers):
What did you expect to see?
The list restricted to only the fields of the struct: Asdf, and Qwer in the above case
More info
When the struct literal has any token in it, even if that token is not a valid member, I do see the autocomplete suggestions as desired
The text was updated successfully, but these errors were encountered: