Project

General

Profile

Actions

Feature #688

closed

generate_enums.py: option to enforce alphabetical order

Added by Alina Lenk about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
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 #2

Updated by Alina Lenk about 1 month ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF