-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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: go to definition doesn't work in VSCode #32608
Comments
Related:
|
@jbrodriguez: Can you provide your "go.languageServerFlags": [
"-rpc.trace",
] to your VSCode settings, and then run an example case. You can find the debug logs by going to View: Debug Console -> Output -> Tasks -> gopls. @ThisEndUp: I do not believe your issue is related - it seems like a case of a broken Go installation to me. Please file a separate issue so that you can get assistance. |
Thanks @jbrodriguez. The program did run on my PC, so the go installation was fine, but then it stopped. I can't figure out what broke the installation from one day to the next, but I repaired it by downloading |
@stamblerre, sure here's the log
|
It's doing a stat for
which certainly doesn't exist 🤷🏻♂️ |
Thank you for the report, this seems to be a duplicate of #32603. Closing as a duplicate, but I will definitely be investigating this issue. |
Please answer these questions before submitting your issue. Thanks!
What did you do?
click go to definition on basically anything
What did you expect to see?
go to definition
What did you see instead?
doesn't go to definition, saying no definition found
Does this issue reproduce with the latest release (go1.12.6)?
yes
System details
vscode settings
This happens on repo github.com/jbrodriguez/unbalance, that uses go modules
The text was updated successfully, but these errors were encountered: