.clang-format 565 B

1234567891011121314151617181920212223242526
  1. Language: Cpp
  2. BasedOnStyle: Microsoft
  3. IndentWidth: 4
  4. IncludeBlocks: Preserve
  5. ColumnLimit: 0
  6. IndentCaseLabels: false
  7. NamespaceIndentation: All
  8. AlignConsecutiveAssignments: true
  9. AlignConsecutiveDeclarations: true
  10. BinPackArguments: false
  11. BinPackParameters: false
  12. MaxEmptyLinesToKeep: 1
  13. # 允许重新排版注释
  14. ReflowComments: false
  15. # tab宽度
  16. TabWidth: 4
  17. AccessModifierOffset: -4
  18. SortIncludes: false
  19. BraceWrapping:
  20. AfterCaseLabel: true
  21. Cpp11BracedListStyle: true
  22. AlignConsecutiveMacros: true
  23. FixNamespaceComments: false
  24. AlignAfterOpenBracket: true
  25. UseTab: Never