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

Sort enums by source order #2237

Closed
n0samu opened this issue Apr 13, 2023 · 2 comments
Closed

Sort enums by source order #2237

n0samu opened this issue Apr 13, 2023 · 2 comments
Labels
enhancement Improved functionality
Milestone

Comments

@n0samu
Copy link

n0samu commented Apr 13, 2023

Search Terms

enum, source order, sort order

Problem

We use typedoc to generate documentation for our library's settings interface. It would be very helpful for us to have a way to sort enums in source order while still sorting interfaces alphabetically.

Suggested Solution

  • Specific solution: Add an enum-source-order sort option
  • General solution: Allow separately specifying sort orders for each kind.
@n0samu n0samu added the enhancement Improved functionality label Apr 13, 2023
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Apr 13, 2023

Adding enum-source-order is pretty simple, and what I think I want to go for here

@Gerrit0 Gerrit0 added this to the v0.24.2 milestone Apr 13, 2023
@n0samu
Copy link
Author

n0samu commented Apr 15, 2023

Thanks so much for the quick resolution! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
None yet
Development

No branches or pull requests

2 participants