@codingame/monaco-editor-wrapper 1.8.1 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css.worker.js +1 -1
- package/dist/features/htmlContribution.d.ts +3 -0
- package/dist/features/htmlContribution.js +104 -0
- package/dist/features/typescriptContribution.js +3 -3
- package/dist/html.worker.js +1 -1
- package/dist/index.js +1210 -0
- package/dist/json.worker.js +1 -1
- package/dist/main.js +11373 -1282
- package/dist/ts.worker.js +1 -1
- package/dist/worker.js +1 -1
- package/package.json +19 -19
- package/stats.html +1 -1
package/dist/index.js
ADDED
|
@@ -0,0 +1,1210 @@
|
|
|
1
|
+
import * as monaco from 'monaco-editor/esm/vs/editor/edcore.main';
|
|
2
|
+
|
|
3
|
+
var configurationDefaults = {
|
|
4
|
+
"[go]": {
|
|
5
|
+
"editor.insertSpaces": false
|
|
6
|
+
},
|
|
7
|
+
"[javascript]": {
|
|
8
|
+
"editor.maxTokenizationLineLength": 2500
|
|
9
|
+
},
|
|
10
|
+
"[markdown]": {
|
|
11
|
+
"editor.unicodeHighlight.ambiguousCharacters": false,
|
|
12
|
+
"editor.unicodeHighlight.invisibleCharacters": false
|
|
13
|
+
},
|
|
14
|
+
"[shellscript]": {
|
|
15
|
+
"files.eol": "\n"
|
|
16
|
+
},
|
|
17
|
+
"[yaml]": {
|
|
18
|
+
"editor.insertSpaces": true,
|
|
19
|
+
"editor.tabSize": 2,
|
|
20
|
+
"editor.autoIndent": "advanced"
|
|
21
|
+
},
|
|
22
|
+
"[dockercompose]": {
|
|
23
|
+
"editor.insertSpaces": true,
|
|
24
|
+
"editor.tabSize": 2,
|
|
25
|
+
"editor.autoIndent": "advanced"
|
|
26
|
+
},
|
|
27
|
+
"[dart]": {
|
|
28
|
+
"editor.tabSize": 2,
|
|
29
|
+
"editor.insertSpaces": true,
|
|
30
|
+
"editor.detectIndentation": false,
|
|
31
|
+
"editor.suggest.insertMode": "replace"
|
|
32
|
+
},
|
|
33
|
+
"files.watcherExclude": {
|
|
34
|
+
"**/.dart_tool": true
|
|
35
|
+
},
|
|
36
|
+
"[scala]": {
|
|
37
|
+
"editor.suggestSelection": "first",
|
|
38
|
+
"editor.formatOnPaste": true,
|
|
39
|
+
"editor.formatOnType": true
|
|
40
|
+
},
|
|
41
|
+
"[COBOL]": {
|
|
42
|
+
"editor.renderIndentGuides": false,
|
|
43
|
+
"editor.rulers": [
|
|
44
|
+
7,
|
|
45
|
+
11,
|
|
46
|
+
72,
|
|
47
|
+
80
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"[java]": {
|
|
51
|
+
"editor.suggest.snippetsPreventQuickSuggestions": false
|
|
52
|
+
},
|
|
53
|
+
"[cpp]": {
|
|
54
|
+
"editor.wordBasedSuggestions": false,
|
|
55
|
+
"editor.suggest.insertMode": "replace",
|
|
56
|
+
"editor.semanticHighlighting.enabled": true
|
|
57
|
+
},
|
|
58
|
+
"[cuda-cpp]": {
|
|
59
|
+
"editor.wordBasedSuggestions": false,
|
|
60
|
+
"editor.suggest.insertMode": "replace",
|
|
61
|
+
"editor.semanticHighlighting.enabled": true
|
|
62
|
+
},
|
|
63
|
+
"[c]": {
|
|
64
|
+
"editor.wordBasedSuggestions": false,
|
|
65
|
+
"editor.suggest.insertMode": "replace",
|
|
66
|
+
"editor.semanticHighlighting.enabled": true
|
|
67
|
+
},
|
|
68
|
+
"[Log]": {
|
|
69
|
+
"editor.wordWrap": "off"
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var semanticTokenTypes = [
|
|
73
|
+
{
|
|
74
|
+
id: "annotation",
|
|
75
|
+
superType: "type",
|
|
76
|
+
description: "Style for annotations."
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
id: "annotationMember",
|
|
80
|
+
superType: "method",
|
|
81
|
+
description: "Style for annotation members."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: "modifier",
|
|
85
|
+
superType: "keyword",
|
|
86
|
+
description: "Style for modifier keywords."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: "record",
|
|
90
|
+
superType: "class",
|
|
91
|
+
description: "Style for records."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
id: "recordComponent",
|
|
95
|
+
superType: "parameter",
|
|
96
|
+
description: "Style for record components."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: "referenceType",
|
|
100
|
+
superType: "class",
|
|
101
|
+
description: "Style for C++/CLI reference types."
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "cliProperty",
|
|
105
|
+
superType: "property",
|
|
106
|
+
description: "Style for C++/CLI properties."
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: "genericType",
|
|
110
|
+
superType: "class",
|
|
111
|
+
description: "Style for C++/CLI generic types."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: "valueType",
|
|
115
|
+
superType: "class",
|
|
116
|
+
description: "Style for C++/CLI value types."
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
id: "templateFunction",
|
|
120
|
+
superType: "function",
|
|
121
|
+
description: "Style for C++ template functions."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
id: "templateType",
|
|
125
|
+
superType: "class",
|
|
126
|
+
description: "Style for C++ template types."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: "operatorOverload",
|
|
130
|
+
superType: "operator",
|
|
131
|
+
description: "Style for C++ overloaded operators."
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: "memberOperatorOverload",
|
|
135
|
+
superType: "operator",
|
|
136
|
+
description: "Style for C++ overloaded operator member functions."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
id: "newOperator",
|
|
140
|
+
superType: "operator",
|
|
141
|
+
description: "Style for C++ `new` or `delete` operators."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
id: "customLiteral",
|
|
145
|
+
superType: "number",
|
|
146
|
+
description: "Style for C++ user-defined literals."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "numberLiteral",
|
|
150
|
+
superType: "number",
|
|
151
|
+
description: "Style for C++ user-defined literal numbers."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
id: "stringLiteral",
|
|
155
|
+
superType: "string",
|
|
156
|
+
description: "Style for C++ user-defined literal strings."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
id: "razorTagHelperElement",
|
|
160
|
+
description: "A Razor TagHelper Element"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "razorTagHelperAttribute",
|
|
164
|
+
description: "A Razor TagHelper Attribute"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
id: "razorTransition",
|
|
168
|
+
description: "A Razor transition"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
id: "razorDirectiveAttribute",
|
|
172
|
+
description: "A Razor Directive Attribute"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "razorDirectiveColon",
|
|
176
|
+
description: "A colon between directive attribute parameters"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
id: "razorDirective",
|
|
180
|
+
description: "A Razor directive such as 'code' or 'function'"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "razorComment",
|
|
184
|
+
description: "A Razor comment"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: "markupCommentPunctuation",
|
|
188
|
+
description: "The '@' or '*' of a Razor comment."
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "markupTagDelimiter",
|
|
192
|
+
description: "Markup delimiters like '<', '>', and '/'."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
id: "markupOperator",
|
|
196
|
+
description: "Delimiter for Markup Attribute Key-Value pairs."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: "markupElement",
|
|
200
|
+
description: "The name of a Markup element."
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
id: "markupAttribute",
|
|
204
|
+
description: "The name of a Markup attribute."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
id: "markupComment",
|
|
208
|
+
description: "The contents of a Markup comment."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: "markupCommentPunctuation",
|
|
212
|
+
description: "The begining or ending punctuation of a Markup comment."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "plainKeyword",
|
|
216
|
+
description: "Represents a keyword"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
id: "controlKeyword",
|
|
220
|
+
description: "Represents a control-flow keyword"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: "operatorOverloaded",
|
|
224
|
+
description: "Represents a custom implementation of an operator"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
id: "preprocessorKeyword",
|
|
228
|
+
description: "Represents"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "preprocessorText",
|
|
232
|
+
description: "Represents"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "excludedCode",
|
|
236
|
+
description: ""
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "punctuation",
|
|
240
|
+
description: ""
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
id: "stringVerbatim",
|
|
244
|
+
description: ""
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "stringEscapeCharacter",
|
|
248
|
+
description: ""
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
id: "delegate",
|
|
252
|
+
description: ""
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "module",
|
|
256
|
+
description: ""
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
id: "extensionMethod",
|
|
260
|
+
description: ""
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "field",
|
|
264
|
+
description: ""
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: "local",
|
|
268
|
+
description: ""
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "xmlDocCommentAttributeName",
|
|
272
|
+
description: ""
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: "xmlDocCommentAttributeQuotes",
|
|
276
|
+
description: ""
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "xmlDocCommentAttributeValue",
|
|
280
|
+
description: ""
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
id: "xmlDocCommentCDataSection",
|
|
284
|
+
description: ""
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
id: "xmlDocCommentComment",
|
|
288
|
+
description: ""
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
id: "xmlDocCommentDelimiter",
|
|
292
|
+
description: ""
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
id: "xmlDocCommentEntityReference",
|
|
296
|
+
description: ""
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
id: "xmlDocCommentName",
|
|
300
|
+
description: ""
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: "xmlDocCommentProcessingInstruction",
|
|
304
|
+
description: ""
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
id: "xmlDocCommentText",
|
|
308
|
+
description: ""
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
id: "regexComment",
|
|
312
|
+
description: ""
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
id: "regexCharacterClass",
|
|
316
|
+
description: ""
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "regexAnchor",
|
|
320
|
+
description: ""
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
id: "regexQuantifier",
|
|
324
|
+
description: ""
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
id: "regexGrouping",
|
|
328
|
+
description: ""
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
id: "regexAlternation",
|
|
332
|
+
description: ""
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
id: "regexSelfEscapedCharacter",
|
|
336
|
+
description: ""
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
id: "regexOtherEscape",
|
|
340
|
+
description: ""
|
|
341
|
+
}
|
|
342
|
+
];
|
|
343
|
+
var semanticTokenScopes = [
|
|
344
|
+
{
|
|
345
|
+
language: "javascript",
|
|
346
|
+
scopes: {
|
|
347
|
+
property: [
|
|
348
|
+
"variable.other.property.js"
|
|
349
|
+
],
|
|
350
|
+
"property.readonly": [
|
|
351
|
+
"variable.other.constant.property.js"
|
|
352
|
+
],
|
|
353
|
+
variable: [
|
|
354
|
+
"variable.other.readwrite.js"
|
|
355
|
+
],
|
|
356
|
+
"variable.readonly": [
|
|
357
|
+
"variable.other.constant.object.js"
|
|
358
|
+
],
|
|
359
|
+
"function": [
|
|
360
|
+
"entity.name.function.js"
|
|
361
|
+
],
|
|
362
|
+
namespace: [
|
|
363
|
+
"entity.name.type.module.js"
|
|
364
|
+
],
|
|
365
|
+
"variable.defaultLibrary": [
|
|
366
|
+
"support.variable.js"
|
|
367
|
+
],
|
|
368
|
+
"function.defaultLibrary": [
|
|
369
|
+
"support.function.js"
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
language: "javascriptreact",
|
|
375
|
+
scopes: {
|
|
376
|
+
property: [
|
|
377
|
+
"variable.other.property.jsx"
|
|
378
|
+
],
|
|
379
|
+
"property.readonly": [
|
|
380
|
+
"variable.other.constant.property.jsx"
|
|
381
|
+
],
|
|
382
|
+
variable: [
|
|
383
|
+
"variable.other.readwrite.jsx"
|
|
384
|
+
],
|
|
385
|
+
"variable.readonly": [
|
|
386
|
+
"variable.other.constant.object.jsx"
|
|
387
|
+
],
|
|
388
|
+
"function": [
|
|
389
|
+
"entity.name.function.jsx"
|
|
390
|
+
],
|
|
391
|
+
namespace: [
|
|
392
|
+
"entity.name.type.module.jsx"
|
|
393
|
+
],
|
|
394
|
+
"variable.defaultLibrary": [
|
|
395
|
+
"support.variable.js"
|
|
396
|
+
],
|
|
397
|
+
"function.defaultLibrary": [
|
|
398
|
+
"support.function.js"
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
language: "typescript",
|
|
404
|
+
scopes: {
|
|
405
|
+
property: [
|
|
406
|
+
"variable.other.property.ts"
|
|
407
|
+
],
|
|
408
|
+
"property.readonly": [
|
|
409
|
+
"variable.other.constant.property.ts"
|
|
410
|
+
],
|
|
411
|
+
variable: [
|
|
412
|
+
"variable.other.readwrite.ts"
|
|
413
|
+
],
|
|
414
|
+
"variable.readonly": [
|
|
415
|
+
"variable.other.constant.object.ts"
|
|
416
|
+
],
|
|
417
|
+
"function": [
|
|
418
|
+
"entity.name.function.ts"
|
|
419
|
+
],
|
|
420
|
+
namespace: [
|
|
421
|
+
"entity.name.type.module.ts"
|
|
422
|
+
],
|
|
423
|
+
"variable.defaultLibrary": [
|
|
424
|
+
"support.variable.ts"
|
|
425
|
+
],
|
|
426
|
+
"function.defaultLibrary": [
|
|
427
|
+
"support.function.ts"
|
|
428
|
+
]
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
language: "typescriptreact",
|
|
433
|
+
scopes: {
|
|
434
|
+
property: [
|
|
435
|
+
"variable.other.property.tsx"
|
|
436
|
+
],
|
|
437
|
+
"property.readonly": [
|
|
438
|
+
"variable.other.constant.property.tsx"
|
|
439
|
+
],
|
|
440
|
+
variable: [
|
|
441
|
+
"variable.other.readwrite.tsx"
|
|
442
|
+
],
|
|
443
|
+
"variable.readonly": [
|
|
444
|
+
"variable.other.constant.object.tsx"
|
|
445
|
+
],
|
|
446
|
+
"function": [
|
|
447
|
+
"entity.name.function.tsx"
|
|
448
|
+
],
|
|
449
|
+
namespace: [
|
|
450
|
+
"entity.name.type.module.tsx"
|
|
451
|
+
],
|
|
452
|
+
"variable.defaultLibrary": [
|
|
453
|
+
"support.variable.tsx"
|
|
454
|
+
],
|
|
455
|
+
"function.defaultLibrary": [
|
|
456
|
+
"support.function.tsx"
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
language: "dart",
|
|
462
|
+
scopes: {
|
|
463
|
+
annotation: [
|
|
464
|
+
"variable"
|
|
465
|
+
],
|
|
466
|
+
keyword: [
|
|
467
|
+
"keyword"
|
|
468
|
+
],
|
|
469
|
+
"keyword.control": [
|
|
470
|
+
"keyword.control"
|
|
471
|
+
],
|
|
472
|
+
"string.escape": [
|
|
473
|
+
"constant.character.escape"
|
|
474
|
+
],
|
|
475
|
+
source: [
|
|
476
|
+
"meta.embedded"
|
|
477
|
+
]
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
language: "java",
|
|
482
|
+
scopes: {
|
|
483
|
+
annotation: [
|
|
484
|
+
"storage.type.annotation.java"
|
|
485
|
+
],
|
|
486
|
+
annotationMember: [
|
|
487
|
+
"entity.name.annotationMember.java",
|
|
488
|
+
"constant.other.key.java"
|
|
489
|
+
],
|
|
490
|
+
modifier: [
|
|
491
|
+
"storage.modifier.java"
|
|
492
|
+
],
|
|
493
|
+
"keyword.documentation": [
|
|
494
|
+
"keyword.other.documentation.javadoc.java"
|
|
495
|
+
],
|
|
496
|
+
"*.constructor": [
|
|
497
|
+
"entity.name.function.java"
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
language: "lua",
|
|
503
|
+
scopes: {
|
|
504
|
+
"class": [
|
|
505
|
+
"support.class.lua"
|
|
506
|
+
],
|
|
507
|
+
"class.declaration": [
|
|
508
|
+
"support.class.lua"
|
|
509
|
+
],
|
|
510
|
+
"comment.documentation": [
|
|
511
|
+
"storage.type.annotation.lua"
|
|
512
|
+
],
|
|
513
|
+
"event.static": [
|
|
514
|
+
"support.class.lua"
|
|
515
|
+
],
|
|
516
|
+
"function": [
|
|
517
|
+
"variable.function.lua"
|
|
518
|
+
],
|
|
519
|
+
"function.declaration": [
|
|
520
|
+
"entity.name.function.lua"
|
|
521
|
+
],
|
|
522
|
+
"function.defaultLibrary": [
|
|
523
|
+
"support.function.lua"
|
|
524
|
+
],
|
|
525
|
+
"function.static": [
|
|
526
|
+
"entity.name.function.lua"
|
|
527
|
+
],
|
|
528
|
+
keyword: [
|
|
529
|
+
"keyword.control.lua"
|
|
530
|
+
],
|
|
531
|
+
"keyword.async": [
|
|
532
|
+
"entity.name.tag.lua"
|
|
533
|
+
],
|
|
534
|
+
"keyword.declaration": [
|
|
535
|
+
"keyword.local.lua"
|
|
536
|
+
],
|
|
537
|
+
"keyword.readonly": [
|
|
538
|
+
"constant.language.lua"
|
|
539
|
+
],
|
|
540
|
+
macro: [
|
|
541
|
+
"variable.lua"
|
|
542
|
+
],
|
|
543
|
+
method: [
|
|
544
|
+
"entity.name.function.lua"
|
|
545
|
+
],
|
|
546
|
+
"method.declaration": [
|
|
547
|
+
"entity.name.function.lua"
|
|
548
|
+
],
|
|
549
|
+
number: [
|
|
550
|
+
"constant.numeric.float.lua"
|
|
551
|
+
],
|
|
552
|
+
"number.static": [
|
|
553
|
+
"constant.numeric.integer.lua"
|
|
554
|
+
],
|
|
555
|
+
operator: [
|
|
556
|
+
"keyword.operator.lua"
|
|
557
|
+
],
|
|
558
|
+
"parameter.declaration": [
|
|
559
|
+
"variable.parameter.lua"
|
|
560
|
+
],
|
|
561
|
+
property: [
|
|
562
|
+
"entity.other.attribute.lua"
|
|
563
|
+
],
|
|
564
|
+
"property.declaration": [
|
|
565
|
+
"entity.other.property.lua"
|
|
566
|
+
],
|
|
567
|
+
string: [
|
|
568
|
+
"string.lua"
|
|
569
|
+
],
|
|
570
|
+
"string.deprecated": [
|
|
571
|
+
"invalid.illegal.character.escape.lua"
|
|
572
|
+
],
|
|
573
|
+
"string.modification": [
|
|
574
|
+
"constant.character.escape.lua"
|
|
575
|
+
],
|
|
576
|
+
struct: [
|
|
577
|
+
"string.tag.lua"
|
|
578
|
+
],
|
|
579
|
+
"struct.declaration": [
|
|
580
|
+
"string.tag.lua"
|
|
581
|
+
],
|
|
582
|
+
type: [
|
|
583
|
+
"support.type.lua"
|
|
584
|
+
],
|
|
585
|
+
"type.modification": [
|
|
586
|
+
"storage.type.generic.lua"
|
|
587
|
+
],
|
|
588
|
+
typeParameter: [
|
|
589
|
+
"string.tag.lua"
|
|
590
|
+
],
|
|
591
|
+
variable: [
|
|
592
|
+
"variable.other.lua"
|
|
593
|
+
],
|
|
594
|
+
"variable.abstract": [
|
|
595
|
+
"variable.other.constant.lua"
|
|
596
|
+
],
|
|
597
|
+
"variable.declaration": [
|
|
598
|
+
"variable.other.lua"
|
|
599
|
+
],
|
|
600
|
+
"variable.defaultLibrary": [
|
|
601
|
+
"support.constant.lua"
|
|
602
|
+
],
|
|
603
|
+
"variable.definition": [
|
|
604
|
+
"variable.language.self.lua"
|
|
605
|
+
],
|
|
606
|
+
"variable.readonly": [
|
|
607
|
+
"variable.other.constant.lua"
|
|
608
|
+
],
|
|
609
|
+
"variable.static": [
|
|
610
|
+
"variable.other.lua"
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
language: "c",
|
|
616
|
+
scopes: {
|
|
617
|
+
namespace: [
|
|
618
|
+
"entity.name.namespace.c"
|
|
619
|
+
],
|
|
620
|
+
type: [
|
|
621
|
+
"entity.name.type.c"
|
|
622
|
+
],
|
|
623
|
+
"type.defaultLibrary": [
|
|
624
|
+
"support.type.c"
|
|
625
|
+
],
|
|
626
|
+
struct: [
|
|
627
|
+
"storage.type.struct.c"
|
|
628
|
+
],
|
|
629
|
+
"class": [
|
|
630
|
+
"entity.name.type.class.c"
|
|
631
|
+
],
|
|
632
|
+
"class.defaultLibrary": [
|
|
633
|
+
"support.class.c"
|
|
634
|
+
],
|
|
635
|
+
"interface": [
|
|
636
|
+
"entity.name.type.interface.c"
|
|
637
|
+
],
|
|
638
|
+
"enum": [
|
|
639
|
+
"entity.name.type.enum.c"
|
|
640
|
+
],
|
|
641
|
+
"function": [
|
|
642
|
+
"entity.name.function.c"
|
|
643
|
+
],
|
|
644
|
+
"function.defaultLibrary": [
|
|
645
|
+
"support.function.c"
|
|
646
|
+
],
|
|
647
|
+
method: [
|
|
648
|
+
"entity.name.function.member.c"
|
|
649
|
+
],
|
|
650
|
+
variable: [
|
|
651
|
+
"variable.other.readwrite.c",
|
|
652
|
+
"entity.name.variable.c"
|
|
653
|
+
],
|
|
654
|
+
"variable.readonly": [
|
|
655
|
+
"variable.other.constant.c"
|
|
656
|
+
],
|
|
657
|
+
"variable.readonly.defaultLibrary": [
|
|
658
|
+
"support.constant.c"
|
|
659
|
+
],
|
|
660
|
+
parameter: [
|
|
661
|
+
"variable.parameter.c"
|
|
662
|
+
],
|
|
663
|
+
property: [
|
|
664
|
+
"variable.other.property.c"
|
|
665
|
+
],
|
|
666
|
+
"property.readonly": [
|
|
667
|
+
"variable.other.constant.property.c"
|
|
668
|
+
],
|
|
669
|
+
enumMember: [
|
|
670
|
+
"variable.other.enummember.c"
|
|
671
|
+
],
|
|
672
|
+
event: [
|
|
673
|
+
"variable.other.event.c"
|
|
674
|
+
],
|
|
675
|
+
label: [
|
|
676
|
+
"entity.name.label.c"
|
|
677
|
+
],
|
|
678
|
+
"variable.global": [
|
|
679
|
+
"variable.other.global.c"
|
|
680
|
+
],
|
|
681
|
+
"variable.local": [
|
|
682
|
+
"variable.other.local.c"
|
|
683
|
+
],
|
|
684
|
+
"property.static": [
|
|
685
|
+
"variable.other.property.static.c"
|
|
686
|
+
],
|
|
687
|
+
"method.static": [
|
|
688
|
+
"entity.name.function.member.static.c"
|
|
689
|
+
],
|
|
690
|
+
macro: [
|
|
691
|
+
"entity.name.function.preprocessor.c",
|
|
692
|
+
"entity.name.function.macro.c"
|
|
693
|
+
],
|
|
694
|
+
referenceType: [
|
|
695
|
+
"entity.name.type.class.reference.c"
|
|
696
|
+
],
|
|
697
|
+
cliProperty: [
|
|
698
|
+
"variable.other.property.cli.c"
|
|
699
|
+
],
|
|
700
|
+
genericType: [
|
|
701
|
+
"entity.name.type.class.generic.c"
|
|
702
|
+
],
|
|
703
|
+
valueType: [
|
|
704
|
+
"entity.name.type.class.value.c"
|
|
705
|
+
],
|
|
706
|
+
templateFunction: [
|
|
707
|
+
"entity.name.function.templated.c"
|
|
708
|
+
],
|
|
709
|
+
templateType: [
|
|
710
|
+
"entity.name.type.class.templated.c"
|
|
711
|
+
],
|
|
712
|
+
operatorOverload: [
|
|
713
|
+
"entity.name.function.operator.c"
|
|
714
|
+
],
|
|
715
|
+
memberOperatorOverload: [
|
|
716
|
+
"entity.name.function.operator.member.c"
|
|
717
|
+
],
|
|
718
|
+
newOperator: [
|
|
719
|
+
"keyword.operator.new.c"
|
|
720
|
+
],
|
|
721
|
+
numberLiteral: [
|
|
722
|
+
"entity.name.operator.custom-literal.number.c"
|
|
723
|
+
],
|
|
724
|
+
customLiteral: [
|
|
725
|
+
"entity.name.operator.custom-literal.c"
|
|
726
|
+
],
|
|
727
|
+
stringLiteral: [
|
|
728
|
+
"entity.name.operator.custom-literal.string.c"
|
|
729
|
+
]
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
language: "cpp",
|
|
734
|
+
scopes: {
|
|
735
|
+
namespace: [
|
|
736
|
+
"entity.name.namespace.cpp"
|
|
737
|
+
],
|
|
738
|
+
type: [
|
|
739
|
+
"entity.name.type.cpp"
|
|
740
|
+
],
|
|
741
|
+
"type.defaultLibrary": [
|
|
742
|
+
"support.type.cpp"
|
|
743
|
+
],
|
|
744
|
+
struct: [
|
|
745
|
+
"storage.type.struct.cpp"
|
|
746
|
+
],
|
|
747
|
+
"class": [
|
|
748
|
+
"entity.name.type.class.cpp"
|
|
749
|
+
],
|
|
750
|
+
"class.defaultLibrary": [
|
|
751
|
+
"support.class.cpp"
|
|
752
|
+
],
|
|
753
|
+
"interface": [
|
|
754
|
+
"entity.name.type.interface.cpp"
|
|
755
|
+
],
|
|
756
|
+
"enum": [
|
|
757
|
+
"entity.name.type.enum.cpp"
|
|
758
|
+
],
|
|
759
|
+
"function": [
|
|
760
|
+
"entity.name.function.cpp"
|
|
761
|
+
],
|
|
762
|
+
"function.defaultLibrary": [
|
|
763
|
+
"support.function.cpp"
|
|
764
|
+
],
|
|
765
|
+
method: [
|
|
766
|
+
"entity.name.function.member.cpp"
|
|
767
|
+
],
|
|
768
|
+
variable: [
|
|
769
|
+
"variable.other.readwrite.cpp",
|
|
770
|
+
"entity.name.variable.cpp"
|
|
771
|
+
],
|
|
772
|
+
"variable.readonly": [
|
|
773
|
+
"variable.other.constant.cpp"
|
|
774
|
+
],
|
|
775
|
+
"variable.readonly.defaultLibrary": [
|
|
776
|
+
"support.constant.cpp"
|
|
777
|
+
],
|
|
778
|
+
parameter: [
|
|
779
|
+
"variable.parameter.cpp"
|
|
780
|
+
],
|
|
781
|
+
property: [
|
|
782
|
+
"variable.other.property.cpp"
|
|
783
|
+
],
|
|
784
|
+
"property.readonly": [
|
|
785
|
+
"variable.other.constant.property.cpp"
|
|
786
|
+
],
|
|
787
|
+
enumMember: [
|
|
788
|
+
"variable.other.enummember.cpp"
|
|
789
|
+
],
|
|
790
|
+
event: [
|
|
791
|
+
"variable.other.event.cpp"
|
|
792
|
+
],
|
|
793
|
+
label: [
|
|
794
|
+
"entity.name.label.cpp"
|
|
795
|
+
],
|
|
796
|
+
"variable.global": [
|
|
797
|
+
"variable.other.global.cpp"
|
|
798
|
+
],
|
|
799
|
+
"variable.local": [
|
|
800
|
+
"variable.other.local.cpp"
|
|
801
|
+
],
|
|
802
|
+
"property.static": [
|
|
803
|
+
"variable.other.property.static.cpp"
|
|
804
|
+
],
|
|
805
|
+
"method.static": [
|
|
806
|
+
"entity.name.function.member.static.cpp"
|
|
807
|
+
],
|
|
808
|
+
macro: [
|
|
809
|
+
"entity.name.function.preprocessor.cpp",
|
|
810
|
+
"entity.name.function.macro.cpp"
|
|
811
|
+
],
|
|
812
|
+
referenceType: [
|
|
813
|
+
"entity.name.type.class.reference.cpp"
|
|
814
|
+
],
|
|
815
|
+
cliProperty: [
|
|
816
|
+
"variable.other.property.cli.cpp"
|
|
817
|
+
],
|
|
818
|
+
genericType: [
|
|
819
|
+
"entity.name.type.class.generic.cpp"
|
|
820
|
+
],
|
|
821
|
+
valueType: [
|
|
822
|
+
"entity.name.type.class.value.cpp"
|
|
823
|
+
],
|
|
824
|
+
templateFunction: [
|
|
825
|
+
"entity.name.function.templated.cpp"
|
|
826
|
+
],
|
|
827
|
+
templateType: [
|
|
828
|
+
"entity.name.type.class.templated.cpp"
|
|
829
|
+
],
|
|
830
|
+
operatorOverload: [
|
|
831
|
+
"entity.name.function.operator.cpp"
|
|
832
|
+
],
|
|
833
|
+
memberOperatorOverload: [
|
|
834
|
+
"entity.name.function.operator.member.cpp"
|
|
835
|
+
],
|
|
836
|
+
newOperator: [
|
|
837
|
+
"keyword.operator.new.cpp"
|
|
838
|
+
],
|
|
839
|
+
numberLiteral: [
|
|
840
|
+
"entity.name.operator.custom-literal.number.cpp"
|
|
841
|
+
],
|
|
842
|
+
customLiteral: [
|
|
843
|
+
"entity.name.operator.custom-literal.cpp"
|
|
844
|
+
],
|
|
845
|
+
stringLiteral: [
|
|
846
|
+
"entity.name.operator.custom-literal.string.cpp"
|
|
847
|
+
]
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
language: "cuda-cpp",
|
|
852
|
+
scopes: {
|
|
853
|
+
namespace: [
|
|
854
|
+
"entity.name.namespace.cuda-cpp"
|
|
855
|
+
],
|
|
856
|
+
type: [
|
|
857
|
+
"entity.name.type.cuda-cpp"
|
|
858
|
+
],
|
|
859
|
+
"type.defaultLibrary": [
|
|
860
|
+
"support.type.cuda-cpp"
|
|
861
|
+
],
|
|
862
|
+
struct: [
|
|
863
|
+
"storage.type.struct.cuda-cpp"
|
|
864
|
+
],
|
|
865
|
+
"class": [
|
|
866
|
+
"entity.name.type.class.cuda-cpp"
|
|
867
|
+
],
|
|
868
|
+
"class.defaultLibrary": [
|
|
869
|
+
"support.class.cuda-cpp"
|
|
870
|
+
],
|
|
871
|
+
"interface": [
|
|
872
|
+
"entity.name.type.interface.cuda-cpp"
|
|
873
|
+
],
|
|
874
|
+
"enum": [
|
|
875
|
+
"entity.name.type.enum.cuda-cpp"
|
|
876
|
+
],
|
|
877
|
+
"function": [
|
|
878
|
+
"entity.name.function.cuda-cpp"
|
|
879
|
+
],
|
|
880
|
+
"function.defaultLibrary": [
|
|
881
|
+
"support.function.cuda-cpp"
|
|
882
|
+
],
|
|
883
|
+
method: [
|
|
884
|
+
"entity.name.function.member.cuda-cpp"
|
|
885
|
+
],
|
|
886
|
+
variable: [
|
|
887
|
+
"variable.other.readwrite.cuda-cpp",
|
|
888
|
+
"entity.name.variable.cuda-cpp"
|
|
889
|
+
],
|
|
890
|
+
"variable.readonly": [
|
|
891
|
+
"variable.other.constant.cuda-cpp"
|
|
892
|
+
],
|
|
893
|
+
"variable.readonly.defaultLibrary": [
|
|
894
|
+
"support.constant.cuda-cpp"
|
|
895
|
+
],
|
|
896
|
+
parameter: [
|
|
897
|
+
"variable.parameter.cuda-cpp"
|
|
898
|
+
],
|
|
899
|
+
property: [
|
|
900
|
+
"variable.other.property.cuda-cpp"
|
|
901
|
+
],
|
|
902
|
+
"property.readonly": [
|
|
903
|
+
"variable.other.constant.property.cuda-cpp"
|
|
904
|
+
],
|
|
905
|
+
enumMember: [
|
|
906
|
+
"variable.other.enummember.cuda-cpp"
|
|
907
|
+
],
|
|
908
|
+
event: [
|
|
909
|
+
"variable.other.event.cuda-cpp"
|
|
910
|
+
],
|
|
911
|
+
label: [
|
|
912
|
+
"entity.name.label.cuda-cpp"
|
|
913
|
+
],
|
|
914
|
+
"variable.global": [
|
|
915
|
+
"variable.other.global.cuda-cpp"
|
|
916
|
+
],
|
|
917
|
+
"variable.local": [
|
|
918
|
+
"variable.other.local.cuda-cpp"
|
|
919
|
+
],
|
|
920
|
+
"property.static": [
|
|
921
|
+
"variable.other.property.static.cuda-cpp"
|
|
922
|
+
],
|
|
923
|
+
"method.static": [
|
|
924
|
+
"entity.name.function.member.static.cuda-cpp"
|
|
925
|
+
],
|
|
926
|
+
macro: [
|
|
927
|
+
"entity.name.function.preprocessor.cuda-cpp",
|
|
928
|
+
"entity.name.function.macro.cuda-cpp"
|
|
929
|
+
],
|
|
930
|
+
referenceType: [
|
|
931
|
+
"entity.name.type.class.reference.cuda-cpp"
|
|
932
|
+
],
|
|
933
|
+
cliProperty: [
|
|
934
|
+
"variable.other.property.cli.cuda-cpp"
|
|
935
|
+
],
|
|
936
|
+
genericType: [
|
|
937
|
+
"entity.name.type.class.generic.cuda-cpp"
|
|
938
|
+
],
|
|
939
|
+
valueType: [
|
|
940
|
+
"entity.name.type.class.value.cuda-cpp"
|
|
941
|
+
],
|
|
942
|
+
templateFunction: [
|
|
943
|
+
"entity.name.function.templated.cuda-cpp"
|
|
944
|
+
],
|
|
945
|
+
templateType: [
|
|
946
|
+
"entity.name.type.class.templated.cuda-cpp"
|
|
947
|
+
],
|
|
948
|
+
operatorOverload: [
|
|
949
|
+
"entity.name.function.operator.cuda-cpp"
|
|
950
|
+
],
|
|
951
|
+
memberOperatorOverload: [
|
|
952
|
+
"entity.name.function.operator.member.cuda-cpp"
|
|
953
|
+
],
|
|
954
|
+
newOperator: [
|
|
955
|
+
"keyword.operator.new.cuda-cpp"
|
|
956
|
+
],
|
|
957
|
+
numberLiteral: [
|
|
958
|
+
"entity.name.operator.custom-literal.number.cuda-cpp"
|
|
959
|
+
],
|
|
960
|
+
customLiteral: [
|
|
961
|
+
"entity.name.operator.custom-literal.cuda-cpp"
|
|
962
|
+
],
|
|
963
|
+
stringLiteral: [
|
|
964
|
+
"entity.name.operator.custom-literal.string.cuda-cpp"
|
|
965
|
+
]
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
language: "aspnetcorerazor",
|
|
970
|
+
scopes: {
|
|
971
|
+
razorTagHelperElement: [
|
|
972
|
+
"entity.name.class.element.taghelper"
|
|
973
|
+
],
|
|
974
|
+
razorTagHelperAttribute: [
|
|
975
|
+
"entity.name.class.attribute.taghelper"
|
|
976
|
+
],
|
|
977
|
+
razorTransition: [
|
|
978
|
+
"keyword.control.razor.transition"
|
|
979
|
+
],
|
|
980
|
+
razorDirectiveAttribute: [
|
|
981
|
+
"keyword.control.razor.directive.attribute",
|
|
982
|
+
"keyword.control.cshtml.directive.attribute"
|
|
983
|
+
],
|
|
984
|
+
razorDirectiveColon: [
|
|
985
|
+
"keyword.control.razor.directive.colon",
|
|
986
|
+
"keyword.control.cshtml.directive.colon"
|
|
987
|
+
],
|
|
988
|
+
razorDirective: [
|
|
989
|
+
"keyword.control.razor.directive",
|
|
990
|
+
"keyword.control.cshtml.directive"
|
|
991
|
+
],
|
|
992
|
+
razorComment: [
|
|
993
|
+
"comment.block.razor"
|
|
994
|
+
],
|
|
995
|
+
razorCommentTransition: [
|
|
996
|
+
"meta.comment.razor",
|
|
997
|
+
"keyword.control.cshtml.transition"
|
|
998
|
+
],
|
|
999
|
+
razorCommentStar: [
|
|
1000
|
+
"keyword.control.razor.comment.star",
|
|
1001
|
+
"meta.comment.razor"
|
|
1002
|
+
],
|
|
1003
|
+
angleBracket: [
|
|
1004
|
+
"punctuation.definition.tag"
|
|
1005
|
+
],
|
|
1006
|
+
forwardSlash: [
|
|
1007
|
+
"punctuation.definition.tag"
|
|
1008
|
+
],
|
|
1009
|
+
equals: [
|
|
1010
|
+
"punctuation.separator.key-value.html"
|
|
1011
|
+
],
|
|
1012
|
+
markupElement: [
|
|
1013
|
+
"entity.name.tag.html"
|
|
1014
|
+
],
|
|
1015
|
+
markupAttribute: [
|
|
1016
|
+
"entity.other.attribute-name.html"
|
|
1017
|
+
],
|
|
1018
|
+
markupComment: [
|
|
1019
|
+
"comment.block.html"
|
|
1020
|
+
],
|
|
1021
|
+
markupCommentPunctuation: [
|
|
1022
|
+
"punctuation.definition.comment.html",
|
|
1023
|
+
"comment.block.html"
|
|
1024
|
+
]
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
language: "csharp",
|
|
1029
|
+
scopes: {
|
|
1030
|
+
plainKeyword: [
|
|
1031
|
+
"keyword.cs"
|
|
1032
|
+
],
|
|
1033
|
+
controlKeyword: [
|
|
1034
|
+
"keyword.control.cs"
|
|
1035
|
+
],
|
|
1036
|
+
operatorOverloaded: [
|
|
1037
|
+
"entity.name.function.member.overload.cs"
|
|
1038
|
+
],
|
|
1039
|
+
preprocessorKeyword: [
|
|
1040
|
+
"keyword.preprocessor.cs"
|
|
1041
|
+
],
|
|
1042
|
+
preprocessorText: [
|
|
1043
|
+
"meta.preprocessor.string.cs"
|
|
1044
|
+
],
|
|
1045
|
+
excludedCode: [
|
|
1046
|
+
"support.other.excluded.cs"
|
|
1047
|
+
],
|
|
1048
|
+
punctuation: [
|
|
1049
|
+
"punctuation.cs"
|
|
1050
|
+
],
|
|
1051
|
+
stringVerbatim: [
|
|
1052
|
+
"string.verbatim.cs"
|
|
1053
|
+
],
|
|
1054
|
+
stringEscapeCharacter: [
|
|
1055
|
+
"constant.character.escape.cs"
|
|
1056
|
+
],
|
|
1057
|
+
delegate: [
|
|
1058
|
+
"entity.name.type.delegate.cs"
|
|
1059
|
+
],
|
|
1060
|
+
module: [
|
|
1061
|
+
"entity.name.type.module.cs"
|
|
1062
|
+
],
|
|
1063
|
+
extensionMethod: [
|
|
1064
|
+
"entity.name.function.extension.cs"
|
|
1065
|
+
],
|
|
1066
|
+
field: [
|
|
1067
|
+
"entity.name.variable.field.cs"
|
|
1068
|
+
],
|
|
1069
|
+
local: [
|
|
1070
|
+
"entity.name.variable.local.cs"
|
|
1071
|
+
],
|
|
1072
|
+
xmlDocCommentAttributeName: [
|
|
1073
|
+
"comment.documentation.attribute.name.cs"
|
|
1074
|
+
],
|
|
1075
|
+
xmlDocCommentAttributeQuotes: [
|
|
1076
|
+
"comment.documentation.attribute.quotes.cs"
|
|
1077
|
+
],
|
|
1078
|
+
xmlDocCommentAttributeValue: [
|
|
1079
|
+
"comment.documentation.attribute.value.cs"
|
|
1080
|
+
],
|
|
1081
|
+
xmlDocCommentCDataSection: [
|
|
1082
|
+
"comment.documentation.cdata.cs"
|
|
1083
|
+
],
|
|
1084
|
+
xmlDocCommentComment: [
|
|
1085
|
+
"comment.documentation.comment.cs"
|
|
1086
|
+
],
|
|
1087
|
+
xmlDocCommentDelimiter: [
|
|
1088
|
+
"comment.documentation.delimiter.cs"
|
|
1089
|
+
],
|
|
1090
|
+
xmlDocCommentEntityReference: [
|
|
1091
|
+
"comment.documentation.entityReference.cs"
|
|
1092
|
+
],
|
|
1093
|
+
xmlDocCommentName: [
|
|
1094
|
+
"comment.documentation.name.cs"
|
|
1095
|
+
],
|
|
1096
|
+
xmlDocCommentProcessingInstruction: [
|
|
1097
|
+
"comment.documentation.processingInstruction.cs"
|
|
1098
|
+
],
|
|
1099
|
+
xmlDocCommentText: [
|
|
1100
|
+
"comment.documentation.cs"
|
|
1101
|
+
],
|
|
1102
|
+
regexComment: [
|
|
1103
|
+
"string.regexp.comment.cs"
|
|
1104
|
+
],
|
|
1105
|
+
regexCharacterClass: [
|
|
1106
|
+
"constant.character.character-class.regexp.cs"
|
|
1107
|
+
],
|
|
1108
|
+
regexAnchor: [
|
|
1109
|
+
"keyword.control.anchor.regexp.cs"
|
|
1110
|
+
],
|
|
1111
|
+
regexQuantifier: [
|
|
1112
|
+
"keyword.operator.quantifier.regexp.cs"
|
|
1113
|
+
],
|
|
1114
|
+
regexGrouping: [
|
|
1115
|
+
"punctuation.definition.group.regexp.cs"
|
|
1116
|
+
],
|
|
1117
|
+
regexAlternation: [
|
|
1118
|
+
"keyword.operator.or.regexp.cs"
|
|
1119
|
+
],
|
|
1120
|
+
regexSelfEscapedCharacter: [
|
|
1121
|
+
"string.regexp.self-escaped-character.cs"
|
|
1122
|
+
],
|
|
1123
|
+
regexOtherEscape: [
|
|
1124
|
+
"string.regexp.other-escape.cs"
|
|
1125
|
+
]
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
];
|
|
1129
|
+
var semanticTokenModifiers = [
|
|
1130
|
+
{
|
|
1131
|
+
id: "public",
|
|
1132
|
+
description: "Style for symbols with the public access modifier."
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
id: "private",
|
|
1136
|
+
description: "Style for symbols with the private access modifier."
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
id: "protected",
|
|
1140
|
+
description: "Style for symbols with the protected access modifier."
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
id: "native",
|
|
1144
|
+
description: "Style for symbols with the native modifier."
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
id: "generic",
|
|
1148
|
+
description: "Style for symbols that are generic (have type parameters)."
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
id: "typeArgument",
|
|
1152
|
+
description: "Style for symbols that are type arguments for a generic symbol."
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
id: "importDeclaration",
|
|
1156
|
+
description: "Style for symbols that are part of an import declaration."
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
id: "constructor",
|
|
1160
|
+
description: "Style for symbols that are constructors."
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
id: "global",
|
|
1164
|
+
description: "Style to use for symbols that are global."
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
id: "local",
|
|
1168
|
+
description: "Style to use for symbols that are local."
|
|
1169
|
+
}
|
|
1170
|
+
];
|
|
1171
|
+
var extensions = {
|
|
1172
|
+
configurationDefaults: configurationDefaults,
|
|
1173
|
+
semanticTokenTypes: semanticTokenTypes,
|
|
1174
|
+
semanticTokenScopes: semanticTokenScopes,
|
|
1175
|
+
semanticTokenModifiers: semanticTokenModifiers
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
const configurationRegistry = monaco.extra.Registry.as(monaco.extra.ConfigurationExtensions.Configuration);
|
|
1179
|
+
configurationRegistry.registerDefaultConfigurations([{
|
|
1180
|
+
overrides: {
|
|
1181
|
+
'editor.codeLens': false,
|
|
1182
|
+
'editor.fontSize': 12,
|
|
1183
|
+
'editor.maxTokenizationLineLength': 1000,
|
|
1184
|
+
'editor.quickSuggestions': false
|
|
1185
|
+
}
|
|
1186
|
+
}]);
|
|
1187
|
+
configurationRegistry.registerDefaultConfigurations([{
|
|
1188
|
+
overrides: extensions.configurationDefaults
|
|
1189
|
+
}]);
|
|
1190
|
+
const simpleConfigurationService = monaco.extra.StandaloneServices.get(monaco.extra.IConfigurationService);
|
|
1191
|
+
const onConfigurationChanged = simpleConfigurationService.onDidChangeConfiguration;
|
|
1192
|
+
function getConfiguration(language) {
|
|
1193
|
+
let section = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'editor';
|
|
1194
|
+
return simpleConfigurationService.getValue(section, {
|
|
1195
|
+
overrideIdentifier: language
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
function updateUserConfiguration(configurationJson) {
|
|
1199
|
+
simpleConfigurationService.updateUserConfiguration(configurationJson);
|
|
1200
|
+
}
|
|
1201
|
+
function registerConfigurations(configurations, validate) {
|
|
1202
|
+
configurationRegistry.registerConfigurations(configurations, validate);
|
|
1203
|
+
}
|
|
1204
|
+
function registerDefaultConfigurations(defaultConfigurations) {
|
|
1205
|
+
configurationRegistry.registerDefaultConfigurations(defaultConfigurations.map(overrides => ({
|
|
1206
|
+
overrides
|
|
1207
|
+
})));
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export { registerDefaultConfigurations as a, extensions as e, getConfiguration as g, onConfigurationChanged as o, registerConfigurations as r, updateUserConfiguration as u };
|