-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: Workspace never comes up (no response to workspace/configuration) #41976
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
Do you mind sharing a complete |
Sure, I've redacted the actual source of the file.
|
OK, now that I understand it's a client problem I think I see the problem in |
ATTENTION: Please answer these questions BEFORE submitting your issue. Thanks!
What did you do?
I started up gopls from Emacs on my (large) work project. All further interaction with gopls times out. Gopls is working fine on my other modules/projects.
What did you expect to see?
A working gopls with completion, jump-to-definition, etc.
What did you see instead?
All interactions with the language server time out. In the gopls logs I can see that there is never a response to
workspace/configuration
, that is, I see this but there's no corresponding response:Gopls sits and uses a tiny bit of CPU and ~7M of memory, but I can't see anything happening. Previous versions of gopls have worked properly on this project, although I'm just returning to it after working on other projects for a while so I'm not sure exactly which version stopped working.
This seems to work just fine (the same file I'm viewing in Emacs):
Build info
The text was updated successfully, but these errors were encountered: