Merge pull request #2240 from makefu/master
[far2l.git] / .clang-format.json
blobbae3b1d2d5bc6af3aed936dfb761b1fed796c0a3
2   "$schema": "http://json-schema.org/draft-07/schema#",
3   "$id": "far2l-clang-format",
4   "title": "ClangFormat Options for far2l",
5   "allOf": [
6     {
7       "$ref": "http://jetbrains.com/schema/clangformat.json"
8     }
9   ],
10   "properties": {
11     "UseTab": {
12       "title": "The way to use tab characters in the resulting file.",
13       "x-intellij-html-description": "Modified to match https://github.com/elfmz/llvm-project",
14       "enum": [
15         "Never",
16         "ForIndentation",
17         "ForContinuationAndIndentation",
18         "AlignWithSpaces",
19         "Always",
20         "ForContinuationAndIndentationAndComments"
21       ],
22       "type": "string"
23     },
24     "AlignByTab": {
25       "title": "Align by tab.",
26       "x-intellij-html-description": "Added to match https://github.com/elfmz/llvm-project",
27       "type": "boolean"
28     },
29     "BreakConstructorInitializers": {
30       "title": "Break constructor initializers.",
31       "x-intellij-html-description": "Modified to match https://github.com/elfmz/llvm-project",
32       "enum": [
33         "AfterColonSeparated"
34       ],
35       "type": "string"
36     },
37     "SpaceBeforeAssignmentOperators": {
38       "title": "If `false`, spaces will be removed before assignment operators.",
39       "x-intellij-html-description": "Modified to match https://github.com/elfmz/llvm-project",
40       "enum": [
41         "OnlyTrivial"
42       ],
43       "type": "string"
44     },
45     "AlignConsecutiveMembersAssignments": {
46       "title": "Align consecutive members assignments.",
47       "x-intellij-html-description": "Added to match https://github.com/elfmz/llvm-project",
48       "type": "boolean"
49     },
50     "AllowLongTrailingComments": {
51       "title": "Allow long trailing comments.",
52       "x-intellij-html-description": "Added to match https://github.com/elfmz/llvm-project",
53       "type": "boolean"
54     }
55   }