Skip to content

A Visual Studio extension that adds support for regions in XML files

License

Notifications You must be signed in to change notification settings

tobiashein/XmlRegions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML Regions

AppVeyor Visual Studio Marketplace Installs Donate

A Visual Studio extension that adds support for regions in XML files.

You can download the extension from the Visual Studio Marketplace or get the latest CI build. See the change log for the latest changes.

Features

  • Region outlining
  • Display region name in collapsed mode
  • Snippet for inserting regions

Outlining

To insert a region simply surround the required lines with the following XML comments.

<!-- #region -->
...
<!-- #endregion -->

Named regions are support by providing a name within the XML comment. Providing a name in the closing XML comment is optional.

<!-- #region My Region -->
...
<!-- #endregion My Region -->

Named region example

Unnamed region example

Snippet

A code snippet to quickly insert new regions is provided.

Snippet example 1

Snippet example 2

Release Notes

v1.1.0

  • Add support for Visual Studio 2022

v1.0.0

  • Initial release

License

MIT

Icon by Michael Irigoyen (@mririgo)

Inspired by XAML Regions and JavaScriptRegions

About

A Visual Studio extension that adds support for regions in XML files

Resources

License

Stars

Watchers

Forks

Packages

No packages published