-
Notifications
You must be signed in to change notification settings - Fork 765
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
Can't autocomplete,gocode debug can't find import package #789
Comments
@MakeYuan-Driver Can you please share the output of Do you have the same issue if you turn on the language server? ( |
I have same problem when commenting this line if I enable this line & remove commenting it auto-complete the package itself but then shows can't find import package & can't auto-complete any of the functions inside this package |
@taman9333: Do you mind filing a new issue and filling out the issue template? It will be easier to help you that way. Also, please take a look at the troubleshooting instructions for the language server: https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md. |
Same issue, can't suggest methods from vendor packages. |
@taman9333 have you solved the trouble yet? |
@dzpt: Please open a new issue if you're encountering problems. Thanks! |
@stamblerre i solved the trouble by this golang/go#37962 |
Please direct general questions to:
#vscode
channel in Gophers SlackPlease review the documentation before filing an issue.
Helpful pages include:
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersgo env
to get the go development environment detailsShare the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Describe the bug
Can't autocomplete
gocode debug gbimporter: no package found for github.com/ServiceComb/go-chassis/core/lager: can't find import
,variables prompt invaild type.
My vendor package is ok, build success
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered: