Skip to content

Add move method to parent class refactor #2502

Description

Add a new code action to move the selected method implementation to the parent class. For example:

# BEFORE
class Parent
end

class Child < Parent
  def foo
  end
end

# AFTER
class Parent
  def foo
  end
end

class Child < Parent
end

Here's an example PR adding a refactor end to end #2372.

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

Metadata

Assignees

Labels

enhancementNew feature or requesthelp-wantedExtra attention is neededpinnedThis issue or pull request is pinned and won't be marked as staleserverThis pull request should be included in the server gem's release notes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions