x/tools/gopls: preserve comments when invoking fillstruct on partially filled composite literals #71312
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
It looks like in #39804, there was a desire to preserve comments when filling partial literals, but it was deemed too challenging.
I think with recent work by @madelinekalil to reassemble the resulting literal, this should be a solvable problem, and a nice UX improvement.
Tentatively assigning for v0.18.0. It would be nice to bundle this improvement.
The text was updated successfully, but these errors were encountered: