Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
gopls provides diagnostics about composite literals with unkeyed fields.
It will be convenient if the diagnostic is accompanied with the quickfix.
The text was updated successfully, but these errors were encountered:
@suzmue @jamalc Can you take a look if this can be implemented while investigating on a related feature (inLayHints)?
Sorry, something went wrong.
I think this can be an inLayHint suggestion (by providing InlayHint textedits), but it would be good to have available as a quickfix as well.
Change https://go.dev/cl/414674 mentions this issue: go/analysis: add suggested fix for unkeyed composite literals
go/analysis: add suggested fix for unkeyed composite literals
No branches or pull requests