Any way to surround code block with Curly Braces {} in VS2008?

后端 未结 8 2107
-上瘾入骨i
-上瘾入骨i 2020-12-13 12:42

I always find myself needing to enclose a block of code in curly braces { }, but unfortunately that isn\'t included in the C# surround code snippets, which

8条回答
  •  渐次进展
    2020-12-13 13:19

    Make your own custom code snippet for doing that. You can use snippy to create your own http://blogs.msdn.com/gusperez/articles/93681.aspx or just use an XML editor to create one.

    Put the file in My Documents\Visual Studio XXXX\Code Snippets\C#\My Code Snippets

提交回复
热议问题