-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
settings: support predefined variables in go.toolsEnvVars #413
Comments
I'm not sure if specifying |
Hello Rebecca, |
It's possible that we accidentally made a change that broke this. You're right - this does seem like it should work, and I am able to reproduce the error. Thanks for the report - we'll look into it. |
Change https://golang.org/cl/246519 mentions this issue: |
The extension resolved ${workspaceFolder}, ${workspaceRoot}, ${env:} variables included in go.toolsEnvVars, since 0.6.66, but that feature was lost in the 0.15 dev cycle. Readd the code from https://github.com/microsoft/vscode-go/blob/2dbccbe5d2fb70feab3f87ac6f6187f6b896e795/src/util.ts#L438 Similar logic for testEnvVars still exists in getTestEnvVars (testutils.ts). Fixes #413 Change-Id: I1cc8ff41ce8445c573e554f947da8cd610c3671b Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/246519 Reviewed-by: Rebecca Stambler <rstambler@golang.org> (cherry picked from commit 6a84918) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/246958 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Change https://golang.org/cl/246958 mentions this issue: |
Please direct general questions to:
#vscode
channel in Gophers SlackPlease review the documentation before filing an issue.
Helpful pages include:
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders커밋: 17299e413d5590b14ab0340ea477cdd86ff13daf
날짜: 2020-07-15T18:22:06.216Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
ID: golang.go
설명: Rich Go language support for Visual Studio Code
버전: 0.15.2
게시자: Go Team at Google
VS Marketplace 링크: https://marketplace.visualstudio.com/items?itemName=golang.Go
go env
to get the go development environment detailsShare the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
When use install features with
Predefined variable
of vscode, vscode-go cannot recognize the path value.Go: Install Current Package
- Output message when try to install my source to GOBIN where I specified.Go: Install/Update Tools
- Output message when try to install go tools by vscode-go.The text was updated successfully, but these errors were encountered: