Skip to content

swssr/region-wrapper

Repository files navigation

Region Folding Extension for Visual Studio Code

This extension for Visual Studio Code allows users to easily wrap blocks of code with #region and #endregion comments, providing better organization and readability. It also displays a tree view of the regions in each file.

Features

  • Easily wrap selected code in #region and #endregion comments
  • Assign a custom name to each region
  • View a list of regions in each file in the Activity Bar

Usage

  1. Select a block of code that you want to wrap in a region.
  2. Right-click and select "Wrap with Region", or use the Command Palette to run the "Wrap with Region" command.
  3. Enter a name for the region in the input box.
  4. The selected code will be wrapped in #region and #endregion comments.

The tree view in the Activity Bar will automatically update to reflect the current regions in each file.

Known Issues

Please report any bugs or feature requests in the GitHub issues for this project.

Release Notes

1.0.0

Initial release of Region Folding Extension for VS Code.

About

vscode extension to wrap blocks of code with #region and #endregion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published