Wednesday, October 17, 2012

XAML Regions updated for VS2012, with XML support added - Yes, Regions for your XML and/or XAML... muhahahahaha

Code !t - Adding regions to your xml files in Visual Studio

Most of the website we maintain and develop at Telerik, needs the ability to redirects urls. Because of this, there are lots of legacy urls and the files that describe those redirects quickly get enormous (thousand of lines). Unfortunately, Visual Studio doesn't gives you the option to organize xml documents into regions as with the c# files.

Luckily, I stumbled upon a very useful extension for Visual Studio that does exactly this. It is presented as tool for organizing XAML files, but actually it deals with every xml document. I already tried it and it works great with both VS 2010 and VS 2012.

image

..."

Visual Studio Gallery - XAML Regions

"...

Updated in 0.5

  • Added support for Visual Studio 2012
  • Added support for XML files (including .config files)

A small extension that adds the ability to define collapsable regions in XAML code. It recognizes region definitions that are defined inside of XML comments so that code designed using this extension will have no problems compiling in environments that do not have this extension.

...

SNAGHTML1265cfe"

I missed when this was updated. But luckily Емил pointed it out today. I mean who doesn't want more regions :P (Actually, I like regions when used in moderation...)

 

Related Past Post XRef:
Regions are not just for code anymore... XAML Regions

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...