x/tools/gopls: gopls stopped responding when gomod failed. #38818
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Please answer these questions before submitting your issue. Thanks!
What did you do?
using vim+coc-nvim+gopls for autocompletion,documentation,reference.
coc-settings
vimrc
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.
Gopls version
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.
Due to sensitivity of work the program can not be provided.
Part of trace information cleansed is below.
Coc-workspace output
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.
gopls to work independent of gomod status.
What did you see instead?
No response/reply from gopls.
Build info
Go info
Not sure if this is issue , or expected behaviour from gopls.Is gopls depndent on gomod being successful?
If you require more details please let me know.
The text was updated successfully, but these errors were encountered: