Skip to content

Allow variable rename that's in use #2416

@katrinleinweber

Description

@katrinleinweber

Expected Behavior

Renaming a variable throughout an entire sequence should be possible. Like search'n'replace in a text editor.

Actual Behavior

If I understand…

return (allowedVariableNodes == AllowedVariableNodes.parameter
&& !this.props.labelOnly)
? <input
style={{ background: Color.lightGray }}
value={value}
readOnly={true}
onClick={() => error(t("Can't edit variable name while in use."))} />

…correctly, it's currently necessary to remove a variable from a sequence before renaming it?

However, it would IMHO be helpful to directly rename it in all sequence elements at once, for example to avoid errors in re-adding it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions