x/tools/gopls : Prompted with [cannot find package] error in first time import package #43276
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.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?WSL, ubuntu 20.04
neovim, coc.nvim
go env
OutputWhat did you do?
Prompted with [cannot find package] error in first time import package. E.g import "fmt" and prompted with [could not import fmt (cannot find package "fmt" in any of \ /usr/local/go/src/fmt (from $GOROOT) \ /home/ngpong/go/src/fmt (from $GOPATH))]
However, when I exit vim and re-enter, the error message disappears
What did you expect to see?
Don't prompted with [cannot find package] error when i import package in the fist time.
What did you see instead?
When I import some package in the first time, I received this error message in following pic
However, when I re-enter vim, the error messages was disappears
log
-logfile
OutputThe text was updated successfully, but these errors were encountered: