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.
- 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
- Select a block of code that you want to wrap in a region.
- Right-click and select "Wrap with Region", or use the Command Palette to run the "Wrap with Region" command.
- Enter a name for the region in the input box.
- 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.
Please report any bugs or feature requests in the GitHub issues for this project.
Initial release of Region Folding Extension for VS Code.