forked from Vlad-Herus/CollapseRegionExtension
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Collapse Region Extension for Visual Studio | ||
|
||
Two new commands are exposed: | ||
|
||
- `RegionManagement.Expand` - Default shortcut: CTRL+R, CTRL+Num + | ||
- `RegionManagement.Collapse` - Default shortcut: CTRL+R, CTRL+Num - | ||
|
||
These shortcuts can be remapped in Tools > Options > Environment > Keyboard. | ||
|
||
Recognized regions: | ||
|
||
- `#region` - .cs files | ||
- `<!--region` - .xaml files | ||
- `#pragma region` - .cpp files | ||
|
||
### Compatibility | ||
|
||
- Visual Studio 2022 | ||
- Visual Studio 2019 | ||
- Visual Studio 2017 | ||
|
||
### Build | ||
|
||
Visual Studio 2022 is required to build the solution. Note that `Microsoft.VisualStudio.SDK` should have major version corresponding to the version of Visual Studio where the extension will run (e.g. nuget version 16.x for VS2019) and `Microsoft.VSSDK.BuildTools` should have major version corresponding to the version of Visual Studio that is used to _build_ the extension. | ||
|
||
### Additional Information | ||
|
||
This extension was forked from [Vlad-Herus/CollapseRegionExtension](https://github.com/Vlad-Herus/CollapseRegionExtension). | ||
|
||
Copyright (c) 2022 Matt Mower | ||
Copyright (c) 2018 VladimirUAZ |