RegionExpander is a free and opensource extension for Visual Studio 2017 to automatically expand all regions when opening a C# document. You will no longer have the problem of not overseeing the code because of excessive usage of regions, which are closed by default (in some projects). Closing regions, is no longer possible, because as soon as the region gets closed, it will be reopened. This is something that could be changed. As of today, regions will show up as 'Unnecessary Code' and will be less visible. Release notes can be found here. The source code is licensed under the MIT license. The source code is available on GitHub and I accept Pull Requests for improvements on the current functionality. New features are also welcome, but I won't promise that they will make it in the extension itself. Things on my wishlist:
|