-
Notifications
You must be signed in to change notification settings - Fork 764
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
vscode integration terminal gets incorrect version of go #2283
Comments
What do you get when running |
That's what I'm seeing as well. This is related to a workaround we're using for microsoft/vscode#99878 on macOS. In the workaround we use a We could add a short delay with a timeout to wait for terminal.name to be set, or reintroduce a fallback for when terminal.name is empty string. What do you think @hyangah? |
Change https://go.dev/cl/412314 mentions this issue: |
How about |
Thank you for your attention to this issue |
What version of Go, VS Code & VS Code Go extension are you using?
go 1.18
vscode 1.67.2
vscode go 0.33.1
Share the Go related settings you have added/edited & Describe the bug
I have go1.17 configured with my$path$
When I wanted to use go1.18, I configured it using vscode go
As you can see in the bottom left corner, this configuration is correctly recognized and I can run my go1.18 specific generic code
But the terminal in vscode is still getting go1.17
(ps: jetbrainsIDE's terminal always correctly combines IDE external and internal environment variables, but vscode does not)
The text was updated successfully, but these errors were encountered: