Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 2.06 KB

README.md

File metadata and controls

64 lines (39 loc) · 2.06 KB

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