-
Notifications
You must be signed in to change notification settings - Fork 0
/
sublime-package.json
259 lines (259 loc) · 11.4 KB
/
sublime-package.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
{
"contributions": {
"settings": [
{
"file_patterns": [
"/LSP-html.sublime-settings"
],
"schema": {
"$id": "sublime://settings/LSP-html",
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-html#/definitions/PluginConfig"
}
],
"definitions": {
"PluginConfig": {
"properties": {
"initializationOptions": {
"type": "object",
"additionalProperties": false,
"properties": {
"embeddedLanguages": {
"type": "object",
"properties": {
"css": {
"type": "boolean",
"default": true
},
"javascript": {
"type": "boolean",
"default": true
}
},
"additionalProperties": false,
},
"handledSchemas": {
"type": "array",
"items": {
"type": "string"
},
"default": ["file"],
"markdownDescription": "Types of protocols that the server supports for URIs/paths provided through `html.customData`."
},
"provideFormatter": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether server provides formatter capabilities."
}
},
},
"settings": {
// Dissabling this because this server also accepts settings from LSP-css.
// "additionalProperties": false,
"properties": {
"html.autoClosingTags": {
"default": true,
"description": "Enable/disable autoclosing of HTML tags.",
"type": "boolean"
},
"html.autoCreateQuotes": {
"default": true,
"description": "Enable/disable auto creation of quotes for HTML attribute assignment. The type of quotes can be configured by `#html.completion.attributeDefaultValue#`.",
"type": "boolean"
},
"html.completion.attributeDefaultValue": {
"default": "doublequotes",
"description": "Controls the default value for attributes when completion is accepted.",
"enum": [
"doublequotes",
"singlequotes",
"empty"
],
"enumDescriptions": [
"Attribute value is set to \"\".",
"Attribute value is set to ''.",
"Attribute value is not set."
],
"type": "string"
},
"html.customData": {
"default": [],
"items": {
"type": "string"
},
"markdownDescription": "A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-html-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its HTML support for the custom HTML tags, attributes and attribute values you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.",
"type": "array"
},
"html.format.contentUnformatted": {
"default": "pre,code,textarea",
"markdownDescription": "List of tags, comma separated, where the content shouldn't be reformatted. `null` defaults to the `pre` tag.",
"type": [
"string",
"null"
]
},
"html.format.enable": {
"default": true,
"description": "Enable/disable default HTML formatter.",
"type": "boolean"
},
"html.format.extraLiners": {
"default": "head, body, /html",
"markdownDescription": "List of tags, comma separated, that should have an extra newline before them. `null` defaults to `\"head, body, /html\"`.",
"type": [
"string",
"null"
]
},
"html.format.indentHandlebars": {
"default": false,
"markdownDescription": "Format and indent `{{#foo}}` and `{{/foo}}`.",
"type": "boolean"
},
"html.format.indentInnerHtml": {
"default": false,
"markdownDescription": "Indent `<head>` and `<body>` sections.",
"type": "boolean"
},
"html.format.maxPreserveNewLines": {
"default": null,
"markdownDescription": "Maximum number of line breaks to be preserved in one chunk. Use `null` for unlimited.",
"type": [
"number",
"null"
]
},
"html.format.preserveNewLines": {
"default": true,
"description": "Controls whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text.",
"type": "boolean"
},
"html.format.templating": {
"default": false,
"description": "Honor django, erb, handlebars and php templating language tags.",
"type": "boolean"
},
"html.format.unformatted": {
"default": "wbr",
"markdownDescription": "List of tags, comma separated, that shouldn't be reformatted. `null` defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content.",
"type": [
"string",
"null"
]
},
"html.format.unformattedContentDelimiter": {
"default": "",
"markdownDescription": "Keep text content together between this string.",
"type": "string"
},
"html.format.wrapAttributes": {
"default": "auto",
"description": "Wrap attributes.",
"enum": [
"auto",
"force",
"force-aligned",
"force-expand-multiline",
"aligned-multiple",
"preserve",
"preserve-aligned"
],
"enumDescriptions": [
"Wrap attributes only when line length is exceeded.",
"Wrap each attribute except first.",
"Wrap each attribute except first and keep aligned.",
"Wrap each attribute.",
"Wrap when line length is exceeded, align attributes vertically.",
"Preserve wrapping of attributes.",
"Preserve wrapping of attributes but align."
],
"type": "string"
},
"html.format.wrapAttributesIndentSize": {
"default": null,
"markdownDescription": "Indent wrapped attributes to after N characters. Use `null` to use the default indent size. Ignored if `#html.format.wrapAttributes#` is set to 'aligned'.",
"type": [
"number",
"null"
]
},
"html.format.wrapLineLength": {
"default": 120,
"description": "Maximum amount of characters per line (0 = disable).",
"type": "integer"
},
"html.hover.documentation": {
"default": true,
"description": "Show tag and attribute documentation in hover.",
"type": "boolean"
},
"html.hover.references": {
"default": true,
"description": "Show references to MDN in hover.",
"type": "boolean"
},
"html.mirrorCursorOnMatchingTag": {
"default": false,
"deprecationMessage": "Deprecated in favor of `editor.linkedEditing`",
"description": "Enable/disable mirroring cursor on matching HTML tag.",
"type": "boolean"
},
"html.suggest.html5": {
"default": true,
"description": "Controls whether the built-in HTML language support suggests HTML5 tags, properties and values.",
"type": "boolean"
},
"html.trace.server": {
"default": "off",
"description": "Traces the communication between VS Code and the HTML language server.",
"enum": [
"off",
"messages",
"verbose"
],
"type": "string"
},
"html.validate.scripts": {
"default": true,
"description": "Controls whether the built-in HTML language support validates embedded scripts.",
"type": "boolean"
},
"html.validate.styles": {
"default": true,
"description": "Controls whether the built-in HTML language support validates embedded styles.",
"type": "boolean"
}
}
}
}
}
}
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"LSP-html": {
"$ref": "sublime://settings/LSP-html#/definitions/PluginConfig"
}
}
}
}
}
}
}
}
]
}
}