Closed ctaggart closed 8 years ago
See https://github.com/Microsoft/vscode-go/issues/185#issuecomment-215982936
There are 3 sources for GOPATH:
~/.bash_profile
export GOPATH=~/go
GOPATH=
code .
go.gopath
.vscode/settings.json
Currently, if 1 is used, it wins even if 2 is used. The problems appears to be that VSCode load is sourcing ~/.bash_profile. If it didn't do that, I think the setting of GOPATH would make sense.
See https://github.com/Microsoft/vscode-go/issues/185#issuecomment-215982936
There are 3 sources for GOPATH:
~/.bash_profile
such asexport GOPATH=~/go
GOPATH=
pwdcode .
go.gopath
workspace settings.vscode/settings.json
Currently, if 1 is used, it wins even if 2 is used. The problems appears to be that VSCode load is sourcing
~/.bash_profile
. If it didn't do that, I think the setting of GOPATH would make sense.