Alessandro Del Sole's Blog

/* A programming space about Microsoft® .NET® */

  Home :: Contact :: Syndication  :: Login
  80 Posts :: 10 Stories :: 388 Comments :: 2327 Trackbacks

News

Your host

This is me! This space is about Microsoft® .NET® and Microsoft® Visual Basic development. Enjoy! :-)

These postings are provided 'AS IS' for entertainment purposes only with absolutely no warranty expressed or implied and confer no rights.

Microsoft MVP

My MVP Profile

I'm a VB!

Watch my interview in Seattle

My new book on VB 2010

Order my book about VB 2010 on Amazon My book "Visual Basic 2010 Unleashed" is available. Click the cover!

Your visits

Windows Live Alerts

Vsi Builder 2008

My tool for VS 2005/2008 Download Vsi Builder, my dev tool for Visual Studio 2005/2008!

Follow me on Twitter!

Messenger me!


Grab this badge here!

CyberInstaller Beta Tester

Download CIS 2008!!

CodePlex download Download my open-source projects from CodePlex!

Search the blog



Article Categories

Archives

Post Categories

.NET Framework

Blogroll

Help Authoring

Microsoft & MSDN

Setup & Deployment

Visual Basic 2005/2008/2010

I just published onto CodePlex a new WPF project, an addin for Visual Studio 2010 which allows adding and exporting XAML code snippets and that is supported by both WPF and Silverlight editors. You simply need to right click inside the XAML code editor and select the command you need (insert or export). The addin uses the classic .Snippet file format and the code is saved (or read) as XML. I took this approach to maintain compatibility with the VS .Snippet format.

Screenshots, getting started instructions and the source code, in Visual Basic 2010, are available in the project workspace here.

Since the XAML editor does not natively support code snippets, differently from VB/C#, there are some limitations. For instance, I built a couple of dialogs so there are no popups like in managed languages and there are no replacements: the XAML code editor isn't able of recognizing them, so adding replacements in code would result in errors.

Of course there are several improvements for future releases, such as grouping commands into submenus, implementing XAML preview, popups instead of dialogs and other interesting things but this is just the first release and I would appreciate your feedback to understand if the project is useful before planning other features.

Alessandro

posted on Wednesday, March 24, 2010 11:47 PM

Feedback

# XAML Editor love – via VS 2010 Extensions 3/25/2010 12:53 AM Rob Relyea - XAMLified
Fun to see this kind of thing getting started! Alessandro Del Sole: XAML Code Snippets, a new addin for

#  XAML Code Snippets, a new addin for VS 2010 | GetVB.com 3/25/2010 1:06 AM Pingback/TrackBack
XAML Code Snippets, a new addin for VS 2010 | GetVB.com

# XAML Code Snippets, a new addin for VS 2010 3/25/2010 8:05 AM Pingback/TrackBack
XAML Code Snippets, a new addin for VS 2010

# re: XAML Code Snippets, a new addin for VS 2010 3/25/2010 11:10 PM Alessandro Del Sole
Thanks to both Karl and Rob for your feedback!

# Internet Marketing Ideas for Success | Internet Marketing - Wholesale Electronics 3/26/2010 7:27 AM Pingback/TrackBack
Internet Marketing Ideas for Success | Internet Marketing - Wholesale Electronics

# Use Auto Content Cash for Niche Marketing blog SEO | Niche Marketing Ideas | Niche blog-Nichec.com 3/27/2010 8:28 AM Pingback/TrackBack
Use Auto Content Cash for Niche Marketing blog SEO | Niche Marketing Ideas | Niche blog-Nichec.com

# Use Auto Content Cash for Niche Marketing blog SEO | Niche Marketing Ideas | Niche blog-Nichec.com 3/27/2010 8:28 AM Pingback/TrackBack
Use Auto Content Cash for Niche Marketing blog SEO | Niche Marketing Ideas | Niche blog-Nichec.com

# re: XAML Code Snippets, a new addin for VS 2010 4/1/2010 2:44 PM PerlDev
Does it work for VS2008?

# re: XAML Code Snippets, a new addin for VS 2010 4/1/2010 2:55 PM Alessandro Del Sole
Nope, it targets VS 2010. Thanks.

# Wordpress Ebook Review: Success With Wordpress | Host Rage 4/3/2010 2:05 PM Pingback/TrackBack
Wordpress Ebook Review: Success With Wordpress | Host Rage

# Windows Client Developer Roundup for 4/5/2010 4/5/2010 8:20 AM Microsoft Weblogs
This is Windows Client Developer roundup #19. The Windows Client Developer Roundup aggregates information

# Windows Client Developer Roundup for 4/5/2010 4/5/2010 8:20 AM Community Blogs
This is Windows Client Developer roundup #19. The Windows Client Developer Roundup aggregates information

Post Feedback

Title:
Name:
Url:
Comments: 
Codice di sicurezza
Protected by FormShield