-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcodedox-schema.json
133 lines (132 loc) · 3.74 KB
/
codedox-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"$schema": "http://json-schema.org/schema#",
"additionalProperties": false,
"required": ["codedox"],
"type": "object",
"title": "Codedox configuration",
"properties": {
"codedox": {
"description": "Codedox settings.",
"type": "object",
"additionalProperties": false,
"properties": {
"autoInsert": {
"description": "If true then insertion is triggered by typing the value of `commentbegin` or `headerbegin`",
"type": "boolean",
"default": true
},
"autoInsertHeader": {
"description": "If true then file header insertion is triggered by typing the value of `headerbegin`",
"type": "boolean",
"default": true
},
"autoPrefixOnEnter": {
"description": "If true then onEnterRules are added",
"type": "boolean",
"default": true
},
"neverAskTemplate": {
"description": "If true then never asks to select default template",
"type": "boolean",
"default": false
},
"paramFormat": {
"description": "Format of the @param tag, using ${name} and ${type} fields",
"type": "string",
"default": "@param ${name} "
},
"returnFormat": {
"description": "Format of the @return tag, using ${type} field",
"type": "string",
"default": "@return ${type}"
},
"allowOptionalArgs": {
"description": "If true, allows the '?' prefix for optional function args in @param tag",
"type": "boolean",
"default": false
},
"commentprefix": {
"description": "Per-line comment prefix",
"type": "string",
"default": " * "
},
"commentbegin": {
"description": "Start of function comment",
"type": "string",
"default": "/**"
},
"commentend": {
"description": "End of function comment",
"type": "string",
"default": " */"
},
"commentdescription": {
"description": "Initial text added to comment description",
"type": "string",
"default": "[Description]"
},
"alwaysMultiline": {
"description": "If true then all comments are multiline, else non-functions are single line",
"type": "boolean",
"default": true
},
"headerprefix": {
"description": "Per-line header prefix",
"type": "string",
"default": "*"
},
"headerbegin": {
"description": "Start of file header comment",
"type": "string",
"default": "/*"
},
"headerend": {
"description": "End of file header comment",
"type": "string",
"default": " */"
},
"fileheader": {
"description": "Settings for insertFileHeader command",
"type": "object",
"properties": {
"params": {
"description": "Parameters used to populate '${}' fields in a template. Contains groups of params keyed by language id",
"type": "object",
"properties": {
"*": {
"description": "Default params used regardless of which language id is used by the current editor",
"type": "object",
"additionalProperties": {
"oneOf": [
{"type": "string"},
{"type": "array", "items": {"type": "string"}}
]
}
}
},
"additionalProperties": {
"type": "object",
"additionalProperties": {"type": "string"}
}
},
"templates": {
"description": "Templates keyed by language id - each template is an array of strings containing text and optional '${}' fields",
"type": "object",
"properties": {
"*": {
"description": "Default template used when no language id specified",
"type": "array",
"items": {"type": "string"}
}
},
"additionalProperties": {
"type": "array",
"items": {"type": "string"}
}
}
}
}
}
}
}
}