How to format all files in Visual Studio 2012?

后端 未结 6 784
-上瘾入骨i
-上瘾入骨i 2021-01-30 17:37

With previous versions of Visual Studio, I used Kevin Pilch-Bisson\'s script to format all C# files in my solution.

VS2012 dropped macro support, so that doesn\'t work a

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 18:02

    You can use CodeMaid, a free plugin for VS2012. That allow you to clean, reorganize your code. I always use it before checking my code with StyleCop

提交回复
热议问题