切换枚举自动填充 [英] Switch enum auto-fill
本文介绍了切换枚举自动填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在VS 2013中键入带有枚举的开关,完成开关后,所有case语句会自动填写.现在我不能重复了.我不是在迷幻,开关自动填充了所有枚举选项,每个案例一个.浏览了VS 2013的MS文档,没有找到它.
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, the switch filled out with all enum options, one per case, automatically. Looked through MS docs for VS 2013 and didn't find it.
我使用了很多枚举,如果可以找到触发它的功能,此功能将为我节省大量时间.有人可以帮忙吗?
I use quite a few enums and this feature will save me a ton of time if I can find what it is I did to trigger it. Can anyone help?
推荐答案
使用代码片段sw(tab)(tab)
Use the code snipped sw(tab)(tab)
希望这会有所帮助,
这篇关于切换枚举自动填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文