Create New Code Snippets from Existing Ones

Versions:  2008,2010Published:  4/24/2010Code:  vstipTool0016   Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!   One of the things you will want to do when you use snippets is change the default values.  Naturally, you can modify the values once the snippet is used:  …

0

Using the Code Snippets Manager

Keyboard:  CTRL + K, CTRL + BMenu:  Tools -> Code Snippets ManagerCommand:  Tools.CodeSnippetsManagerVersions:  2008,2010Published:  4/23/2010Code:  vstipTool0015     Have you used code snippets before?  Ever wonder where the heck you can get a list of them just to browse and see what is there?  Have I got a deal for you!  The Code Snippets Manager…

2

Using Code Snippets

Keyboard:  CTRL + K, CTRL + XMenu:  Edit -> IntelliSense -> Insert SnippetCommand:  Edit.InsertSnippetVersions:  2008,2010Published:  4/22/2010Code:  vstipEdit0053   Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!   I thought it would be instructive to demonstrate how to use snippets.  So, let’s say you are…

2

Surround with a Code Snippet

Keyboard:  CTRL + K, CTRL + SMenu:  Edit -> IntelliSense -> Surround WithCommand:  Edit.SurroundWithVersions:  2008,2010Published:  4/21/2010Code:  vstipEdit0052   Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!   This is one that even people who know about snippets tend to forget.  You can actually put…

8

Inserting Code Snippets

Keyboard:  CTRL + K, CTRL + XMenu:  Edit -> IntelliSense -> Insert SnippetCommand:  Edit.InsertSnippetVersions:  2008,2010Published:  4/20/2010Code:  vstipEdit0051   Download the seriously cool Tip of the Day Extension to get the daily tips delivered to your Start Page!   Let’s talk about snippets.  For some reason, even though these have been around for a while, people…

2