You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i install gvm i found it can't work with vscode.
vscode can't find gopath
BTW, i open zsh shell can't use go version
how to resolve the problem, plesea tell me,tks!
The text was updated successfully, but these errors were encountered:
Can I assume you have the Go for Visual Studio Code extension installed? If so, you need to add a workspace setting that looks like this:
// Place your settings in this file to overwrite default and user settings.
{
"go.gopath": "/Users/me/.gvm/pkgsets/go1.6.3/my-project-pkgset:/Users/me/.gvm/pkgsets/go1.6.3/global",
"go.goroot": "/Users/me/.gvm/gos/go1.6.3"
}
Also, you need to setup your project using the gvm linkthis command. For example:
That will create a symlink from the my-project-pkgset/src/github.com/me/my-project directory to your current directory (that is, to your local project directory outside of your pkgset).
when i install gvm i found it can't work with vscode.
vscode can't find gopath
BTW, i open zsh shell can't use
go version
how to resolve the problem, plesea tell me,tks!
The text was updated successfully, but these errors were encountered: