Switch enum auto-fill

后端 未结 9 2097
故里飘歌
故里飘歌 2020-12-24 00:23

I was typing a switch with an enum in VS 2013 and all case statements filled out automatically after I finished the switch. Now I can\'t repeat it. I was not hallucinating,

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-24 00:40

    Hi I just ran into the same problem, I just found out that when you do:

    switch(nameofvariable){
      default:
      break;
    }
    

    when you are filling the variable and you double click on the variable of your choice (the enum) it will give you all the cases

提交回复
热议问题