Over a million developers have joined DZone.

Feel That Code Regions are the Devil's Work? Exorcise them with Regionator for VS2012


Visual Studio Gallery - Regionator

Regionator - removes (with vengeance) all the regions from your source with a simple click or keyboard shortcut (default Ctrl+Alt+Shift+K). Regions often hide code that should be open, organized and readable; other times they simply get in the way with unnecessary grouping that sometimes scross scopes. This extension removes all of the regions from your current c# and vb.net source file and replaces them with nothing.

This extension is open source. The sources can be found at:https://github.com/davidchipping/regionator all comments and pull requests are welcome.


Personally I don't mind regions and use them myself to help me focus on code of interest, but some feel regions are from the Devil, so might also find this tool very welcome.

Love that he released the source... :)


Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}