Setting `GOPATH` for each vscode project
Setting `GOPATH` for each vscode project Setting the GOPATH variable global as an enviroment variable works fine with Visual Studio Code. GOPATH But setting a project specific variable globally doesn't seem very nice to me. Consider you have multiple Go projects, you would have to change this variable each time you, compile, debug, ... etc. a project. Go Is there a possibility to set the GOPATH variable as a project variable in Visual Studio Code? Ether in settings.json or launch.json ? GOPATH settings.json launch.json don't try to change GOPATH for each project, use vendor folder – n00dl3 Nov 21 '16 at 8:56 GOPATH vendor 4 Answers 4 Go 1.5 added the vendor directory that allows a per-project dependency management. If there is a source ...