forked from golang/vscode-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goEnvironmentStatus.ts: update go.alternateTools upon Go switch
This CL addresses the fifth item in the general outline below: 1. Create status bar item for switching Go binary (not implemented) 2. Create command palette menu for choosing the Go binary 3. Track the currently selected Go binary using workspace context 4. Show versions of Go that are not installed and allow them to be selected and installed 5. Update workspace state to use settings.json instead 6. Ensure new integrated terminals use the selected environment 7. Detect if Go is not installed and prompt to install it 8. Detect if user has the latest version of Go installed and prompt them to install it 9. Cache Go paths upon extension initialization for faster menu loading This CL makes the Go statusbar item update `go.alternateTools` in settings.json when the user selects a Go version, which makes the changes take effect. Change-Id: Ib5c387728b9b9ac12428cc074910d9202d64fd15 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/240279 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Showing
3 changed files
with
94 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters