-
Notifications
You must be signed in to change notification settings - Fork 876
Open
Milestone
Description
Reopening #3677.
At the time, it was claimed that setting go.formatTool to "goimports" really caused it to format via gopls. However, the current docs dispute this.
Specifies the tool for formatting Go code. The default is default, which uses the language server gopls as formatting provider. To configure gopls's formatting, see the 'gopls.formatting' settings. When a specific tool (e.g., gofmt, goimports) is selected, the extension will run it instead.
And indeed, deleting the goimports command from ${go.toolsGopath}/bin causes it to open an error dialog.
Please fix the "Go: Install/Update Tools" dialog to also consider go.formatTool.
Metadata
Metadata
Assignees
Labels
No labels