Skip to content

x/tools/gopls: preserve comments when invoking fillstruct on partially filled composite literals #71312

Open
@findleyr

Description

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.

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions