Details
-
Sub-task
-
Resolution: Done
-
P2: Important
-
None
-
0762e4f8d9e728f6e6a604615621dcd19a6f7a48
Description
It would be nice if you add a function to auto generate all case labels for an enum.
E.g. if you have
enum Enum
;
Enum enu;
and write "switch(enu)" Qt Creator should auto generate
switch(enu){
case ABC: break;
case DEF: break;
case FOO: break;
}
The layout should be customizable, and there should be an option for return instead of break.
This gets really useful if you have a enum with hundred labels and have to handle every case...