-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforgevsc.schema.json
More file actions
146 lines (146 loc) · 5.9 KB
/
forgevsc.schema.json
File metadata and controls
146 lines (146 loc) · 5.9 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ForgeVSC Config",
"type": "object",
"additionalProperties": false,
"properties": {
"customFunctionPaths": {
"type": ["string", "array"],
"items": {
"type": "string"
},
"default": [],
"uniqueItems": true,
"description": "Path(s) to your custom functions folder(s). This is used to generate metadata and to provide full extension feature support for your custom functions."
},
"additionalPackages": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true,
"description": "Additional packages/extensions to fetch metadata from. By default, installed Forge packages are detected automatically. This property is only needed if metadata fetching fails or you want to include extra packages."
},
"colors": {
"type": "object",
"additionalProperties": false,
"description": "The individual highlight colors used for syntax highlighting.",
"properties": {
"function": {
"type": "object",
"additionalProperties": false,
"description": "The highlight colors used for single function parts.",
"properties": {
"name": {
"type": "string",
"default": "#AC75FF",
"description": "The highlight color used for function names.",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #AC75FF"
},
"dollar": {
"type": "string",
"default": "#FE7CEB",
"description": "The highlight color used for function dollar signs ($).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #FE7CEB"
},
"semicolon": {
"type": "string",
"default": "#C586C0",
"description": "The highlight color used for function semicolons (;).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #C586C0"
}
}
},
"arguments": {
"type": "object",
"additionalProperties": false,
"description": "The highlight colors used for function argument parts.",
"properties": {
"condition": {
"type": "string",
"default": "#4FC1FF",
"description": "The highlight color used for argument condition operators.",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #4FC1FF"
}
}
},
"operators": {
"type": "object",
"additionalProperties": false,
"description": "The highlight colors used for function operators.",
"properties": {
"negation": {
"type": "string",
"default": "#4FA3FF",
"description": "The highlight color used for the negation operator (!).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #4FA3FF"
},
"silent": {
"type": "string",
"default": "#FF9F43",
"description": "The highlight color used for the silent operator (#).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #FF9F43"
},
"count": {
"type": "string",
"default": "#33D17A",
"description": "The highlight color used for the count operator (@[x]).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #33D17A"
},
"countDelimiter": {
"type": "string",
"default": "#76E3A0",
"description": "The highlight color used for the count operator delimiter (separator).",
"pattern": "^(?:#?(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}(?:[0-9a-fA-F]{2})?))?$",
"errorMessage": "Input must be a valid hex color, e.g. #76E3A0"
}
}
}
}
},
"features": {
"type": "object",
"additionalProperties": false,
"description": "The default features included within the extension. You can choose individually which ones to enable or disable.",
"properties": {
"folding": {
"type": "boolean",
"default": true,
"description": "Whether folding for multi-line function contents should be enabled."
},
"hoverInfo": {
"type": "boolean",
"default": true,
"description": "Whether hover info cards for functions and operators should be enabled."
},
"suggestions": {
"type": "boolean",
"default": true,
"description": "Whether suggestions for bracket placement should be enabled."
},
"signatureHelp": {
"type": "boolean",
"default": true,
"description": "Whether signature help for function arguments should be enabled."
},
"diagnostics": {
"type": "boolean",
"default": true,
"description": "Whether diagnostics for function validation should be enabled."
},
"autocompletion": {
"type": "boolean",
"default": true,
"description": "Whether autocompletion for functions and arguments should be enabled."
}
}
}
}
}