-
Notifications
You must be signed in to change notification settings - Fork 764
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
non-exist package should not cause problem #1092
Comments
Thanks for filing this new issue. One thing to try might be to reinstall @hyangah may be able to shed more light on the nature of the error message, but it looks like that you are still using that nonexistent package in your code. See this error message, for example:
Do the issues go away after restarting |
@stamblerre It's stranges that after do And I can see the format works now(format in one second), even it's not valid code ( afinalizer.go ). after above go get command, I don't find the build info changed though (https://www.diffchecker.com/yfjJOx9I)
here some logs, if it helpful currently I have no other case to try to see if saving got issue again. hope this help someone else too. |
Saving box still shows up, so above comment is false positive?
full logs: https://mclo.gs/czb4gkr |
@chinglinwen Sorry for being late. Do you still experience the issue? I didn't have a chance to look into the logs but found they are no longer accessible. Recently we rewrote our troubleshooting guide - please follow the instruction and share the traces if you still need help. If you manage to address the issue or no longer can reproduce the issue, feel free to close the issue. |
I've try reproduce again, can't reproduce the issue, so closing it. |
The issue is come from here: golang/go#36899 (comment) , as stamblerre suggest, I'm not sure what's the real problems though.
It's true, that cfg package is not exist, it's somewhat old package exist once, now deleted. or changed naas to example.com/naas I can't remember. and it should not cause problem I think.
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gogopls -v version
to get version of Gopls if you are using the language server.code -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
https://mclo.gs/qvXjrfB
Describe the bug
A clear and concise description of what the bug.
It may relate to #236
However I try with extreme case that full of undefined names ( and no such import etc), in that way, it will show the saving box ( about 10 seconds I guess ), and got three times vscode disconnect(auto reconnect though).
A clear and concise description of what you expected to happen.
not sure if relate to this issue, if it relate, here's the expected to happen.
Steps to reproduce the behavior:
try save and close(sometimes close not responding) etc
logs: https://mclo.gs/QM2qthv
Screenshots or recordings
The text was updated successfully, but these errors were encountered: