Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "Inline Function" #303

Open
nicoespeon opened this issue Jun 1, 2021 · 1 comment
Open

Improve "Inline Function" #303

nicoespeon opened this issue Jun 1, 2021 · 1 comment
Labels
💪 Improvement Refactoring doesn't run on a specific case or result could be optimized

Comments

@nicoespeon
Copy link
Owner

Current behavior is very basic. It works for simple cases.

I found myself trying to inline functions sometimes. Most of the time, the refactoring can't be executed. It would be nice to give this one more love, handle more involved scenarios.

There's likely an opportunity to revisit the implementation and simplify it.

@nicoespeon nicoespeon added the 💪 Improvement Refactoring doesn't run on a specific case or result could be optimized label Jun 1, 2021
@jplace
Copy link

jplace commented Nov 10, 2021

+1 to this! The ability to inline a function body into everywhere it's called would be massively helpful. Thank you for your hard work on this tool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 Improvement Refactoring doesn't run on a specific case or result could be optimized
Projects
None yet
Development

No branches or pull requests

2 participants