x/tools/gopls: implement code action to split and group args/elements/return values into single/separate lines #65156
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
v0.14.2
go env
What did you do?
Implement a code action to easily refactor function arguments, return values, and composite literal elements into separate lines or a single line.
This feature would be particularly helpful when working on large business-related features that often require long variable names. The ability to quickly split or group lines would significantly accelerate refactoring efforts to ensure code adheres to specified character limits.
for example:
What did you see happen?
The feature is not available yet on gopls.
What did you expect to see?
To see the feature in gopls.
Editor and settings
VSCode
Logs
N/A
The text was updated successfully, but these errors were encountered: