Skip to content

Commit

Permalink
Add README and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmower committed Oct 28, 2022
1 parent 645d1d1 commit 4eb9b81
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2022 Matt Mower
Copyright (c) 2018 VladimirUAZ

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
31 changes: 31 additions & 0 deletions README.md
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

0 comments on commit 4eb9b81

Please sign in to comment.