-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLSP-css.sublime-settings
More file actions
303 lines (303 loc) · 14.3 KB
/
LSP-css.sublime-settings
File metadata and controls
303 lines (303 loc) · 14.3 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
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
{
"command": ["${node_bin}", "${server_path}", "--stdio"],
"schemes": ["file", "buffer", "res"],
// "disabled_capabilities" is ST4-only.
// If you are on ST3, it's in LSP's configuration and can't be set client-wise.
"disabled_capabilities": {
// remove the comment for "colorProvider" if you prefer other color plugins
// such as "ColorHelper" or "Color Highlighter"
// "colorProvider": true,
},
"initialization_options": {
"handledSchemas": ["file"],
"provideFormatter": true,
},
"settings": {
// Insert semicolon at end of line when completing CSS properties.
"css.completion.completePropertyWithSemicolon": true,
// By default, VS Code triggers property value completion after selecting a CSS property.
// Use this setting to disable this behavior.
"css.completion.triggerPropertyValueCompletion": true,
// A list of relative file paths pointing to JSON files following the [custom data
// format](https://github.com/microsoft/vscode-css-
// languageservice/blob/master/docs/customData.md).
// VS Code loads custom data on startup to enhance its CSS support for the custom CSS
// properties, at directives, pseudo classes and pseudo elements you specify in the JSON
// files.
// The file paths are relative to workspace and only workspace folder settings are
// considered.
"css.customData": [],
// Put braces on the same line as rules (`collapse`) or put braces on own line (`expand`).
// possible values: collapse, expand
"css.format.braceStyle": "collapse",
// Enable/disable default CSS formatter.
"css.format.enable": true,
// Maximum number of line breaks to be preserved in one chunk, when
// `#css.format.preserveNewLines#` is enabled.
"css.format.maxPreserveNewLines": null,
// Separate rulesets by a blank line.
"css.format.newlineBetweenRules": true,
// Separate selectors with a new line.
"css.format.newlineBetweenSelectors": true,
// Whether existing line breaks before elements should be preserved.
"css.format.preserveNewLines": true,
// Ensure a space character around selector separators '>', '+', '~' (e.g. `a > b`).
"css.format.spaceAroundSelectorSeparator": false,
// Show tag and attribute documentation in CSS hovers.
"css.hover.documentation": true,
// Show references to MDN in CSS hovers.
"css.hover.references": true,
// Invalid number of parameters.
// possible values: ignore, warning, error
"css.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
// possible values: ignore, warning, error
"css.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific
// properties.
// possible values: ignore, warning, error
"css.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
// possible values: ignore, warning, error
"css.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
// possible values: ignore, warning, error
"css.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of
// the layout changes.
// possible values: ignore, warning, error
"css.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
// possible values: ignore, warning, error
"css.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
// possible values: ignore, warning, error
"css.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the
// HTML.
// possible values: ignore, warning, error
"css.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
// possible values: ignore, warning, error
"css.lint.ieHack": "ignore",
// Import statements do not load in parallel.
// possible values: ignore, warning, error
"css.lint.importStatement": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has
// gotten out of control and needs to be refactored.
// possible values: ignore, warning, error
"css.lint.important": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`,
// `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
// possible values: ignore, warning, error
"css.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
// possible values: ignore, warning, error
"css.lint.universalSelector": "ignore",
// Unknown at-rule.
// possible values: ignore, warning, error
"css.lint.unknownAtRules": "warning",
// Unknown property.
// possible values: ignore, warning, error
"css.lint.unknownProperties": "warning",
// Unknown vendor specific property.
// possible values: ignore, warning, error
"css.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"css.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
// possible values: ignore, warning, error
"css.lint.vendorPrefix": "warning",
// No unit for zero needed.
// possible values: ignore, warning, error
"css.lint.zeroUnits": "ignore",
// Traces the communication between VS Code and the CSS language server.
// possible values: off, messages, verbose
"css.trace.server": "off",
// Enables or disables all validations.
"css.validate": true,
// Insert semicolon at end of line when completing CSS properties.
"less.completion.completePropertyWithSemicolon": true,
// By default, VS Code triggers property value completion after selecting a CSS property.
// Use this setting to disable this behavior.
"less.completion.triggerPropertyValueCompletion": true,
// Put braces on the same line as rules (`collapse`) or put braces on own line (`expand`).
// possible values: collapse, expand
"less.format.braceStyle": "collapse",
// Enable/disable default LESS formatter.
"less.format.enable": true,
// Maximum number of line breaks to be preserved in one chunk, when
// `#less.format.preserveNewLines#` is enabled.
"less.format.maxPreserveNewLines": null,
// Separate rulesets by a blank line.
"less.format.newlineBetweenRules": true,
// Separate selectors with a new line.
"less.format.newlineBetweenSelectors": true,
// Whether existing line breaks before elements should be preserved.
"less.format.preserveNewLines": true,
// Ensure a space character around selector separators '>', '+', '~' (e.g. `a > b`).
"less.format.spaceAroundSelectorSeparator": false,
// Show tag and attribute documentation in LESS hovers.
"less.hover.documentation": true,
// Show references to MDN in LESS hovers.
"less.hover.references": true,
// Invalid number of parameters.
// possible values: ignore, warning, error
"less.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
// possible values: ignore, warning, error
"less.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific
// properties.
// possible values: ignore, warning, error
"less.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
// possible values: ignore, warning, error
"less.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
// possible values: ignore, warning, error
"less.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of
// the layout changes.
// possible values: ignore, warning, error
"less.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
// possible values: ignore, warning, error
"less.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
// possible values: ignore, warning, error
"less.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the
// HTML.
// possible values: ignore, warning, error
"less.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
// possible values: ignore, warning, error
"less.lint.ieHack": "ignore",
// Import statements do not load in parallel.
// possible values: ignore, warning, error
"less.lint.importStatement": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has
// gotten out of control and needs to be refactored.
// possible values: ignore, warning, error
"less.lint.important": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`,
// `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
// possible values: ignore, warning, error
"less.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
// possible values: ignore, warning, error
"less.lint.universalSelector": "ignore",
// Unknown at-rule.
// possible values: ignore, warning, error
"less.lint.unknownAtRules": "warning",
// Unknown property.
// possible values: ignore, warning, error
"less.lint.unknownProperties": "warning",
// Unknown vendor specific property.
// possible values: ignore, warning, error
"less.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"less.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
// possible values: ignore, warning, error
"less.lint.vendorPrefix": "warning",
// No unit for zero needed.
// possible values: ignore, warning, error
"less.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"less.validate": true,
// Insert semicolon at end of line when completing CSS properties.
"scss.completion.completePropertyWithSemicolon": true,
// By default, VS Code triggers property value completion after selecting a CSS property.
// Use this setting to disable this behavior.
"scss.completion.triggerPropertyValueCompletion": true,
// Put braces on the same line as rules (`collapse`) or put braces on own line (`expand`).
// possible values: collapse, expand
"scss.format.braceStyle": "collapse",
// Enable/disable default SCSS formatter.
"scss.format.enable": true,
// Maximum number of line breaks to be preserved in one chunk, when
// `#scss.format.preserveNewLines#` is enabled.
"scss.format.maxPreserveNewLines": null,
// Separate rulesets by a blank line.
"scss.format.newlineBetweenRules": true,
// Separate selectors with a new line.
"scss.format.newlineBetweenSelectors": true,
// Whether existing line breaks before elements should be preserved.
"scss.format.preserveNewLines": true,
// Ensure a space character around selector separators '>', '+', '~' (e.g. `a > b`).
"scss.format.spaceAroundSelectorSeparator": false,
// Show tag and attribute documentation in SCSS hovers.
"scss.hover.documentation": true,
// Show references to MDN in SCSS hovers.
"scss.hover.references": true,
// Invalid number of parameters.
// possible values: ignore, warning, error
"scss.lint.argumentsInColorFunction": "error",
// Do not use `width` or `height` when using `padding` or `border`.
// possible values: ignore, warning, error
"scss.lint.boxModel": "ignore",
// When using a vendor-specific prefix make sure to also include all other vendor-specific
// properties.
// possible values: ignore, warning, error
"scss.lint.compatibleVendorPrefixes": "ignore",
// Do not use duplicate style definitions.
// possible values: ignore, warning, error
"scss.lint.duplicateProperties": "ignore",
// Do not use empty rulesets.
// possible values: ignore, warning, error
"scss.lint.emptyRules": "warning",
// Avoid using `float`. Floats lead to fragile CSS that is easy to break if one aspect of
// the layout changes.
// possible values: ignore, warning, error
"scss.lint.float": "ignore",
// `@font-face` rule must define `src` and `font-family` properties.
// possible values: ignore, warning, error
"scss.lint.fontFaceProperties": "warning",
// Hex colors must consist of three or six hex numbers.
// possible values: ignore, warning, error
"scss.lint.hexColorLength": "error",
// Selectors should not contain IDs because these rules are too tightly coupled with the
// HTML.
// possible values: ignore, warning, error
"scss.lint.idSelector": "ignore",
// IE hacks are only necessary when supporting IE7 and older.
// possible values: ignore, warning, error
"scss.lint.ieHack": "ignore",
// Import statements do not load in parallel.
// possible values: ignore, warning, error
"scss.lint.importStatement": "ignore",
// Avoid using `!important`. It is an indication that the specificity of the entire CSS has
// gotten out of control and needs to be refactored.
// possible values: ignore, warning, error
"scss.lint.important": "ignore",
// Property is ignored due to the display. E.g. with `display: inline`, the `width`,
// `height`, `margin-top`, `margin-bottom`, and `float` properties have no effect.
// possible values: ignore, warning, error
"scss.lint.propertyIgnoredDueToDisplay": "warning",
// The universal selector (`*`) is known to be slow.
// possible values: ignore, warning, error
"scss.lint.universalSelector": "ignore",
// Unknown at-rule.
// possible values: ignore, warning, error
"scss.lint.unknownAtRules": "warning",
// Unknown property.
// possible values: ignore, warning, error
"scss.lint.unknownProperties": "warning",
// Unknown vendor specific property.
// possible values: ignore, warning, error
"scss.lint.unknownVendorSpecificProperties": "ignore",
// A list of properties that are not validated against the `unknownProperties` rule.
"scss.lint.validProperties": [],
// When using a vendor-specific prefix, also include the standard property.
// possible values: ignore, warning, error
"scss.lint.vendorPrefix": "warning",
// No unit for zero needed.
// possible values: ignore, warning, error
"scss.lint.zeroUnits": "ignore",
// Enables or disables all validations.
"scss.validate": true,
},
"selector": "source.css | source.scss | source.less",
}