-
Notifications
You must be signed in to change notification settings - Fork 1
/
package-ctructureconf-schema.json
73 lines (73 loc) · 2.04 KB
/
package-ctructureconf-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
{
"title": "Schema for ctructureconf.json",
"definitions": {
"optionsDefinition": {
"type": "object",
"properties": {
"formatAllWorkspaceFolders.showLogs": {
"description": "",
"default": true,
"type": "boolean"
},
"formatWorkspaceFolder.showLogs": {
"description": "",
"default": true,
"type": "boolean"
},
"printer.indentationSize": {
"description": "Number of spaces per indentation level.",
"default": 2,
"type": "integer"
},
"printer.indentationType": {
"description": "Desired indentation type",
"default": "spaces",
"oneOf": [
{
"enum": ["spaces"],
"description": ""
},
{
"enum": ["tabs"],
"description": "printer.indentationSize will not change the indentation size when tabs are used"
}
]
},
"printer.lineEndings": {
"description": "Which end of line characters to apply",
"default": "lf",
"oneOf": [
{
"enum": ["lf"]
},
{
"enum": ["crlf"]
}
]
},
"printer.lineWidth": {
"description": "The line width at which Ctructure will try to wrap",
"default": 80,
"type": "integer"
},
"printer.multiVariableAlwaysNewline": {
"description": "Always put variables in multi-variable declarations on separate lines",
"default": false,
"type": "boolean"
},
"printer.multiVariableMatchIndent": {
"description": "Indent variables in multi-variable declarations to match the first variable's indentation",
"default": false,
"type": "boolean"
}
}
}
},
"oneOf": [
{
"type": "object",
"allOf": [{ "$ref": "#/definitions/optionsDefinition" }]
},
{ "type": "string" }
]
}