Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: go to definition breaks gopls #38503
Please answer these questions before submitting your issue. Thanks!
What did you do?
Tried to go to the definition of a function declared in a module.
What did you expect to see?
The module file containing the function opened in a new tab, along with the cursor at the line of the function.
What did you see instead?
VSCode hanged for some seconds and gopls stopped working. "Go To Definition" does not work for anything, even variables in the same file.