Skip to content

Feature request: Support for 'inline function' refactoring. #70

@shanemd

Description

@shanemd

Hi there. I've just recently found this project, and I'm really enjoying the 'rename symbol' and 'extract function' refactorings. There are a few other refactorings that I think would make the tool a lot more useful, though I understand that they may not be achieved for a while due to the work being done on the tool refactoring. I thought I'd leave the suggestions here for future work.

Inline function: essentially the opposite of 'extract function'. Basically take the function contents and paste it in all of the function's current call sites, then delete the function. (I'm sure it's not as simple as this, but that's the basic idea).

Reference:
https://www.refactoring.com/catalog/inlineFunction.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions