In C# if you start a snippet you press Tab to cycle through the snippet elements, and press Enter to complete and exit the snippet.
In VB.NET you still use Tab to cycle through the snippet elements, but how do you end the snippet? Enter doesn't work and I can't figure out the correct keyboard shortcut
VB snippets don't work the same way as C# snippets. VB snippets don't have an 'end' and instead stay active until you start typing outside of the snippet scope. The best method is to press esc (once or twice depending on your current selection) and then use the arrow keys to navigate.
A great 演示视频 http://msdn.microsoft.com/en-us/vstudio/ee625748.aspx可以在 MSDN 上找到。它主要关注 C#,但最后对 VB 片段进行了一些解释。
欲了解更多信息,请查看按键绑定海报 http://www.microsoft.com/en-us/download/details.aspx?id=13189
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)