Skip to content
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

PATH in Terminal is not automatically updated to include GOROOT/bin #3532

Open
TLCFEM opened this issue Sep 11, 2024 · 2 comments
Open

PATH in Terminal is not automatically updated to include GOROOT/bin #3532

TLCFEM opened this issue Sep 11, 2024 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. upstream-vscode Issues that are by problems in VS Code itself.

Comments

@TLCFEM
Copy link

TLCFEM commented Sep 11, 2024

I think it is a bug on Windows. I vaguely remember that I used to directly invoke go in ps.

Here on linux, PATH is correctly set in terminals.

Code_n9WZhYtvQm

But on Windows, PATH is not updated.

Code_twleohXIMi

Originally posted by @TLCFEM in #3522 (comment)

@TLCFEM
Copy link
Author

TLCFEM commented Sep 11, 2024

Maybe this if condition shall be revised.

if (vscode.env.shell.search(/(powershell|pwsh)$/i) !== -1) {

@gopherbot gopherbot added this to the Untriaged milestone Sep 11, 2024
@adonovan adonovan changed the title GOPATH is not populated to PATH PATH in Terminal is not automatically updated to include GOROOT/bin Sep 12, 2024
@findleyr findleyr added upstream-vscode Issues that are by problems in VS Code itself. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Sep 26, 2024
@findleyr
Copy link
Contributor

Thanks, we think this is an upstream bug, but it requires additional investigation.

@findleyr findleyr modified the milestones: Untriaged, vscode-go/backlog Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. upstream-vscode Issues that are by problems in VS Code itself.
Projects
None yet
Development

No branches or pull requests

3 participants