IntelliSense Code Snippets
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
Using IntelliSenseCodeSnippets allows you to specify a shortcut name for a block of code and then just press the tab key to complete it.
[edit]
Code Snippet Creation
If you want to create your code snippets by hand then you will need the XML schema for them.
Author: <textarea id="hAuthor" rows="1" cols="40"></textarea> Description: <textarea id="hDescription" rows="1" cols="40"></textarea> HelpUrl: <textarea id="hHelpUrl" rows="1" cols="40"></textarea> Keywords: <textarea id="hKeywords" rows="1" cols="40"></textarea> Shortcut: <textarea id="hShortcut" rows="1" cols="40"></textarea> SnippetTypes: <textarea id="hSnippetTypes" rows="1" cols="40"></textarea> Title: <textarea id="hTitle" rows="1" cols="40"></textarea> Code: <textarea id="mCode" rows="7" cols="40"></textarea>
<button onclick="gensnippet()">Generate snippet</button>
<div id="snippet"></div>