vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

Feature Request: add 'go mod tidy' to the command palette

Open Moezenka opened this issue 5 months ago • 1 comments

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.mod files.
  • If there are multiple go.mod files: show a selection and pick which file/s to tidy.
  • If there's only a single go.mod file: 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.

Moezenka avatar Jun 21 '25 19:06 Moezenka