Setting the GOPATH
variable global as an enviroment variable works fine with Visual Studio Code.
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.
Is there a possibility to set the GOPATH
variable as a project variable in Visual Studio Code? Ether in settings.json
or launch.json
?