Project DescriptionThis 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:
Then, customize your snippet's properties in the appearing window. The following is a screen shot of the window where you can customize attributes:
Then, you can easily add your code snippet using Intellisense:
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