La simu multi-agents qui repeint une image, mais en c++ Boilerplate pompé ici : https://github.com/andrew-r-king/sfml-vscode-boilerplate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.clang-format 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Clang version 9.0.0
  2. Language: Cpp
  3. AccessModifierOffset: -4
  4. AllowShortBlocksOnASingleLine: false
  5. AlwaysBreakTemplateDeclarations: Yes
  6. AlignConsecutiveAssignments: false
  7. AlignConsecutiveDeclarations: false
  8. AlignOperands: false
  9. AlignTrailingComments: true
  10. AlignAfterOpenBracket: DontAlign
  11. AllowAllConstructorInitializersOnNextLine: false
  12. ConstructorInitializerAllOnOneLineOrOnePerLine: true
  13. AllowShortCaseLabelsOnASingleLine: true
  14. AllowShortIfStatementsOnASingleLine: false
  15. AllowShortFunctionsOnASingleLine: false
  16. BinPackArguments: false
  17. BreakBeforeBinaryOperators: NonAssignment
  18. BreakBeforeTernaryOperators: false
  19. BreakConstructorInitializers: AfterColon
  20. BreakInheritanceList: AfterColon
  21. BreakStringLiterals: false
  22. ColumnLimit: 0
  23. CompactNamespaces: false
  24. FixNamespaceComments: false
  25. ContinuationIndentWidth: 4
  26. Cpp11BracedListStyle: false
  27. ExperimentalAutoDetectBinPacking: false
  28. IndentCaseLabels: true
  29. IndentPPDirectives: BeforeHash
  30. IndentWidth: 4
  31. MaxEmptyLinesToKeep: 1
  32. NamespaceIndentation: None
  33. PointerAlignment: Left
  34. ReflowComments: false
  35. SpaceAfterCStyleCast: false
  36. SpaceAfterTemplateKeyword: true
  37. SpaceBeforeCpp11BracedList: true
  38. SpacesInAngles: false
  39. SpacesInContainerLiterals: false
  40. SpacesInParentheses: false
  41. SpacesInSquareBrackets: false
  42. Standard: Cpp11
  43. TabWidth: 4
  44. UseTab: Always
  45. BreakBeforeBraces: Custom
  46. BraceWrapping:
  47. AfterCaseLabel: false
  48. AfterClass: true
  49. AfterControlStatement: true
  50. AfterEnum: true
  51. AfterFunction: true
  52. AfterNamespace: true
  53. AfterStruct: true
  54. AfterUnion: true
  55. AfterExternBlock: true
  56. BeforeCatch: true
  57. BeforeElse: true
  58. IndentBraces: false
  59. SplitEmptyFunction: false
  60. SplitEmptyRecord: false
  61. SplitEmptyNamespace: true