XAML Regions extension for Visual Studio 2010

XAML Regions extension by Jacob Johnston helps you organize xaml code by grouping relevant elements and speeds up navigation by collapsing less important blocks of markup. You can create a region with two comment lines containing region/endregion keywords and then collapse and expand it as needed:

Region definition in comments for XAML editor in Visual Studio 2010

Region definition in comments for XAML editor in Visual Studio 2010


Collapsed region in XAML editor

Collapsed region in XAML editor

You can use any convention for the region keyword in a comment (region, Region, #Region), same with endregion (endregion, End Region, #EndRegion). The text after the region keyword forms visible region description.

The only suggestion I have for XAML Regions is to add a context menu command to the XAML editor to surround selection with a region (or add two commands to create and delete the region).

You can download the free XAML Regions extension for Visual Studio 2010 from Visual Studio Gallery.

 

 

Organize Visual Studio tabs with Tabs Studio add-in

This entry was posted in Reviews and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s