Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: fix autocompletion of structs in slices #33211

Open
WOo0W opened this issue Jul 22, 2019 · 1 comment

Comments

@WOo0W
Copy link

commented Jul 22, 2019

go version

go version go1.12.5 windows/amd64

gopls version

version v0.1.3, built in $GOPATH mode

On VSCode:
This seems OK (ctrl + space):
image

After deleted &cli.Command before Name:, press ctrl + space:
image

It will not show the completions of the struct. It should show completions like the first one.

@gopherbot gopherbot added this to the Unreleased milestone Jul 22, 2019

@gopherbot gopherbot added the gopls label Jul 22, 2019

@stamblerre stamblerre changed the title x/tools/gopls: Auto completion not working in this situation x/tools/gopls: autocompletion of structs in slices Jul 22, 2019

@stamblerre stamblerre changed the title x/tools/gopls: autocompletion of structs in slices x/tools/gopls: fix autocompletion of structs in slices Jul 22, 2019

@stamblerre

This comment has been minimized.

Copy link
Contributor

commented Jul 22, 2019

Thank you for reporting this issue. We will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.