x/tools/gopls: add quick fixes that behave like goreturns #37091
Labels
FeatureRequest
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
A main reason that users are still not using
gopls
for formatting is that they prefer to usegoreturns
, which combinesgoimports
,gofmt
, and also fills in default values for function returns, if they are left blank. We could add that same behavior as a quick-fix suggestion that gets offered as part oftextDocument/codeAction
.The text was updated successfully, but these errors were encountered: