Skip to content

x/tools/gopls: support "inline all" and "inline away" #66370

@findleyr

Description

@findleyr

Add two new code actions for inlining, defined at the callee rather than caller:

  • "inline all" inlines all uses of a function
  • "inline away" inlines all uses, and additionally removes the function declaration

Metadata

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.RefactoringIssues related to refactoring toolsToolsThis 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