mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
b90aaf9b8b
generally all the new added codes must be follow this style guildline. the developers are encourage to use various IDE tool to adapt this format style. Modern IDEs are usually support this .clang-format.
19 lines
510 B
YAML
19 lines
510 B
YAML
# Format Style Options - Created with Clang Power Tools
|
|
---
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: true
|
|
BasedOnStyle: LLVM
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBraces: Allman
|
|
BreakConstructorInitializers: AfterColon
|
|
ColumnLimit: 160
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth : 2
|
|
ContinuationIndentWidth: 2
|
|
MaxEmptyLinesToKeep: 2
|
|
PointerAlignment: Middle
|
|
SpacesInAngles: true
|
|
SpacesInParentheses: true
|
|
...
|