package.json: change gopath/goroot/toolsGopath machine-overridable #175
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
By setting them machine-overridable, client user values can be
ignored in remote settings and the remote side can pick up the right
value.
I think go.alternateTools should be machine-overridable as well
but will get to it next time.
Manually tested by
setting go.gopath in user settings, vsce package,
connecting to the remote host, sideloading vsix (do it after connecting,
so the remote host can pick up the vsix), and checking the GOPATH
with "Go: Current GOPATH" and also, by reinstalling all tools.
setting go.gopath in workspace settings and checking it's still doable.
Fixes microsoft/vscode-go#2981
Updates microsoft/vscode-go#2576
Change-Id: I3390355d186280c13353d210adb51edfa3858032