Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Toggle Regions 2019

Toggle Regions 2019

Matt Mower

|
4 installs
| (0) | Free
Collapse or expand #regions in code editor tabs.

Toggle Regions Extension for Visual Studio 2019

Quickly collapse or expand all region sections in a code editor tab.

Recognized regions:

  • #region - .cs files
  • <!--region - .xaml files
  • #pragma region - .cpp files

Configurable Commands

Two commands are added to the Outlining menu: "Expand all regions" and "Collapse all regions".

These commands are exposed to Visual Studio as:

  • RegionManagement.Expand - Default shortcut: CTRL+R, CTRL+Num +
  • RegionManagement.Collapse - Default shortcut: CTRL+R, CTRL+Num -

... and can be remapped in Tools > Options > Environment > Keyboard.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft