How to create your own custom code snippets in Visual Studio.

Snippet Symbol that appears in Intellisense window.

for e.g. in C# we have snippet like below:

ctor – for default class constructor

for – for default for loop snippet

prop – to create property

etc. So what you do is just type these words and double tap on TAB key and code get generated there just like that.

http://snippetdesigner.codeplex.com/releases/view/43862

Install the above plugin Restart your VisualStudio. Now follow below steps:

Go to Menu File-> New –> File.. option

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s