Rename macro local vars does not update references
Moderator: Benj
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Rename macro local vars does not update references
When renaming local variables/parameters in a macro the references in the macro itself are not updated to reflect the new name. As renaming global variables renames all occurrences it would be nice if this worked for local variables/parameters as well.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Rename macro local vars does not update references
Hi Jac,
How are you renaming the variables. I believe it works via the project explorer interface but if you are using another method then there could be a bug.
How are you renaming the variables. I believe it works via the project explorer interface but if you are using another method then there could be a bug.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Rename macro local vars does not update references
Hi Ben,
Renaming by opening the macro with 'Macro->Edit Details...', edit the parameter/local variable by choosing 'edit' from the drop down menu (arrow next to the name), enter a new name and save with 'OK', next use 'OK' to close the 'Edit Macro Details' dialog.
Renaming by opening the macro with 'Macro->Edit Details...', edit the parameter/local variable by choosing 'edit' from the drop down menu (arrow next to the name), enter a new name and save with 'OK', next use 'OK' to close the 'Edit Macro Details' dialog.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Rename macro local vars does not update references
Thanks Jac, It's now on the to do list.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel