-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
x/tools/gopls: not working #37119
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
Can you please share the output of |
020/02/07 13:51:07 Info:2020/02/07 13:51:07 Build infogolang.org/x/tools/gopls v0.3.1 Go infogo version go1.13.4 darwin/amd64 GO111MODULE="" |
Thanks! Looks like |
Trace - 13:57:56.872 PM] Sending notification '$/cancelRequest'. [Trace - 13:57:56.873 PM] Received response 'textDocument/hover - (17)' in 51ms. 2020/02/07 13:57:56 : context canceled [Error - 1:57:56 PM] 2020/02/07 13:57:56 : context canceled [Trace - 13:57:57.986 PM] Received response 'textDocument/hover - (18)' in 964ms. [Trace - 13:57:57.986 PM] Received notification 'window/logMessage'. [Info - 1:57:57 PM] 2020/02/07 13:57:57 go/packages.Load |
I figured it out. Stray character in the go.mod file makes gopls angry even though everything is vendored |
Please answer these questions before submitting your issue. Thanks!
What did you do?
click install new go please when it popped up in vs code then restart vs code
What did you expect to see? auto completions tool tips
What did you see instead? no auto completions or tool tips
Build info
Go info
The text was updated successfully, but these errors were encountered: