Project Description
This add-in for Visual Studio 2008 allows to export selected code as a reusable Code Snippet (.snippet file format) for Visual Studio 2008. Complete Visual Basic 2008 source code and a documentation file are provided.

Select your code within the editor, right click and choose the Export as Code Snippet command. Specify snippet's attributes and you're done!


The add-in adds a menu item to the Code Window context menu. After you select a code snippet in the code editor, just right click the selection. Select the "Export as Code Snippet" command from the context menu:

contextmenu.jpg

Then, customize your snippet's properties in the appearing window. The following is a screen shot of the window where you can customize attributes:

exportascodesnippet.jpg

Then, you can easily add your code snippet using Intellisense:

addsnippet.jpg

This add-in assumes you have a little bit of familiarity with Microsoft XML Schema for Code Snippets, which you can find here.

Available materials:
1. Full Visual Basic 2008 source code
2. XPS Document with explanations
3. Video tutorial about add-in's usage (in webcast style)
4. Installer package (which contains binary add-in, source code, documentation and video)

Programming techniques you can learn

1. Fundamentals of add-in programming
2. Fundamentals of how manage elements in the Visual Studio IDE
3. Use of LINQ-to-Xml and XML Literals in VB 2008 for creating XML Documents from scratch
4. Techniques for checking permissions to write files and show UI elements according to .NET Code Access Security
5. Data-binding between DataGridView controls and generic collections

The run-time binary installer features CyberInstaller Suite.

Please, visit my Italian blog

Alessandro Del Sole

Last edited Mar 18 2008 at 10:11 PM by AlessandroDelSole, version 8
Comments
silverblack wrote  Mar 21 2008 at 1:46 AM 
Great piece of software Alessandro! Keep up the good job! :-)

gclpixel wrote  May 9 2008 at 8:32 AM 
What is with C# support?

AlessandroDelSole wrote  Jun 2 2008 at 10:48 PM 
"C# support" means that you can export C# code snippets too.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291