I know that in Visual Studio 2013 and below there is an option to turn on/off automatic surrounding of generated code with #region
at Tools > Options > Text Editor > C# > Advanced> Surround generated code with #region
, but that option seems to be removed in Visual Studio 2015...
Is there a way to turn this back on?
You may want to look into CodeMaid at the Visual Studio Gallery. According to the description:
Reorganize the layout of members in a C# file to follow Microsoft’s StyleCop convention, or your own preferences. Automatically generate regions to match. Run on demand or automatically during cleanup.
From what I can tell, this may give you the feature to want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With