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 subroutine under new Code Action #293

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

worksofliam
Copy link
Contributor

Previously, the cleanup of subroutines could only be done when the linter was enabled.

Now the linter will still complain about subroutines, but we provide a new Code Action, similar to extract to procedure, but for subroutines. It will convert the subroutine to a procedure and create parameters for references variables of certain types.

image

@worksofliam worksofliam merged commit 84b7214 into main Jan 25, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant