autoformat code from command line

前端 未结 5 846
执念已碎
执念已碎 2020-12-14 01:59

Is it possible to run auto-format code for all or for specific file in solution, like (Ctrl+K, Ctrl+D) formatting in Visual Studio but from it`s command line? Or use Reshar

5条回答
  •  死守一世寂寞
    2020-12-14 02:22

    Not possible with Visual Studio, but there are command line utilities for this: http://astyle.sourceforge.net/astyle.html

提交回复
热议问题