Automatically surround generated code with #region when implementing interfaces at Visual Studio 2015

前端 未结 2 1207
执念已碎
执念已碎 2021-02-04 00:49

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 >

2条回答
  •  醉酒成梦
    2021-02-04 01:23

    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.

提交回复
热议问题