diff --git a/README.md b/README.md index ebf6e2d2..20fd383e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Read the [Changelog](https://github.com/Microsoft/vscode-go/blob/master/CHANGELO ### Code Editing - Code Snippets for quick coding -- Format code on file save as well as format manually (using `goreturns` or `goimports` or `gofmt`) +- Format code on file save as well as format manually (using `goreturns` or `goimports` which also remove unused imports or `gofmt`) - Symbol Rename (using `gorename`. Note: For Undo after rename to work in Windows you need to have `diff` tool in your path) - Add Imports to current file (using `gopkgs`) - Add/Remove Tags on struct fields (using `gomodifytags`) diff --git a/package.json b/package.json index 6a1aa34e..6f304aca 100644 --- a/package.json +++ b/package.json @@ -657,7 +657,7 @@ "go.formatTool": { "type": "string", "default": "goreturns", - "description": "Pick 'gofmt', 'goimports', 'goreturns' or 'goformat' to run on format. Not applicable when using the language server.", + "description": "Pick 'gofmt', 'goimports', 'goreturns' or 'goformat' to run on format. Not applicable when using the language server. Choosing 'goimport' or 'goreturns' will add missing imports and remove unused imports.", "scope": "resource", "enum": [ "gofmt",