This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
When gopkgs
fails to get packages, there is no user notification #1471
Closed
Description
gopkgs
is used to get packages that are used bu the auto-completion feature to provide the completions for unimported packages. When gopkgs
fails, we log a message to the console (See https://github.com/Microsoft/vscode-go/blob/0.6.72/src/goPackages.ts#L103).
This is not enough, there should be a user notification about the same.
gopkgs
gets called for every auto-completion request, but this error should not be notified for every request. Once for a VS Code session will do.
PRs are welcome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment