- [ ] [Go+: Current GOPATH](https://github.com/golang/vscode-go/wiki/commands#go-current-gopath) See the currently set GOPATH. - [ ] [Go+: Current GOROOT](https://github.com/golang/vscode-go/wiki/commands#go-current-goroot) See the currently set GOROOT. - [ ] [Go+: Locate Configured Go Tools](https://github.com/golang/vscode-go/wiki/commands#go-locate-configured-go-tools) List all the Go tools being used by this extension along with their locations. - [ ] [Go+: Test Function At Cursor](https://github.com/golang/vscode-go/wiki/commands#go-test-function-at-cursor) Runs a unit test at the cursor. - [ ] [Go+: Test Function At Cursor or Test Previous](https://github.com/golang/vscode-go/wiki/commands#go-test-function-at-cursor-or-test-previous) Runs a unit test at the cursor if one is found, otherwise re-runs the last executed test. - [ ] [Go+: Subtest At Cursor](https://github.com/golang/vscode-go/wiki/commands#go-subtest-at-cursor) Runs a sub test at the cursor. - [ ] [Go+: Debug Subtest At Cursor](https://github.com/golang/vscode-go/wiki/commands#go-debug-subtest-at-cursor) Debug a sub test at the cursor. - [ ] [Go+: Benchmark Function At Cursor](https://github.com/golang/vscode-go/wiki/commands#go-benchmark-function-at-cursor) Runs a benchmark at the cursor. - [ ] [Go+: Debug Test At Cursor](https://github.com/golang/vscode-go/wiki/commands#go-debug-test-at-cursor) Debug test at the cursor. - [ ] [Go+: Test File](https://github.com/golang/vscode-go/wiki/commands#go-test-file) Runs all unit tests in the current file. - [ ] [Go+: Test Package](https://github.com/golang/vscode-go/wiki/commands#go-test-package) Runs all unit tests in the package of the current file. - [ ] [Go+: Toggle Hide System Goroutines](https://github.com/golang/vscode-go/wiki/commands#go-toggle-hide-system-goroutines) Toggles hiding the system goroutines from the active debug session call stack view. - [ ] [Go+ Test: Refresh](https://github.com/golang/vscode-go/wiki/commands#go-test-refresh) Refresh a test in the test explorer. Only available as a context menu option in the test explorer. - [ ] [Go+ Test: Show Last Profile](https://github.com/golang/vscode-go/wiki/commands#go-test-show-last-profile) Show last captured profile - [ ] [Go+ Test: Profile](https://github.com/golang/vscode-go/wiki/commands#go-test-profile) Run a test and capture a profile - [ ] [Go+ Test: Delete Profile](https://github.com/golang/vscode-go/wiki/commands#go-test-delete-profile) Delete selected profile - [ ] [Go+: Show pprof file](https://github.com/golang/vscode-go/wiki/commands#go-show-pprof-file) Internal use. Open a pprof profile file. - [ ] [Go+: Benchmark Package](https://github.com/golang/vscode-go/wiki/commands#go-benchmark-package) Runs all benchmarks in the package of the current file. - [ ] [Go+: Benchmark File](https://github.com/golang/vscode-go/wiki/commands#go-benchmark-file) Runs all benchmarks in the current file. - [ ] [Go+: Test All Packages In Workspace](https://github.com/golang/vscode-go/wiki/commands#go-test-all-packages-in-workspace) Runs all unit tests from all packages in the current workspace. - [ ] [Go+: Test Previous](https://github.com/golang/vscode-go/wiki/commands#go-test-previous) Re-runs the last executed test. - [ ] [Go+: Debug Previous](https://github.com/golang/vscode-go/wiki/commands#go-debug-previous) Re-runs the last debugged test run through a codelens or "Go: Debug Test at Cursor" command. - [ ] [Go+: Toggle Test Coverage In Current Package](https://github.com/golang/vscode-go/wiki/commands#go-toggle-test-coverage-in-current-package) Displays test coverage in the current package. - [ ] [Go+: Generate Unit Tests For Package](https://github.com/golang/vscode-go/wiki/commands#go-generate-unit-tests-for-package) Generates unit tests for the current package - [ ] [Go+: Generate Unit Tests For File](https://github.com/golang/vscode-go/wiki/commands#go-generate-unit-tests-for-file) Generates unit tests for the current file - [ ] [Go+: Generate Unit Tests For Function](https://github.com/golang/vscode-go/wiki/commands#go-generate-unit-tests-for-function) Generates unit tests for the selected function in the current file - [ ] [Go+: Generate Interface Stubs](https://github.com/golang/vscode-go/wiki/commands#go-generate-interface-stubs) Generates method stub for implementing the provided interface and inserts at the cursor. - [ ] [Go+: Extract Language Server Logs To Editor](https://github.com/golang/vscode-go/wiki/commands#go-extract-language-server-logs-to-editor) Extract logs in the gopls (server) output channel to the editor. - [ ] [Go+: Welcome](https://github.com/golang/vscode-go/wiki/commands#go-welcome) Open the welcome page for the Go extension. - [ ] [Go+: Toggle gc details](https://github.com/golang/vscode-go/wiki/commands#go-toggle-gc-details) Toggle the display of compiler optimization choices - [ ] [Go+: Add Import](https://github.com/golang/vscode-go/wiki/commands#go-add-import) Add an import declaration - [ ] [Go+: Add Package to Workspace](https://github.com/golang/vscode-go/wiki/commands#go-add-package-to-workspace) Add a package from the imports list to the workspace. - [ ] [Go+: Install/Update Tools](https://github.com/golang/vscode-go/wiki/commands#go-installupdate-tools) Install/update the required go packages - [ ] [Go+: Toggle Test File](https://github.com/golang/vscode-go/wiki/commands#go-toggle-test-file) Toggles between file in current active editor and the corresponding test file. - [ ] [Go+: Toggle Vulncheck](https://github.com/golang/vscode-go/wiki/commands#go-toggle-vulncheck) Toggle the display of vulnerability analysis in dependencies. - [ ] [Go+: Start language server's maintainer interface](https://github.com/golang/vscode-go/wiki/commands#go-start-language-servers-maintainer-interface) Start the Go language server's maintainer interface (a web server). - [ ] [Go+: Add Tags To Struct Fields](https://github.com/golang/vscode-go/wiki/commands#go-add-tags-to-struct-fields) Add tags configured in go.addTags setting to selected struct using gomodifytags - [ ] [Go+: Remove Tags From Struct Fields](https://github.com/golang/vscode-go/wiki/commands#go-remove-tags-from-struct-fields) Remove tags configured in go.removeTags setting from selected struct using gomodifytags - [ ] [Go+: Show All Commands...](https://github.com/golang/vscode-go/wiki/commands#go-show-all-commands) Shows all commands from the Go extension in the quick pick - [ ] [Go+: Browse Packages](https://github.com/golang/vscode-go/wiki/commands#go-browse-packages) Browse packages and Go files inside the packages. - [ ] [Go+: Get Package](https://github.com/golang/vscode-go/wiki/commands#go-get-package) Run go get -v on the package on the current line. - [ ] [Go+: Run on Go Playground](https://github.com/golang/vscode-go/wiki/commands#go-run-on-go-playground) Upload the current selection or file to the Go Playground - [ ] [Go+: Lint Current Package](https://github.com/golang/vscode-go/wiki/commands#go-lint-current-package) Run linter in the package of the current file. - [ ] [Go+: Lint Workspace](https://github.com/golang/vscode-go/wiki/commands#go-lint-workspace) Run linter in the current workspace. - [ ] [Go+: Vet Current Package](https://github.com/golang/vscode-go/wiki/commands#go-vet-current-package) Run go vet in the package of the current file. - [ ] [Go+: Vet Workspace](https://github.com/golang/vscode-go/wiki/commands#go-vet-workspace) Run go vet in the current workspace. - [ ] [Go+: Build Current Package](https://github.com/golang/vscode-go/wiki/commands#go-build-current-package) Build the package of the current file. - [ ] [Go+: Build Workspace](https://github.com/golang/vscode-go/wiki/commands#go-build-workspace) Build the current workspace. - [ ] [Go+: Install Current Package](https://github.com/golang/vscode-go/wiki/commands#go-install-current-package) Install the current package. - [ ] [Go+: Initialize go.mod](https://github.com/golang/vscode-go/wiki/commands#go-initialize-gomod) Run go mod init in the workspace folder. - [ ] [Go+: Cancel Running Tests](https://github.com/golang/vscode-go/wiki/commands#go-cancel-running-tests) Cancels running tests. - [ ] [Go+: Apply Cover Profile](https://github.com/golang/vscode-go/wiki/commands#go-apply-cover-profile) Applies existing cover profile. - [ ] [Go+: Restart Language Server](https://github.com/golang/vscode-go/wiki/commands#go-restart-language-server) Restart the running instance of the language server - [ ] [Go+: Choose Go Environment](https://github.com/golang/vscode-go/wiki/commands#go-choose-go-environment) Choose a different Go version or binary for this project. (WIP) - [ ] [Go+: Show Survey Configuration](https://github.com/golang/vscode-go/wiki/commands#go-show-survey-configuration) Show the current Go survey configuration - [ ] [Go+: Reset Survey Configuration](https://github.com/golang/vscode-go/wiki/commands#go-reset-survey-configuration) Reset the current Go survey configuration history - [ ] [Go+: Reset Workspace State](https://github.com/golang/vscode-go/wiki/commands#go-reset-workspace-state) Reset keys in workspace state to undefined. - [ ] [Go+: Reset Global State](https://github.com/golang/vscode-go/wiki/commands#go-reset-global-state) Reset keys in global state to undefined. - [ ] [Go+ Explorer: Refresh](https://github.com/golang/vscode-go/wiki/commands#go-explorer-refresh) Refresh the Go explorer. Only available as a menu item in the explorer. - [ ] [Go+ Explorer: Open File](https://github.com/golang/vscode-go/wiki/commands#go-explorer-open-file) Open a file from the Go explorer. Only available as a menu item in the explorer. - [ ] [Go+: Edit Workspace Env](https://github.com/golang/vscode-go/wiki/commands#go-edit-workspace-env) Edit the Go Env for the active workspace. - [ ] [Go+: Reset Workspace Env](https://github.com/golang/vscode-go/wiki/commands#go-reset-workspace-env) See https://github.com/golang/vscode-go/wiki/commands
See https://github.com/golang/vscode-go/wiki/commands