match case assistant for enums
已回答
Is there a way to get the list of all possible enum values in the "match" clause?
i mean, when i match an enum variable, i would like to get all the cases without having to type them one by one
请先登录再写评论。
It's not possible at the moment, but there is a feature request in our issue tracker https://youtrack.jetbrains.com/issue/PY-57634/Add-create-missing-branches-option-to-match-statement-for-enums-unions