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/cmd/gopls: Autocomplete shows irrelevant members #34134
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here. |
One more screenshot: Logs:
|
Is this code inside a |
Hi Rebecca, Yes, it is indeed inside of -- I have subscribed that issue now. |
Perfect, I'll close this as a duplicate for now. Once https://go-review.googlesource.com/c/tools/+/193997 is merged this will be resolved. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputNote: In vscode, GO111MODULE is on. Outside of vscode, its gopath-ed.
What did you do?
Trying to autocomplete any object, class or method.
What did you expect to see?
When I type a struct, I should gets its own members only.
What did you see instead?
Everything.
Screencast:
In
gopls
logs i see those lines:The text was updated successfully, but these errors were encountered: