开发者

How to use Visual Studio Autoformat from script?

开发者 https://www.devze.com 2023-03-26 12:45 出处:网络
We all know Visual Studio\'s Edit > Format Document (Ctrl+K,Ctrl+D). Is it possible to use Powershell (or 开发者_运维技巧any other script) to run this on a number of .cs files?Not same thing as VS, b

We all know Visual Studio's Edit > Format Document (Ctrl+K,Ctrl+D).

Is it possible to use Powershell (or 开发者_运维技巧any other script) to run this on a number of .cs files?


Not same thing as VS, but there is NArrange:

http://www.narrange.net/

It is console based.

0

精彩评论

暂无评论...
验证码 换一张
取 消