Replies: 2 comments 2 replies
-
One option to switch your Go installation is to set: "go.alternateTools": {
"go": "path/to/go",
} One other option is to use the Go extension's built in options for managing your Go installation. On the bottom left of the VS Code window, you should see a button with your Go version listed. You can click on that button and select "Choose Go environment" to switch your Go version. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ah sorry didn't see that you wanted to change the tools installation path. Does |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the following code.
getCurrentGoRoot()
always return some value. So, it always evaluates to first ternary value (i.e.path.join(...)
.My question, how can I force it to use
goVersion.binaryPath
instead? SettingGOROOT=
will do that but it'll break lot of things. Thank you.vscode-go/src/goInstallTools.ts
Lines 239 to 241 in d1d61bc
Beta Was this translation helpful? Give feedback.
All reactions