BUG: command Go: Current GOPATH
get GOPATH is undefined at the first time
#1878
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Describe the bug
When I run vscode command
Go: Current GOPATH
after the vscode started at the first time, I got theundefined is the current GOPATH.
. but I continue to run the same command, I got/Users/lzy/go is the current GOPATH.
.I think the GOPATH may be got correctly by these places:
go env
/echo $GOPATH
/vscode.go.gopath
Steps to reproduce the behavior:
Go: Current GOPATH
undefined is the current GOPATH.
Go: Current GOPATH
/Users/lzy/go is the current GOPATH.
Screenshots or recordings
None
The text was updated successfully, but these errors were encountered: