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
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: