-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: auto import failed #32612
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
Comments
Does this fix itself after you save the file and type some more or does the error never go away? |
The error will disappear after I save and reopen vscode. But if I import a new package in the project, the error appears again. |
Can you confirm that you still see this error with the latest version of |
Oh, the error disappeared after I run
|
Glad to hear that this is 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
OutputWhat did you do?
What did you expect to see?
package
testing
is imported correctly.What did you see instead?
VSCode warns that
could not import testing (no known ID for testing)
gopls
output(with-rpc.trace
flag)gopls
OutputThe text was updated successfully, but these errors were encountered: