Reputation: 55200
Platform : ASP.NET Webforms 3.5 with C#
I dont see a snippet for generating functions in C#.
I have one for class, struct and all.
Is that feature not there or am i missing something obvious or is there some other way?
For example, I would like to enter function, then press TAB key two times to generate the snippet for function.
Upvotes: 3
Views: 1256
Reputation: 16613
There's none by default but you can simply navigate with Windows Explorer to
C:\Program Files\Microsoft Visual Studio 10.0\VC#\Snippets\1033
In there select a subfolder, copy paste a snippet, edit it with notepad to do what you want it to do.
Upvotes: 1