Change clang-format behaviour in regard to comments

master
Gernot Kranz 2 weeks ago
parent ccc4f57d97
commit 40c9c7bfc8

@ -3,8 +3,8 @@ Language: Cpp
Standard: c++17
DerivePointerAlignment: true
SortIncludes: Never
ReflowComments: false
CommentPragmas: '/\*\*(.+\n.+)+\*/'
ReflowComments: true
#CommentPragmas: '/\*\*(.+\n.+)+\*/'
PointerAlignment: Left
AlignAfterOpenBracket: AlwaysBreak
AlignOperands: AlignAfterOperator
@ -39,6 +39,9 @@ IndentWidth: 4
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
SpaceAfterTemplateKeyword: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: Always
IndentPPDirectives: BeforeHash

Loading…
Cancel
Save