Closed grapehunter closed 6 years ago
Gocode passes GOROOT env var (and few others) from client to server on every autocompletion request. Make sure it's correctly set on the client and it should work.
@nsf
Thank you.
I modified go.gopath
& go.goroot
in vscode ,and it works fine now.
I have already set a environment variable.
Goroot in
$env
&go env
are both right. But it has a incorrect value "C:\go" in gocode's build context.My os is windows 10 1709 and version of golang is v1.9.3