Skip to content

Prepend terminal PATH when go.goroot is set #544

Closed
@segevfiner

Description

@segevfiner

Is your feature request related to a problem? Please describe.
When using go.goroot to set an alternate Go version for a specific workspace, the terminal still uses the default PATH which leads the go command in the terminal to point to the default Go installation.

Describe the solution you'd like
Set the PATH in the terminal. (In a similar way to what is done when using Go: Choose Go Environment?)

Of course, this needs to be careful not to mangle the PATH, it should only really prepend the version and that's it, not set the entire variable.

Describe alternatives you've considered
Having to keep setting it manually...

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions