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

Refactor Idea: extract functions inside functions #69

Open
adminy opened this issue Mar 24, 2023 · 0 comments
Open

Refactor Idea: extract functions inside functions #69

adminy opened this issue Mar 24, 2023 · 0 comments

Comments

@adminy
Copy link

adminy commented Mar 24, 2023

Looking at the suggestions it says

FunctionName()
This is a big function.
Big functions are harder to understand and change.
You can refactor it, e.g., by extracting some of its logic into new functions.

This function contains lets say 3 other function definitions within itself.
These functions in most cases don't even need extra parameters,
yet when I highlight the function I don't get an Extract function to module scope.
It sounds like a safe procedure that could happen automatically or with a user action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant