Skip to content
| Marketplace
Sign in
Visual Studio>Tools>C# Code Region Snippets (vs2013, vs2015)
C# Code Region Snippets (vs2013, vs2015)

C# Code Region Snippets (vs2013, vs2015)

Yur S

|
915 clicks
| (0) | Free
This lightweight extension allows to add Code Regions with same name at region start and region end marks for C# code in vs2013, vs2015.
Get Started

This lightweight extension allows to add Code Regions with same name at region start and region end marks for C# code in vs2013, vs2015.

See the change log for changes and road map.

Features

  • Code region snippet with custom name
  • Code region snippet with fixed name
  • Fixed set of code regions snippet

Code regions snippets invoking options:

  1. By shortcut Ctrl+k, Ctrl+s.

    1.1. Select code that should be surrounded with region (or just put the cursor in some place) and type Ctrl+k, Ctrl+s.

    Shortcut Ctrl+k, Ctrl+s

    1.2. Click on Regions folder.

    Regions folder

  2. By snippet hotkey.

    2.1. By typing a #r on an empty line, a list of snippets appears. Hit Tab twice on the snippet you want and it will be inserted.

    Regions folder

Code region snippet with custom name

Surrounds the code with regions marks when the same region name appeares in both marks

Region with custom name

Code region snippet with fixed name

Surrounds code with regions marks when the region name is predefined for:

  • Events
  • Fields
  • Properties
  • Constructors
  • Methods

Fixed set of code regions snippet

Adds predefined set of regions for:

  • Class

    Regions set 4 class

  • Interface

    Regions set 4 interface

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0 

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft