Provides support for adding XAML code snippets in the Visual Studio 2010 code editor for XAML in WPF and Silverlight projects.
The addin has been written in Visual Basic 2010 and actually targetsVisual Studio 2010 RTM. It uses and creates classic .Snippet files for XML syntax. At runtime the XML markup is simply pasted as XAML in the code editor.
See the add-in workspace on CodePlex for screenshots.
October 2010 Update: I just published an automatic installer for the add-in. It is called XamlCodeSnippets.vsi, so check it out in case you don't want to download the source code but you just want the addin.
LIMITATIONS AND FUTURE IMPROVEMENTS There are some limitations: for example, the addin creates dialogs for inserting and exporting snippets. This is because the XAML code editor doesn't actually support code snippets like in VB or C# editors; then, in order to browse for snippets subfolder you need to click the "..." button each time you want to move to a different folder; another limitation is that you need to manually organize snippets in subfolders. Also, there is no support for the Code Snippet Manager tool (and the reason is still that the XAML editor has no native snippets support).
FEEDBACK Please provide your feedback. I'm very interested in understanding if you like using the classic .Snippet file format by storing XAML code in the form of XML.