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
This new setting allows users to specify the go command
for tools installation.
The go version selected for go.toolsManagement.go is not yet
used for version check in goInstallTools.ts inspectGoToolVersion yet.
For #825
Change-Id: Ic7a401b2089fe1e412ede32be474ee0f309c32d4
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/387956
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Copy file name to clipboardExpand all lines: docs/settings.md
+5
Original file line number
Diff line number
Diff line change
@@ -454,6 +454,11 @@ Allowed Options:
454
454
455
455
456
456
Default: `"proxy"`
457
+
### `go.toolsManagement.go`
458
+
459
+
The path to the `go` binary used to install the Go tools. If it's empty, the same `go` binary chosen for the project will be used for tool installation.
460
+
461
+
Default: `""`
457
462
### `go.trace.server`
458
463
459
464
Trace the communication between VS Code and the Go language server.<br/>
Copy file name to clipboardExpand all lines: package.json
+8-1
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,8 @@
116
116
"go.goroot",
117
117
"go.inferGopath",
118
118
"go.toolsGopath",
119
-
"go.toolsEnvVars"
119
+
"go.toolsEnvVars",
120
+
"go.toolsManagement.go"
120
121
]
121
122
}
122
123
},
@@ -1528,6 +1529,12 @@
1528
1529
"description": "The logging level the extension logs at, defaults to 'error'",
1529
1530
"scope": "machine-overridable"
1530
1531
},
1532
+
"go.toolsManagement.go": {
1533
+
"type": "string",
1534
+
"default": "",
1535
+
"description": "The path to the `go` binary used to install the Go tools. If it's empty, the same `go` binary chosen for the project will be used for tool installation.",
0 commit comments