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: gopls stopped responding when gomod failed. #38818
Please answer these questions before submitting your issue. Thanks!
What did you do?
using vim+coc-nvim+gopls for autocompletion,documentation,reference.
Any project with issue in go.mod i.e - if the go.mod is not able to fetch all relevant dependencies from source, then gopls stops working.
Any sample program with simple print works as expected, gopls works fine.
In case of larger project with long list of dependencies and if any one of the package is missing / version in compatable then gopls stops responding.
What did you expect to see?
jump to definition , display documentation when dohover over the funcs.show implementation list when issued corresponding command over the interface/function.
What did you see instead?
No response/reply from gopls.
Not sure if this is issue , or expected behaviour from gopls.Is gopls depndent on gomod being successful?
Thanks for reporting. We have a few opened issues that cover some of the bugs you mention here - #38232, #38383, #38462. Does this cover everything you've encountered, or are there other issues that are missing?
BTW, make sure to set