Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: go to definition doesn't work in VSCode #32608
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)?
This happens on repo github.com/jbrodriguez/unbalance, that uses go modules
@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.
@stamblerre, sure here's the log