x/tools/gopls: Feature Request: Support for "Inline Method" refactoring code action #59243
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
About once a week I look for the Inline Method refactoring in VSCode.
If this could be added that would be super!
gopls version
go env
What did you do?
Put the cursor on either of the
PrintHello
s.What did you expect to see?
A 💡 with a Code Action to "Inline
PrintHello
".The result should be this:
What did you see instead?
No obvious way of having
gopls
inlinePrintHello()
for me.Editor and settings
The text was updated successfully, but these errors were encountered: