Skip to content

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

Open
@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

Activity

self-assigned this
on Mar 18, 2024
added
ToolsThis label describes issues relating to any tools in the x/tools repository.
goplsIssues related to the Go language server, gopls.
on Mar 18, 2024
added this to the Unreleased milestone on Mar 18, 2024
added
FeatureRequestIssues asking for a new feature that does not need a proposal.
RefactoringIssues related to refactoring tools
on Mar 18, 2024
adonovan

adonovan commented on Nov 10, 2024

@adonovan
Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @adonovan@gopherbot@findleyr

      Issue actions

        x/tools/gopls: support "inline all" and "inline away" · Issue #66370 · golang/go