-
Notifications
You must be signed in to change notification settings - Fork 125
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
[Feature Request] - Enum Categorization #96
Comments
Hi! Can you provide a use-case for me? How do you think this feature should work with an example enum, etc. |
Well, the thing isn't just to search in bigger enums, but categorize them, or tag them for specific selection Example enum:
Example filtering: This is just a simple case, but as you can see everything fits under the ChoosableClass enum, but some things have different categories, and maybe I wanna be able to choose in some cases between just specific categories of that single enum, hope this makes more sense and is more specific |
Yes, I can implement something similar. Alternatively and something more lightweight you can use Flag-based "categories" like this:
I can implement drawer that allows only enum values that match provided flag. |
So basically "ranged" is never picked but is instead used to check if what I selected is within "ranged", correct? |
Hi, I'm back annoying you with yet another feature request that might be cool. This time I'm talking about enum categorization, it would be useful to have a way to assign categories/groups to enum values and be able to fold them and/or filter them in the inspector, would be useful to have more order, especially if enums start having a lot of options.
The text was updated successfully, but these errors were encountered: