How can I configure ReSharper's code cleanup on save?

前端 未结 8 1750
时光取名叫无心
时光取名叫无心 2020-12-08 13:56

I would love to configure Visual Studio/ReSharper to run \"Code cleanup\" whenever I save a file.

A bonus would be to configure this only for C# files, as I sometime

8条回答
  •  青春惊慌失措
    2020-12-08 14:13

    I just published a free Visual Studio Extension that automates a similar script, for easier setup. You might want to give that a try at http://blog.pedropombeiro.com/keeping-code-formatted-the-easy-way/.

提交回复
热议问题