I mean that the last menu item should fill the switch-statement with the remaining enum items!
switch (myEnu|
Menu is shown with all current alternatives + "Add all myEnum constants" to produce the complete switch-statement!
Or, if I later type "case":
switch (myEnum)
{
case myEnum1:
break;
case my|
Menu is shown with all current alternatives + "Add all myEnum constants" to produce the complete switch-statement!
// Complete switch statement would look something like this:
switch (myEnum)
{
case myEnum1:
break;
case myEnum2:
break;
case myEnum3:
break;
default:
// ASSERT(FALSE);
break;
}
For enums with no name (e.g. enum { a, b, c };) you obviously need to change the string "Add all myEnum constants" to "Add all related enum constants" or similar. You do the English! :P