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

Allow variable rename that's in use #2416

Open
katrinleinweber opened this issue Mar 6, 2023 · 0 comments
Open

Allow variable rename that's in use #2416

katrinleinweber opened this issue Mar 6, 2023 · 0 comments

Comments

@katrinleinweber
Copy link

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.

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