# 参考自 https://learn.microsoft.com/zh-cn/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options
root = true



# 所有文件
[*]
charset = utf-8




# CS文件
[*.cs]

indent_style = tab
indent_size = 4
tab_width = 4


# if (...) {
#     ...
# }
csharp_new_line_before_open_brace = none
# if (...) {
#     ...
# } else {
#     ...
# }
#csharp_new_line_before_else = false
# try {
#     ...
# } catch (Exception e) {
#     ...
# }
#csharp_new_line_before_catch = false
# try {
#     ...
# } catch (Exception e) {
#     ...
# } finally {
#     ...
# }
#csharp_new_line_before_finally = false
# 错误提示,如果不正常可以删掉
# dotnet_diagnostic.IDE0055.severity = error