VS Code 中格式化C#
参考:https://csharpier.com/docs/Configuration
1.安装插件
CSharpier
2.创建配置文件
.csharpierrc.json
{ "printWidth": 102400, "useTabs": false, "tabWidth": 2, "preprocessorSymbolSets": [ "", "DEBUG", "DEBUG,CODE_STYLE" ] }
放入工程的根目录中
参考:https://csharpier.com/docs/Configuration
1.安装插件
CSharpier
2.创建配置文件
.csharpierrc.json
{ "printWidth": 102400, "useTabs": false, "tabWidth": 2, "preprocessorSymbolSets": [ "", "DEBUG", "DEBUG,CODE_STYLE" ] }
放入工程的根目录中