Rename Enumeration Names - Mendix Forum

Rename Enumeration Names

0

Sometimes I want to change the name (not caption) of enumerations. I understand that might lead to problems with Excel Importer or other modules, but still being able to do it to clean up your code (if you know what you are doing, maybe behind a confirmation) would be great.

asked
1 answers

Hi Patrick Genitheim,

I agree that having the option to rename enumeration names would be useful, especially when refactoring an application or improving code readability.

Currently, enumeration names are referenced in various places, such as microflows, nanoflows, expressions, and integrations. Renaming them could potentially affect existing references and dependent modules.

A rename option with a confirmation warning and automatic reference updates would be a great improvement. It would give developers more flexibility to maintain clean, consistent naming conventions without manually recreating enumerations and updating all their references.

This would be a valuable addition to Studio Pro.

Created