Skip to content

x/tools/gopls: feature request: refactor.extract.struct #70715

Open
@danp

Description

@danp

in slack

Suppose I have:

type X struct {
  A, B, C, D string
}

and I want to move to:

type Y struct {
  A, B string
}

type X struct {
  Y
  C, D string
}

It would be nice to have some help with that.

Metadata

Metadata

Assignees

No one assigned

    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