vscode-go
vscode-go copied to clipboard
Feature Request: add 'go mod tidy' to the command palette
Describe the solution you'd like
Please expose the go mod tidy in the VS Code command palette.
When running the command it should:
- Scan the workspace for all
go.modfiles. - If there are multiple
go.modfiles: show a selection and pick which file/s to tidy. - If there's only a single
go.modfile: run immediately with no prompt.
Having this readily available via the command palette would be a handy quality-of-life improvement for some of us.