Skip to content

Extract procedure for duplicate code (request)  #153

@PeterBizz

Description

@PeterBizz

Often the extract procedure function is used to eliminate duplicate code.

What about the following ideas:

  • Extract procedure automatically matches the generated procedure with an existing procedure and suggests to use this already existing procedure.
    or ( I think this might be harder to realise) when the procedure NewProcedure is renamed to the name of the same procedure with the same signature the NewProcedure is not created ( duplicate )

  • allow multiple cursor feature to select multiple occurences of the same lines that can be extracted to one NewProcedure which is called multiple times.

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