This Visual Studio Code extension allows users to seamlessly switch between different Go versions managed by GVM (Go Version Manager). It updates the go.goroot and go.gopath settings in VS Code based on the selected Go version from the gvm list.
Features
Easy integration with GVM.
Quick selection of Go versions directly from VS Code.
Automatic update of go.goroot and go.gopath workspace settings.
Usage
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Type and select Select Go Version from the list of commands.
A dropdown will appear with the list of installed Go versions (as per gvm list).
Select the desired Go version. The extension will automatically update the go.goroot and go.gopath settings for the workspace.
Contributing
Contributions to the extension are welcome! Please feel free to fork the repository, make changes, and create a pull request.