Actions
Feature #688
closedgenerate_enums.py: option to enforce alphabetical order
Start date:
05/30/2024
Due date:
% Done:
0%
Estimated time:
Description
With enum defs making it no big deal to insert values anywhere in the middle, it would be reasonable for many enums — those that don't have some natural order and aren't stored persistently as numeric values — to consistently have all their (regular) values in alphabetical order. Add an enum option to the enums.def format to check this when building, to avoid accidentally or unknowningly breaking this convention once established.
Files
Actions