Skip to content

QuickFix to inline PERFORM statements #77

@kevinholtkamp

Description

@kevinholtkamp

When trying to refactor old code, one thing I often do is inline old PERFORM statements, and afterwards often to extract a method from the inlined code.

Would it be possible for a quick fix to inline a PERFORM statement and maybe even to extract a method afterwards and thus effectively replace a PERFORM with a method call?

I think at least for the first part, global variables should not be an issue, because when the FORM is in scope, all global variables used in the FORM should be in scope from the caller aswell. Parameters would need to be renamed in case of duplicates.

Metadata

Metadata

Assignees

Labels

check possibilitiesChecks of possible implementation neededenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions