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: