vs code auto generate switch code example
Example: autopopulate switch statement visual studio
//writing a switch based on an enum:
//1. type 'sw' and press TAB 2x
//2. type name of enum variable
//4. click within the {} of the switch statement.
//NOTE: if ever adding new enum values after switch is created,
//click inside the word 'switch', click the lightbulb,
//then click 'add missing cases'