@codingame/monaco-editor-wrapper 1.7.0 → 1.9.0
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/Groovy2.js +28 -0
- package/dist/features/htmlContribution.d.ts +3 -0
- package/dist/features/htmlContribution.js +104 -0
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1210 -0
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/index.d.ts +2 -1
- package/dist/languages/textMate/index.d.ts +1 -1
- package/dist/main.js +33 -1218
- package/dist/markdown-basics-markdown.js +18 -0
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +4 -0
- package/dist/verilog-systemverilog.js +140 -327
- package/dist/verilog2.js +65 -56
- package/dist/vscode-R-rmd.js +2 -2
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/COBOL Copybook2.js +0 -2017
- package/dist/COBOL2.js +0 -2017
- package/dist/SQL.plist.js +0 -482
- package/dist/bsv2.js +0 -49
- package/dist/c2.js +0 -18
- package/dist/coffeescript2.js +0 -18
- package/dist/configuration/hack.d.ts +0 -2
- package/dist/cpp2.js +0 -18
- package/dist/csharp2.js +0 -508
- package/dist/cssContribution.js +0 -10
- package/dist/diet3.js +0 -92
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/fsharp2.js +0 -18
- package/dist/groovy2.js +0 -229
- package/dist/html (eex).js +0 -31
- package/dist/htmlContribution.js +0 -10
- package/dist/javascript2.js +0 -196
- package/dist/javascriptreact2.js +0 -196
- package/dist/jsonContribution.js +0 -78
- package/dist/kotlin2.js +0 -117
- package/dist/kotlinscript2.js +0 -117
- package/dist/languages/monarch/list.d.ts +0 -7
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
- package/dist/markdown-basics.js +0 -103
- package/dist/markdown2.js +0 -103
- package/dist/pgsql-sql.js +0 -21
- package/dist/pgsql.js +0 -21
- package/dist/php2.js +0 -265
- package/dist/powershell2.js +0 -18
- package/dist/r.tmLanguage.js +0 -572
- package/dist/reason2.js +0 -100
- package/dist/services/functional.d.ts +0 -1
- package/dist/services/lyfecycle.d.ts +0 -13
- package/dist/sql2.js +0 -21
- package/dist/swift2.js +0 -183
- package/dist/systemverilog2.js +0 -208
- package/dist/tcl2.js +0 -151
- package/dist/typescript-basics.js +0 -312
- package/dist/typescript2.js +0 -312
- package/dist/typescriptContribution.js +0 -36
- package/dist/typescriptreact2.js +0 -312
- package/dist/vb2.js +0 -88
package/dist/main.js
CHANGED
|
@@ -3,6 +3,8 @@ export { monaco };
|
|
|
3
3
|
import { _ as _objectSpread2, a as _defineProperty } from './_rollupPluginBabelHelpers.js';
|
|
4
4
|
import onigFile from 'vscode-oniguruma/release/onig.wasm';
|
|
5
5
|
import { loadWASM, createOnigScanner, createOnigString } from 'vscode-oniguruma';
|
|
6
|
+
import { e as extensions, g as getConfiguration, o as onConfigurationChanged } from './index.js';
|
|
7
|
+
export { g as getConfiguration, o as onConfigurationChanged, r as registerConfigurations, a as registerDefaultConfigurations, u as updateUserConfiguration } from './index.js';
|
|
6
8
|
import './worker.js';
|
|
7
9
|
import EmacsExtension from '@codingame/monaco-emacs';
|
|
8
10
|
import * as monacoVim from 'monaco-vim';
|
|
@@ -1262,1181 +1264,6 @@ const loader$2 = {
|
|
|
1262
1264
|
'./Rcpp.js').then(module => module)).default
|
|
1263
1265
|
};
|
|
1264
1266
|
|
|
1265
|
-
var configurationDefaults = {
|
|
1266
|
-
"[go]": {
|
|
1267
|
-
"editor.insertSpaces": false
|
|
1268
|
-
},
|
|
1269
|
-
"[javascript]": {
|
|
1270
|
-
"editor.maxTokenizationLineLength": 2500
|
|
1271
|
-
},
|
|
1272
|
-
"[markdown]": {
|
|
1273
|
-
"editor.unicodeHighlight.ambiguousCharacters": false,
|
|
1274
|
-
"editor.unicodeHighlight.invisibleCharacters": false
|
|
1275
|
-
},
|
|
1276
|
-
"[shellscript]": {
|
|
1277
|
-
"files.eol": "\n"
|
|
1278
|
-
},
|
|
1279
|
-
"[yaml]": {
|
|
1280
|
-
"editor.insertSpaces": true,
|
|
1281
|
-
"editor.tabSize": 2,
|
|
1282
|
-
"editor.autoIndent": "advanced"
|
|
1283
|
-
},
|
|
1284
|
-
"[dockercompose]": {
|
|
1285
|
-
"editor.insertSpaces": true,
|
|
1286
|
-
"editor.tabSize": 2,
|
|
1287
|
-
"editor.autoIndent": "advanced"
|
|
1288
|
-
},
|
|
1289
|
-
"[dart]": {
|
|
1290
|
-
"editor.tabSize": 2,
|
|
1291
|
-
"editor.insertSpaces": true,
|
|
1292
|
-
"editor.detectIndentation": false,
|
|
1293
|
-
"editor.suggest.insertMode": "replace"
|
|
1294
|
-
},
|
|
1295
|
-
"files.watcherExclude": {
|
|
1296
|
-
"**/.dart_tool": true
|
|
1297
|
-
},
|
|
1298
|
-
"[scala]": {
|
|
1299
|
-
"editor.suggestSelection": "first",
|
|
1300
|
-
"editor.formatOnPaste": true,
|
|
1301
|
-
"editor.formatOnType": true
|
|
1302
|
-
},
|
|
1303
|
-
"[COBOL]": {
|
|
1304
|
-
"editor.renderIndentGuides": false,
|
|
1305
|
-
"editor.rulers": [
|
|
1306
|
-
7,
|
|
1307
|
-
11,
|
|
1308
|
-
72,
|
|
1309
|
-
80
|
|
1310
|
-
]
|
|
1311
|
-
},
|
|
1312
|
-
"[java]": {
|
|
1313
|
-
"editor.suggest.snippetsPreventQuickSuggestions": false
|
|
1314
|
-
},
|
|
1315
|
-
"[cpp]": {
|
|
1316
|
-
"editor.wordBasedSuggestions": false,
|
|
1317
|
-
"editor.suggest.insertMode": "replace",
|
|
1318
|
-
"editor.semanticHighlighting.enabled": true
|
|
1319
|
-
},
|
|
1320
|
-
"[cuda-cpp]": {
|
|
1321
|
-
"editor.wordBasedSuggestions": false,
|
|
1322
|
-
"editor.suggest.insertMode": "replace",
|
|
1323
|
-
"editor.semanticHighlighting.enabled": true
|
|
1324
|
-
},
|
|
1325
|
-
"[c]": {
|
|
1326
|
-
"editor.wordBasedSuggestions": false,
|
|
1327
|
-
"editor.suggest.insertMode": "replace",
|
|
1328
|
-
"editor.semanticHighlighting.enabled": true
|
|
1329
|
-
},
|
|
1330
|
-
"[Log]": {
|
|
1331
|
-
"editor.wordWrap": "off"
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
var semanticTokenTypes = [
|
|
1335
|
-
{
|
|
1336
|
-
id: "annotation",
|
|
1337
|
-
superType: "type",
|
|
1338
|
-
description: "Style for annotations."
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
id: "annotationMember",
|
|
1342
|
-
superType: "method",
|
|
1343
|
-
description: "Style for annotation members."
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
id: "modifier",
|
|
1347
|
-
superType: "keyword",
|
|
1348
|
-
description: "Style for modifier keywords."
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
id: "record",
|
|
1352
|
-
superType: "class",
|
|
1353
|
-
description: "Style for records."
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
id: "recordComponent",
|
|
1357
|
-
superType: "parameter",
|
|
1358
|
-
description: "Style for record components."
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
id: "referenceType",
|
|
1362
|
-
superType: "class",
|
|
1363
|
-
description: "Style for C++/CLI reference types."
|
|
1364
|
-
},
|
|
1365
|
-
{
|
|
1366
|
-
id: "cliProperty",
|
|
1367
|
-
superType: "property",
|
|
1368
|
-
description: "Style for C++/CLI properties."
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
id: "genericType",
|
|
1372
|
-
superType: "class",
|
|
1373
|
-
description: "Style for C++/CLI generic types."
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
id: "valueType",
|
|
1377
|
-
superType: "class",
|
|
1378
|
-
description: "Style for C++/CLI value types."
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
id: "templateFunction",
|
|
1382
|
-
superType: "function",
|
|
1383
|
-
description: "Style for C++ template functions."
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
id: "templateType",
|
|
1387
|
-
superType: "class",
|
|
1388
|
-
description: "Style for C++ template types."
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
id: "operatorOverload",
|
|
1392
|
-
superType: "operator",
|
|
1393
|
-
description: "Style for C++ overloaded operators."
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
id: "memberOperatorOverload",
|
|
1397
|
-
superType: "operator",
|
|
1398
|
-
description: "Style for C++ overloaded operator member functions."
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
id: "newOperator",
|
|
1402
|
-
superType: "operator",
|
|
1403
|
-
description: "Style for C++ `new` or `delete` operators."
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
id: "customLiteral",
|
|
1407
|
-
superType: "number",
|
|
1408
|
-
description: "Style for C++ user-defined literals."
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
id: "numberLiteral",
|
|
1412
|
-
superType: "number",
|
|
1413
|
-
description: "Style for C++ user-defined literal numbers."
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
id: "stringLiteral",
|
|
1417
|
-
superType: "string",
|
|
1418
|
-
description: "Style for C++ user-defined literal strings."
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
id: "razorTagHelperElement",
|
|
1422
|
-
description: "A Razor TagHelper Element"
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
id: "razorTagHelperAttribute",
|
|
1426
|
-
description: "A Razor TagHelper Attribute"
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
id: "razorTransition",
|
|
1430
|
-
description: "A Razor transition"
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
id: "razorDirectiveAttribute",
|
|
1434
|
-
description: "A Razor Directive Attribute"
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
id: "razorDirectiveColon",
|
|
1438
|
-
description: "A colon between directive attribute parameters"
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
id: "razorDirective",
|
|
1442
|
-
description: "A Razor directive such as 'code' or 'function'"
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
id: "razorComment",
|
|
1446
|
-
description: "A Razor comment"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
id: "markupCommentPunctuation",
|
|
1450
|
-
description: "The '@' or '*' of a Razor comment."
|
|
1451
|
-
},
|
|
1452
|
-
{
|
|
1453
|
-
id: "markupTagDelimiter",
|
|
1454
|
-
description: "Markup delimiters like '<', '>', and '/'."
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
id: "markupOperator",
|
|
1458
|
-
description: "Delimiter for Markup Attribute Key-Value pairs."
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
id: "markupElement",
|
|
1462
|
-
description: "The name of a Markup element."
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
id: "markupAttribute",
|
|
1466
|
-
description: "The name of a Markup attribute."
|
|
1467
|
-
},
|
|
1468
|
-
{
|
|
1469
|
-
id: "markupComment",
|
|
1470
|
-
description: "The contents of a Markup comment."
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
id: "markupCommentPunctuation",
|
|
1474
|
-
description: "The begining or ending punctuation of a Markup comment."
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
id: "plainKeyword",
|
|
1478
|
-
description: "Represents a keyword"
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
id: "controlKeyword",
|
|
1482
|
-
description: "Represents a control-flow keyword"
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
id: "operatorOverloaded",
|
|
1486
|
-
description: "Represents a custom implementation of an operator"
|
|
1487
|
-
},
|
|
1488
|
-
{
|
|
1489
|
-
id: "preprocessorKeyword",
|
|
1490
|
-
description: "Represents"
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
id: "preprocessorText",
|
|
1494
|
-
description: "Represents"
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
id: "excludedCode",
|
|
1498
|
-
description: ""
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
id: "punctuation",
|
|
1502
|
-
description: ""
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
id: "stringVerbatim",
|
|
1506
|
-
description: ""
|
|
1507
|
-
},
|
|
1508
|
-
{
|
|
1509
|
-
id: "stringEscapeCharacter",
|
|
1510
|
-
description: ""
|
|
1511
|
-
},
|
|
1512
|
-
{
|
|
1513
|
-
id: "delegate",
|
|
1514
|
-
description: ""
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
id: "module",
|
|
1518
|
-
description: ""
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
id: "extensionMethod",
|
|
1522
|
-
description: ""
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
id: "field",
|
|
1526
|
-
description: ""
|
|
1527
|
-
},
|
|
1528
|
-
{
|
|
1529
|
-
id: "local",
|
|
1530
|
-
description: ""
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
id: "xmlDocCommentAttributeName",
|
|
1534
|
-
description: ""
|
|
1535
|
-
},
|
|
1536
|
-
{
|
|
1537
|
-
id: "xmlDocCommentAttributeQuotes",
|
|
1538
|
-
description: ""
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
id: "xmlDocCommentAttributeValue",
|
|
1542
|
-
description: ""
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
id: "xmlDocCommentCDataSection",
|
|
1546
|
-
description: ""
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
id: "xmlDocCommentComment",
|
|
1550
|
-
description: ""
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
id: "xmlDocCommentDelimiter",
|
|
1554
|
-
description: ""
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
id: "xmlDocCommentEntityReference",
|
|
1558
|
-
description: ""
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
id: "xmlDocCommentName",
|
|
1562
|
-
description: ""
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
id: "xmlDocCommentProcessingInstruction",
|
|
1566
|
-
description: ""
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
id: "xmlDocCommentText",
|
|
1570
|
-
description: ""
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
id: "regexComment",
|
|
1574
|
-
description: ""
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
id: "regexCharacterClass",
|
|
1578
|
-
description: ""
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
id: "regexAnchor",
|
|
1582
|
-
description: ""
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
id: "regexQuantifier",
|
|
1586
|
-
description: ""
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
id: "regexGrouping",
|
|
1590
|
-
description: ""
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
id: "regexAlternation",
|
|
1594
|
-
description: ""
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
id: "regexSelfEscapedCharacter",
|
|
1598
|
-
description: ""
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
id: "regexOtherEscape",
|
|
1602
|
-
description: ""
|
|
1603
|
-
}
|
|
1604
|
-
];
|
|
1605
|
-
var semanticTokenScopes = [
|
|
1606
|
-
{
|
|
1607
|
-
language: "javascript",
|
|
1608
|
-
scopes: {
|
|
1609
|
-
property: [
|
|
1610
|
-
"variable.other.property.js"
|
|
1611
|
-
],
|
|
1612
|
-
"property.readonly": [
|
|
1613
|
-
"variable.other.constant.property.js"
|
|
1614
|
-
],
|
|
1615
|
-
variable: [
|
|
1616
|
-
"variable.other.readwrite.js"
|
|
1617
|
-
],
|
|
1618
|
-
"variable.readonly": [
|
|
1619
|
-
"variable.other.constant.object.js"
|
|
1620
|
-
],
|
|
1621
|
-
"function": [
|
|
1622
|
-
"entity.name.function.js"
|
|
1623
|
-
],
|
|
1624
|
-
namespace: [
|
|
1625
|
-
"entity.name.type.module.js"
|
|
1626
|
-
],
|
|
1627
|
-
"variable.defaultLibrary": [
|
|
1628
|
-
"support.variable.js"
|
|
1629
|
-
],
|
|
1630
|
-
"function.defaultLibrary": [
|
|
1631
|
-
"support.function.js"
|
|
1632
|
-
]
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
language: "javascriptreact",
|
|
1637
|
-
scopes: {
|
|
1638
|
-
property: [
|
|
1639
|
-
"variable.other.property.jsx"
|
|
1640
|
-
],
|
|
1641
|
-
"property.readonly": [
|
|
1642
|
-
"variable.other.constant.property.jsx"
|
|
1643
|
-
],
|
|
1644
|
-
variable: [
|
|
1645
|
-
"variable.other.readwrite.jsx"
|
|
1646
|
-
],
|
|
1647
|
-
"variable.readonly": [
|
|
1648
|
-
"variable.other.constant.object.jsx"
|
|
1649
|
-
],
|
|
1650
|
-
"function": [
|
|
1651
|
-
"entity.name.function.jsx"
|
|
1652
|
-
],
|
|
1653
|
-
namespace: [
|
|
1654
|
-
"entity.name.type.module.jsx"
|
|
1655
|
-
],
|
|
1656
|
-
"variable.defaultLibrary": [
|
|
1657
|
-
"support.variable.js"
|
|
1658
|
-
],
|
|
1659
|
-
"function.defaultLibrary": [
|
|
1660
|
-
"support.function.js"
|
|
1661
|
-
]
|
|
1662
|
-
}
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
language: "typescript",
|
|
1666
|
-
scopes: {
|
|
1667
|
-
property: [
|
|
1668
|
-
"variable.other.property.ts"
|
|
1669
|
-
],
|
|
1670
|
-
"property.readonly": [
|
|
1671
|
-
"variable.other.constant.property.ts"
|
|
1672
|
-
],
|
|
1673
|
-
variable: [
|
|
1674
|
-
"variable.other.readwrite.ts"
|
|
1675
|
-
],
|
|
1676
|
-
"variable.readonly": [
|
|
1677
|
-
"variable.other.constant.object.ts"
|
|
1678
|
-
],
|
|
1679
|
-
"function": [
|
|
1680
|
-
"entity.name.function.ts"
|
|
1681
|
-
],
|
|
1682
|
-
namespace: [
|
|
1683
|
-
"entity.name.type.module.ts"
|
|
1684
|
-
],
|
|
1685
|
-
"variable.defaultLibrary": [
|
|
1686
|
-
"support.variable.ts"
|
|
1687
|
-
],
|
|
1688
|
-
"function.defaultLibrary": [
|
|
1689
|
-
"support.function.ts"
|
|
1690
|
-
]
|
|
1691
|
-
}
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
language: "typescriptreact",
|
|
1695
|
-
scopes: {
|
|
1696
|
-
property: [
|
|
1697
|
-
"variable.other.property.tsx"
|
|
1698
|
-
],
|
|
1699
|
-
"property.readonly": [
|
|
1700
|
-
"variable.other.constant.property.tsx"
|
|
1701
|
-
],
|
|
1702
|
-
variable: [
|
|
1703
|
-
"variable.other.readwrite.tsx"
|
|
1704
|
-
],
|
|
1705
|
-
"variable.readonly": [
|
|
1706
|
-
"variable.other.constant.object.tsx"
|
|
1707
|
-
],
|
|
1708
|
-
"function": [
|
|
1709
|
-
"entity.name.function.tsx"
|
|
1710
|
-
],
|
|
1711
|
-
namespace: [
|
|
1712
|
-
"entity.name.type.module.tsx"
|
|
1713
|
-
],
|
|
1714
|
-
"variable.defaultLibrary": [
|
|
1715
|
-
"support.variable.tsx"
|
|
1716
|
-
],
|
|
1717
|
-
"function.defaultLibrary": [
|
|
1718
|
-
"support.function.tsx"
|
|
1719
|
-
]
|
|
1720
|
-
}
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
language: "dart",
|
|
1724
|
-
scopes: {
|
|
1725
|
-
annotation: [
|
|
1726
|
-
"variable"
|
|
1727
|
-
],
|
|
1728
|
-
keyword: [
|
|
1729
|
-
"keyword"
|
|
1730
|
-
],
|
|
1731
|
-
"keyword.control": [
|
|
1732
|
-
"keyword.control"
|
|
1733
|
-
],
|
|
1734
|
-
"string.escape": [
|
|
1735
|
-
"constant.character.escape"
|
|
1736
|
-
],
|
|
1737
|
-
source: [
|
|
1738
|
-
"meta.embedded"
|
|
1739
|
-
]
|
|
1740
|
-
}
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
language: "java",
|
|
1744
|
-
scopes: {
|
|
1745
|
-
annotation: [
|
|
1746
|
-
"storage.type.annotation.java"
|
|
1747
|
-
],
|
|
1748
|
-
annotationMember: [
|
|
1749
|
-
"entity.name.annotationMember.java",
|
|
1750
|
-
"constant.other.key.java"
|
|
1751
|
-
],
|
|
1752
|
-
modifier: [
|
|
1753
|
-
"storage.modifier.java"
|
|
1754
|
-
],
|
|
1755
|
-
"keyword.documentation": [
|
|
1756
|
-
"keyword.other.documentation.javadoc.java"
|
|
1757
|
-
],
|
|
1758
|
-
"*.constructor": [
|
|
1759
|
-
"entity.name.function.java"
|
|
1760
|
-
]
|
|
1761
|
-
}
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
language: "lua",
|
|
1765
|
-
scopes: {
|
|
1766
|
-
"class": [
|
|
1767
|
-
"support.class.lua"
|
|
1768
|
-
],
|
|
1769
|
-
"class.declaration": [
|
|
1770
|
-
"support.class.lua"
|
|
1771
|
-
],
|
|
1772
|
-
"comment.documentation": [
|
|
1773
|
-
"storage.type.annotation.lua"
|
|
1774
|
-
],
|
|
1775
|
-
"event.static": [
|
|
1776
|
-
"support.class.lua"
|
|
1777
|
-
],
|
|
1778
|
-
"function": [
|
|
1779
|
-
"variable.function.lua"
|
|
1780
|
-
],
|
|
1781
|
-
"function.declaration": [
|
|
1782
|
-
"entity.name.function.lua"
|
|
1783
|
-
],
|
|
1784
|
-
"function.defaultLibrary": [
|
|
1785
|
-
"support.function.lua"
|
|
1786
|
-
],
|
|
1787
|
-
"function.static": [
|
|
1788
|
-
"entity.name.function.lua"
|
|
1789
|
-
],
|
|
1790
|
-
keyword: [
|
|
1791
|
-
"keyword.control.lua"
|
|
1792
|
-
],
|
|
1793
|
-
"keyword.async": [
|
|
1794
|
-
"entity.name.tag.lua"
|
|
1795
|
-
],
|
|
1796
|
-
"keyword.declaration": [
|
|
1797
|
-
"keyword.local.lua"
|
|
1798
|
-
],
|
|
1799
|
-
"keyword.readonly": [
|
|
1800
|
-
"constant.language.lua"
|
|
1801
|
-
],
|
|
1802
|
-
macro: [
|
|
1803
|
-
"variable.lua"
|
|
1804
|
-
],
|
|
1805
|
-
method: [
|
|
1806
|
-
"entity.name.function.lua"
|
|
1807
|
-
],
|
|
1808
|
-
"method.declaration": [
|
|
1809
|
-
"entity.name.function.lua"
|
|
1810
|
-
],
|
|
1811
|
-
number: [
|
|
1812
|
-
"constant.numeric.float.lua"
|
|
1813
|
-
],
|
|
1814
|
-
"number.static": [
|
|
1815
|
-
"constant.numeric.integer.lua"
|
|
1816
|
-
],
|
|
1817
|
-
operator: [
|
|
1818
|
-
"keyword.operator.lua"
|
|
1819
|
-
],
|
|
1820
|
-
"parameter.declaration": [
|
|
1821
|
-
"variable.parameter.lua"
|
|
1822
|
-
],
|
|
1823
|
-
property: [
|
|
1824
|
-
"entity.other.attribute.lua"
|
|
1825
|
-
],
|
|
1826
|
-
"property.declaration": [
|
|
1827
|
-
"entity.other.property.lua"
|
|
1828
|
-
],
|
|
1829
|
-
string: [
|
|
1830
|
-
"string.lua"
|
|
1831
|
-
],
|
|
1832
|
-
"string.deprecated": [
|
|
1833
|
-
"invalid.illegal.character.escape.lua"
|
|
1834
|
-
],
|
|
1835
|
-
"string.modification": [
|
|
1836
|
-
"constant.character.escape.lua"
|
|
1837
|
-
],
|
|
1838
|
-
struct: [
|
|
1839
|
-
"string.tag.lua"
|
|
1840
|
-
],
|
|
1841
|
-
"struct.declaration": [
|
|
1842
|
-
"string.tag.lua"
|
|
1843
|
-
],
|
|
1844
|
-
type: [
|
|
1845
|
-
"support.type.lua"
|
|
1846
|
-
],
|
|
1847
|
-
"type.modification": [
|
|
1848
|
-
"storage.type.generic.lua"
|
|
1849
|
-
],
|
|
1850
|
-
typeParameter: [
|
|
1851
|
-
"string.tag.lua"
|
|
1852
|
-
],
|
|
1853
|
-
variable: [
|
|
1854
|
-
"variable.other.lua"
|
|
1855
|
-
],
|
|
1856
|
-
"variable.abstract": [
|
|
1857
|
-
"variable.other.constant.lua"
|
|
1858
|
-
],
|
|
1859
|
-
"variable.declaration": [
|
|
1860
|
-
"variable.other.lua"
|
|
1861
|
-
],
|
|
1862
|
-
"variable.defaultLibrary": [
|
|
1863
|
-
"support.constant.lua"
|
|
1864
|
-
],
|
|
1865
|
-
"variable.definition": [
|
|
1866
|
-
"variable.language.self.lua"
|
|
1867
|
-
],
|
|
1868
|
-
"variable.readonly": [
|
|
1869
|
-
"variable.other.constant.lua"
|
|
1870
|
-
],
|
|
1871
|
-
"variable.static": [
|
|
1872
|
-
"variable.other.lua"
|
|
1873
|
-
]
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
language: "c",
|
|
1878
|
-
scopes: {
|
|
1879
|
-
namespace: [
|
|
1880
|
-
"entity.name.namespace.c"
|
|
1881
|
-
],
|
|
1882
|
-
type: [
|
|
1883
|
-
"entity.name.type.c"
|
|
1884
|
-
],
|
|
1885
|
-
"type.defaultLibrary": [
|
|
1886
|
-
"support.type.c"
|
|
1887
|
-
],
|
|
1888
|
-
struct: [
|
|
1889
|
-
"storage.type.struct.c"
|
|
1890
|
-
],
|
|
1891
|
-
"class": [
|
|
1892
|
-
"entity.name.type.class.c"
|
|
1893
|
-
],
|
|
1894
|
-
"class.defaultLibrary": [
|
|
1895
|
-
"support.class.c"
|
|
1896
|
-
],
|
|
1897
|
-
"interface": [
|
|
1898
|
-
"entity.name.type.interface.c"
|
|
1899
|
-
],
|
|
1900
|
-
"enum": [
|
|
1901
|
-
"entity.name.type.enum.c"
|
|
1902
|
-
],
|
|
1903
|
-
"function": [
|
|
1904
|
-
"entity.name.function.c"
|
|
1905
|
-
],
|
|
1906
|
-
"function.defaultLibrary": [
|
|
1907
|
-
"support.function.c"
|
|
1908
|
-
],
|
|
1909
|
-
method: [
|
|
1910
|
-
"entity.name.function.member.c"
|
|
1911
|
-
],
|
|
1912
|
-
variable: [
|
|
1913
|
-
"variable.other.readwrite.c",
|
|
1914
|
-
"entity.name.variable.c"
|
|
1915
|
-
],
|
|
1916
|
-
"variable.readonly": [
|
|
1917
|
-
"variable.other.constant.c"
|
|
1918
|
-
],
|
|
1919
|
-
"variable.readonly.defaultLibrary": [
|
|
1920
|
-
"support.constant.c"
|
|
1921
|
-
],
|
|
1922
|
-
parameter: [
|
|
1923
|
-
"variable.parameter.c"
|
|
1924
|
-
],
|
|
1925
|
-
property: [
|
|
1926
|
-
"variable.other.property.c"
|
|
1927
|
-
],
|
|
1928
|
-
"property.readonly": [
|
|
1929
|
-
"variable.other.constant.property.c"
|
|
1930
|
-
],
|
|
1931
|
-
enumMember: [
|
|
1932
|
-
"variable.other.enummember.c"
|
|
1933
|
-
],
|
|
1934
|
-
event: [
|
|
1935
|
-
"variable.other.event.c"
|
|
1936
|
-
],
|
|
1937
|
-
label: [
|
|
1938
|
-
"entity.name.label.c"
|
|
1939
|
-
],
|
|
1940
|
-
"variable.global": [
|
|
1941
|
-
"variable.other.global.c"
|
|
1942
|
-
],
|
|
1943
|
-
"variable.local": [
|
|
1944
|
-
"variable.other.local.c"
|
|
1945
|
-
],
|
|
1946
|
-
"property.static": [
|
|
1947
|
-
"variable.other.property.static.c"
|
|
1948
|
-
],
|
|
1949
|
-
"method.static": [
|
|
1950
|
-
"entity.name.function.member.static.c"
|
|
1951
|
-
],
|
|
1952
|
-
macro: [
|
|
1953
|
-
"entity.name.function.preprocessor.c",
|
|
1954
|
-
"entity.name.function.macro.c"
|
|
1955
|
-
],
|
|
1956
|
-
referenceType: [
|
|
1957
|
-
"entity.name.type.class.reference.c"
|
|
1958
|
-
],
|
|
1959
|
-
cliProperty: [
|
|
1960
|
-
"variable.other.property.cli.c"
|
|
1961
|
-
],
|
|
1962
|
-
genericType: [
|
|
1963
|
-
"entity.name.type.class.generic.c"
|
|
1964
|
-
],
|
|
1965
|
-
valueType: [
|
|
1966
|
-
"entity.name.type.class.value.c"
|
|
1967
|
-
],
|
|
1968
|
-
templateFunction: [
|
|
1969
|
-
"entity.name.function.templated.c"
|
|
1970
|
-
],
|
|
1971
|
-
templateType: [
|
|
1972
|
-
"entity.name.type.class.templated.c"
|
|
1973
|
-
],
|
|
1974
|
-
operatorOverload: [
|
|
1975
|
-
"entity.name.function.operator.c"
|
|
1976
|
-
],
|
|
1977
|
-
memberOperatorOverload: [
|
|
1978
|
-
"entity.name.function.operator.member.c"
|
|
1979
|
-
],
|
|
1980
|
-
newOperator: [
|
|
1981
|
-
"keyword.operator.new.c"
|
|
1982
|
-
],
|
|
1983
|
-
numberLiteral: [
|
|
1984
|
-
"entity.name.operator.custom-literal.number.c"
|
|
1985
|
-
],
|
|
1986
|
-
customLiteral: [
|
|
1987
|
-
"entity.name.operator.custom-literal.c"
|
|
1988
|
-
],
|
|
1989
|
-
stringLiteral: [
|
|
1990
|
-
"entity.name.operator.custom-literal.string.c"
|
|
1991
|
-
]
|
|
1992
|
-
}
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
language: "cpp",
|
|
1996
|
-
scopes: {
|
|
1997
|
-
namespace: [
|
|
1998
|
-
"entity.name.namespace.cpp"
|
|
1999
|
-
],
|
|
2000
|
-
type: [
|
|
2001
|
-
"entity.name.type.cpp"
|
|
2002
|
-
],
|
|
2003
|
-
"type.defaultLibrary": [
|
|
2004
|
-
"support.type.cpp"
|
|
2005
|
-
],
|
|
2006
|
-
struct: [
|
|
2007
|
-
"storage.type.struct.cpp"
|
|
2008
|
-
],
|
|
2009
|
-
"class": [
|
|
2010
|
-
"entity.name.type.class.cpp"
|
|
2011
|
-
],
|
|
2012
|
-
"class.defaultLibrary": [
|
|
2013
|
-
"support.class.cpp"
|
|
2014
|
-
],
|
|
2015
|
-
"interface": [
|
|
2016
|
-
"entity.name.type.interface.cpp"
|
|
2017
|
-
],
|
|
2018
|
-
"enum": [
|
|
2019
|
-
"entity.name.type.enum.cpp"
|
|
2020
|
-
],
|
|
2021
|
-
"function": [
|
|
2022
|
-
"entity.name.function.cpp"
|
|
2023
|
-
],
|
|
2024
|
-
"function.defaultLibrary": [
|
|
2025
|
-
"support.function.cpp"
|
|
2026
|
-
],
|
|
2027
|
-
method: [
|
|
2028
|
-
"entity.name.function.member.cpp"
|
|
2029
|
-
],
|
|
2030
|
-
variable: [
|
|
2031
|
-
"variable.other.readwrite.cpp",
|
|
2032
|
-
"entity.name.variable.cpp"
|
|
2033
|
-
],
|
|
2034
|
-
"variable.readonly": [
|
|
2035
|
-
"variable.other.constant.cpp"
|
|
2036
|
-
],
|
|
2037
|
-
"variable.readonly.defaultLibrary": [
|
|
2038
|
-
"support.constant.cpp"
|
|
2039
|
-
],
|
|
2040
|
-
parameter: [
|
|
2041
|
-
"variable.parameter.cpp"
|
|
2042
|
-
],
|
|
2043
|
-
property: [
|
|
2044
|
-
"variable.other.property.cpp"
|
|
2045
|
-
],
|
|
2046
|
-
"property.readonly": [
|
|
2047
|
-
"variable.other.constant.property.cpp"
|
|
2048
|
-
],
|
|
2049
|
-
enumMember: [
|
|
2050
|
-
"variable.other.enummember.cpp"
|
|
2051
|
-
],
|
|
2052
|
-
event: [
|
|
2053
|
-
"variable.other.event.cpp"
|
|
2054
|
-
],
|
|
2055
|
-
label: [
|
|
2056
|
-
"entity.name.label.cpp"
|
|
2057
|
-
],
|
|
2058
|
-
"variable.global": [
|
|
2059
|
-
"variable.other.global.cpp"
|
|
2060
|
-
],
|
|
2061
|
-
"variable.local": [
|
|
2062
|
-
"variable.other.local.cpp"
|
|
2063
|
-
],
|
|
2064
|
-
"property.static": [
|
|
2065
|
-
"variable.other.property.static.cpp"
|
|
2066
|
-
],
|
|
2067
|
-
"method.static": [
|
|
2068
|
-
"entity.name.function.member.static.cpp"
|
|
2069
|
-
],
|
|
2070
|
-
macro: [
|
|
2071
|
-
"entity.name.function.preprocessor.cpp",
|
|
2072
|
-
"entity.name.function.macro.cpp"
|
|
2073
|
-
],
|
|
2074
|
-
referenceType: [
|
|
2075
|
-
"entity.name.type.class.reference.cpp"
|
|
2076
|
-
],
|
|
2077
|
-
cliProperty: [
|
|
2078
|
-
"variable.other.property.cli.cpp"
|
|
2079
|
-
],
|
|
2080
|
-
genericType: [
|
|
2081
|
-
"entity.name.type.class.generic.cpp"
|
|
2082
|
-
],
|
|
2083
|
-
valueType: [
|
|
2084
|
-
"entity.name.type.class.value.cpp"
|
|
2085
|
-
],
|
|
2086
|
-
templateFunction: [
|
|
2087
|
-
"entity.name.function.templated.cpp"
|
|
2088
|
-
],
|
|
2089
|
-
templateType: [
|
|
2090
|
-
"entity.name.type.class.templated.cpp"
|
|
2091
|
-
],
|
|
2092
|
-
operatorOverload: [
|
|
2093
|
-
"entity.name.function.operator.cpp"
|
|
2094
|
-
],
|
|
2095
|
-
memberOperatorOverload: [
|
|
2096
|
-
"entity.name.function.operator.member.cpp"
|
|
2097
|
-
],
|
|
2098
|
-
newOperator: [
|
|
2099
|
-
"keyword.operator.new.cpp"
|
|
2100
|
-
],
|
|
2101
|
-
numberLiteral: [
|
|
2102
|
-
"entity.name.operator.custom-literal.number.cpp"
|
|
2103
|
-
],
|
|
2104
|
-
customLiteral: [
|
|
2105
|
-
"entity.name.operator.custom-literal.cpp"
|
|
2106
|
-
],
|
|
2107
|
-
stringLiteral: [
|
|
2108
|
-
"entity.name.operator.custom-literal.string.cpp"
|
|
2109
|
-
]
|
|
2110
|
-
}
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
language: "cuda-cpp",
|
|
2114
|
-
scopes: {
|
|
2115
|
-
namespace: [
|
|
2116
|
-
"entity.name.namespace.cuda-cpp"
|
|
2117
|
-
],
|
|
2118
|
-
type: [
|
|
2119
|
-
"entity.name.type.cuda-cpp"
|
|
2120
|
-
],
|
|
2121
|
-
"type.defaultLibrary": [
|
|
2122
|
-
"support.type.cuda-cpp"
|
|
2123
|
-
],
|
|
2124
|
-
struct: [
|
|
2125
|
-
"storage.type.struct.cuda-cpp"
|
|
2126
|
-
],
|
|
2127
|
-
"class": [
|
|
2128
|
-
"entity.name.type.class.cuda-cpp"
|
|
2129
|
-
],
|
|
2130
|
-
"class.defaultLibrary": [
|
|
2131
|
-
"support.class.cuda-cpp"
|
|
2132
|
-
],
|
|
2133
|
-
"interface": [
|
|
2134
|
-
"entity.name.type.interface.cuda-cpp"
|
|
2135
|
-
],
|
|
2136
|
-
"enum": [
|
|
2137
|
-
"entity.name.type.enum.cuda-cpp"
|
|
2138
|
-
],
|
|
2139
|
-
"function": [
|
|
2140
|
-
"entity.name.function.cuda-cpp"
|
|
2141
|
-
],
|
|
2142
|
-
"function.defaultLibrary": [
|
|
2143
|
-
"support.function.cuda-cpp"
|
|
2144
|
-
],
|
|
2145
|
-
method: [
|
|
2146
|
-
"entity.name.function.member.cuda-cpp"
|
|
2147
|
-
],
|
|
2148
|
-
variable: [
|
|
2149
|
-
"variable.other.readwrite.cuda-cpp",
|
|
2150
|
-
"entity.name.variable.cuda-cpp"
|
|
2151
|
-
],
|
|
2152
|
-
"variable.readonly": [
|
|
2153
|
-
"variable.other.constant.cuda-cpp"
|
|
2154
|
-
],
|
|
2155
|
-
"variable.readonly.defaultLibrary": [
|
|
2156
|
-
"support.constant.cuda-cpp"
|
|
2157
|
-
],
|
|
2158
|
-
parameter: [
|
|
2159
|
-
"variable.parameter.cuda-cpp"
|
|
2160
|
-
],
|
|
2161
|
-
property: [
|
|
2162
|
-
"variable.other.property.cuda-cpp"
|
|
2163
|
-
],
|
|
2164
|
-
"property.readonly": [
|
|
2165
|
-
"variable.other.constant.property.cuda-cpp"
|
|
2166
|
-
],
|
|
2167
|
-
enumMember: [
|
|
2168
|
-
"variable.other.enummember.cuda-cpp"
|
|
2169
|
-
],
|
|
2170
|
-
event: [
|
|
2171
|
-
"variable.other.event.cuda-cpp"
|
|
2172
|
-
],
|
|
2173
|
-
label: [
|
|
2174
|
-
"entity.name.label.cuda-cpp"
|
|
2175
|
-
],
|
|
2176
|
-
"variable.global": [
|
|
2177
|
-
"variable.other.global.cuda-cpp"
|
|
2178
|
-
],
|
|
2179
|
-
"variable.local": [
|
|
2180
|
-
"variable.other.local.cuda-cpp"
|
|
2181
|
-
],
|
|
2182
|
-
"property.static": [
|
|
2183
|
-
"variable.other.property.static.cuda-cpp"
|
|
2184
|
-
],
|
|
2185
|
-
"method.static": [
|
|
2186
|
-
"entity.name.function.member.static.cuda-cpp"
|
|
2187
|
-
],
|
|
2188
|
-
macro: [
|
|
2189
|
-
"entity.name.function.preprocessor.cuda-cpp",
|
|
2190
|
-
"entity.name.function.macro.cuda-cpp"
|
|
2191
|
-
],
|
|
2192
|
-
referenceType: [
|
|
2193
|
-
"entity.name.type.class.reference.cuda-cpp"
|
|
2194
|
-
],
|
|
2195
|
-
cliProperty: [
|
|
2196
|
-
"variable.other.property.cli.cuda-cpp"
|
|
2197
|
-
],
|
|
2198
|
-
genericType: [
|
|
2199
|
-
"entity.name.type.class.generic.cuda-cpp"
|
|
2200
|
-
],
|
|
2201
|
-
valueType: [
|
|
2202
|
-
"entity.name.type.class.value.cuda-cpp"
|
|
2203
|
-
],
|
|
2204
|
-
templateFunction: [
|
|
2205
|
-
"entity.name.function.templated.cuda-cpp"
|
|
2206
|
-
],
|
|
2207
|
-
templateType: [
|
|
2208
|
-
"entity.name.type.class.templated.cuda-cpp"
|
|
2209
|
-
],
|
|
2210
|
-
operatorOverload: [
|
|
2211
|
-
"entity.name.function.operator.cuda-cpp"
|
|
2212
|
-
],
|
|
2213
|
-
memberOperatorOverload: [
|
|
2214
|
-
"entity.name.function.operator.member.cuda-cpp"
|
|
2215
|
-
],
|
|
2216
|
-
newOperator: [
|
|
2217
|
-
"keyword.operator.new.cuda-cpp"
|
|
2218
|
-
],
|
|
2219
|
-
numberLiteral: [
|
|
2220
|
-
"entity.name.operator.custom-literal.number.cuda-cpp"
|
|
2221
|
-
],
|
|
2222
|
-
customLiteral: [
|
|
2223
|
-
"entity.name.operator.custom-literal.cuda-cpp"
|
|
2224
|
-
],
|
|
2225
|
-
stringLiteral: [
|
|
2226
|
-
"entity.name.operator.custom-literal.string.cuda-cpp"
|
|
2227
|
-
]
|
|
2228
|
-
}
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
language: "aspnetcorerazor",
|
|
2232
|
-
scopes: {
|
|
2233
|
-
razorTagHelperElement: [
|
|
2234
|
-
"entity.name.class.element.taghelper"
|
|
2235
|
-
],
|
|
2236
|
-
razorTagHelperAttribute: [
|
|
2237
|
-
"entity.name.class.attribute.taghelper"
|
|
2238
|
-
],
|
|
2239
|
-
razorTransition: [
|
|
2240
|
-
"keyword.control.razor.transition"
|
|
2241
|
-
],
|
|
2242
|
-
razorDirectiveAttribute: [
|
|
2243
|
-
"keyword.control.razor.directive.attribute",
|
|
2244
|
-
"keyword.control.cshtml.directive.attribute"
|
|
2245
|
-
],
|
|
2246
|
-
razorDirectiveColon: [
|
|
2247
|
-
"keyword.control.razor.directive.colon",
|
|
2248
|
-
"keyword.control.cshtml.directive.colon"
|
|
2249
|
-
],
|
|
2250
|
-
razorDirective: [
|
|
2251
|
-
"keyword.control.razor.directive",
|
|
2252
|
-
"keyword.control.cshtml.directive"
|
|
2253
|
-
],
|
|
2254
|
-
razorComment: [
|
|
2255
|
-
"comment.block.razor"
|
|
2256
|
-
],
|
|
2257
|
-
razorCommentTransition: [
|
|
2258
|
-
"meta.comment.razor",
|
|
2259
|
-
"keyword.control.cshtml.transition"
|
|
2260
|
-
],
|
|
2261
|
-
razorCommentStar: [
|
|
2262
|
-
"keyword.control.razor.comment.star",
|
|
2263
|
-
"meta.comment.razor"
|
|
2264
|
-
],
|
|
2265
|
-
angleBracket: [
|
|
2266
|
-
"punctuation.definition.tag"
|
|
2267
|
-
],
|
|
2268
|
-
forwardSlash: [
|
|
2269
|
-
"punctuation.definition.tag"
|
|
2270
|
-
],
|
|
2271
|
-
equals: [
|
|
2272
|
-
"punctuation.separator.key-value.html"
|
|
2273
|
-
],
|
|
2274
|
-
markupElement: [
|
|
2275
|
-
"entity.name.tag.html"
|
|
2276
|
-
],
|
|
2277
|
-
markupAttribute: [
|
|
2278
|
-
"entity.other.attribute-name.html"
|
|
2279
|
-
],
|
|
2280
|
-
markupComment: [
|
|
2281
|
-
"comment.block.html"
|
|
2282
|
-
],
|
|
2283
|
-
markupCommentPunctuation: [
|
|
2284
|
-
"punctuation.definition.comment.html",
|
|
2285
|
-
"comment.block.html"
|
|
2286
|
-
]
|
|
2287
|
-
}
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
language: "csharp",
|
|
2291
|
-
scopes: {
|
|
2292
|
-
plainKeyword: [
|
|
2293
|
-
"keyword.cs"
|
|
2294
|
-
],
|
|
2295
|
-
controlKeyword: [
|
|
2296
|
-
"keyword.control.cs"
|
|
2297
|
-
],
|
|
2298
|
-
operatorOverloaded: [
|
|
2299
|
-
"entity.name.function.member.overload.cs"
|
|
2300
|
-
],
|
|
2301
|
-
preprocessorKeyword: [
|
|
2302
|
-
"keyword.preprocessor.cs"
|
|
2303
|
-
],
|
|
2304
|
-
preprocessorText: [
|
|
2305
|
-
"meta.preprocessor.string.cs"
|
|
2306
|
-
],
|
|
2307
|
-
excludedCode: [
|
|
2308
|
-
"support.other.excluded.cs"
|
|
2309
|
-
],
|
|
2310
|
-
punctuation: [
|
|
2311
|
-
"punctuation.cs"
|
|
2312
|
-
],
|
|
2313
|
-
stringVerbatim: [
|
|
2314
|
-
"string.verbatim.cs"
|
|
2315
|
-
],
|
|
2316
|
-
stringEscapeCharacter: [
|
|
2317
|
-
"constant.character.escape.cs"
|
|
2318
|
-
],
|
|
2319
|
-
delegate: [
|
|
2320
|
-
"entity.name.type.delegate.cs"
|
|
2321
|
-
],
|
|
2322
|
-
module: [
|
|
2323
|
-
"entity.name.type.module.cs"
|
|
2324
|
-
],
|
|
2325
|
-
extensionMethod: [
|
|
2326
|
-
"entity.name.function.extension.cs"
|
|
2327
|
-
],
|
|
2328
|
-
field: [
|
|
2329
|
-
"entity.name.variable.field.cs"
|
|
2330
|
-
],
|
|
2331
|
-
local: [
|
|
2332
|
-
"entity.name.variable.local.cs"
|
|
2333
|
-
],
|
|
2334
|
-
xmlDocCommentAttributeName: [
|
|
2335
|
-
"comment.documentation.attribute.name.cs"
|
|
2336
|
-
],
|
|
2337
|
-
xmlDocCommentAttributeQuotes: [
|
|
2338
|
-
"comment.documentation.attribute.quotes.cs"
|
|
2339
|
-
],
|
|
2340
|
-
xmlDocCommentAttributeValue: [
|
|
2341
|
-
"comment.documentation.attribute.value.cs"
|
|
2342
|
-
],
|
|
2343
|
-
xmlDocCommentCDataSection: [
|
|
2344
|
-
"comment.documentation.cdata.cs"
|
|
2345
|
-
],
|
|
2346
|
-
xmlDocCommentComment: [
|
|
2347
|
-
"comment.documentation.comment.cs"
|
|
2348
|
-
],
|
|
2349
|
-
xmlDocCommentDelimiter: [
|
|
2350
|
-
"comment.documentation.delimiter.cs"
|
|
2351
|
-
],
|
|
2352
|
-
xmlDocCommentEntityReference: [
|
|
2353
|
-
"comment.documentation.entityReference.cs"
|
|
2354
|
-
],
|
|
2355
|
-
xmlDocCommentName: [
|
|
2356
|
-
"comment.documentation.name.cs"
|
|
2357
|
-
],
|
|
2358
|
-
xmlDocCommentProcessingInstruction: [
|
|
2359
|
-
"comment.documentation.processingInstruction.cs"
|
|
2360
|
-
],
|
|
2361
|
-
xmlDocCommentText: [
|
|
2362
|
-
"comment.documentation.cs"
|
|
2363
|
-
],
|
|
2364
|
-
regexComment: [
|
|
2365
|
-
"string.regexp.comment.cs"
|
|
2366
|
-
],
|
|
2367
|
-
regexCharacterClass: [
|
|
2368
|
-
"constant.character.character-class.regexp.cs"
|
|
2369
|
-
],
|
|
2370
|
-
regexAnchor: [
|
|
2371
|
-
"keyword.control.anchor.regexp.cs"
|
|
2372
|
-
],
|
|
2373
|
-
regexQuantifier: [
|
|
2374
|
-
"keyword.operator.quantifier.regexp.cs"
|
|
2375
|
-
],
|
|
2376
|
-
regexGrouping: [
|
|
2377
|
-
"punctuation.definition.group.regexp.cs"
|
|
2378
|
-
],
|
|
2379
|
-
regexAlternation: [
|
|
2380
|
-
"keyword.operator.or.regexp.cs"
|
|
2381
|
-
],
|
|
2382
|
-
regexSelfEscapedCharacter: [
|
|
2383
|
-
"string.regexp.self-escaped-character.cs"
|
|
2384
|
-
],
|
|
2385
|
-
regexOtherEscape: [
|
|
2386
|
-
"string.regexp.other-escape.cs"
|
|
2387
|
-
]
|
|
2388
|
-
}
|
|
2389
|
-
}
|
|
2390
|
-
];
|
|
2391
|
-
var semanticTokenModifiers = [
|
|
2392
|
-
{
|
|
2393
|
-
id: "public",
|
|
2394
|
-
description: "Style for symbols with the public access modifier."
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
id: "private",
|
|
2398
|
-
description: "Style for symbols with the private access modifier."
|
|
2399
|
-
},
|
|
2400
|
-
{
|
|
2401
|
-
id: "protected",
|
|
2402
|
-
description: "Style for symbols with the protected access modifier."
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
id: "native",
|
|
2406
|
-
description: "Style for symbols with the native modifier."
|
|
2407
|
-
},
|
|
2408
|
-
{
|
|
2409
|
-
id: "generic",
|
|
2410
|
-
description: "Style for symbols that are generic (have type parameters)."
|
|
2411
|
-
},
|
|
2412
|
-
{
|
|
2413
|
-
id: "typeArgument",
|
|
2414
|
-
description: "Style for symbols that are type arguments for a generic symbol."
|
|
2415
|
-
},
|
|
2416
|
-
{
|
|
2417
|
-
id: "importDeclaration",
|
|
2418
|
-
description: "Style for symbols that are part of an import declaration."
|
|
2419
|
-
},
|
|
2420
|
-
{
|
|
2421
|
-
id: "constructor",
|
|
2422
|
-
description: "Style for symbols that are constructors."
|
|
2423
|
-
},
|
|
2424
|
-
{
|
|
2425
|
-
id: "global",
|
|
2426
|
-
description: "Style to use for symbols that are global."
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
id: "local",
|
|
2430
|
-
description: "Style to use for symbols that are local."
|
|
2431
|
-
}
|
|
2432
|
-
];
|
|
2433
|
-
var extensions = {
|
|
2434
|
-
configurationDefaults: configurationDefaults,
|
|
2435
|
-
semanticTokenTypes: semanticTokenTypes,
|
|
2436
|
-
semanticTokenScopes: semanticTokenScopes,
|
|
2437
|
-
semanticTokenModifiers: semanticTokenModifiers
|
|
2438
|
-
};
|
|
2439
|
-
|
|
2440
1267
|
// Inpired by https://github.com/microsoft/vscode/blob/94c9ea46838a9a619aeafb7e8afd1170c967bb55/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.ts
|
|
2441
1268
|
const tokenClassificationRegistry = monaco.extra.getTokenClassificationRegistry();
|
|
2442
1269
|
|
|
@@ -2477,6 +1304,7 @@ function getOrCreateGrammarFactory() {
|
|
|
2477
1304
|
}
|
|
2478
1305
|
|
|
2479
1306
|
const languageService$2 = monaco.extra.StandaloneServices.get(monaco.languages.ILanguageService);
|
|
1307
|
+
|
|
2480
1308
|
async function createTextMateTokensProvider(languageId) {
|
|
2481
1309
|
const grammarFactory = getOrCreateGrammarFactory();
|
|
2482
1310
|
const encodedLanguageId = languageService$2.languageIdCodec.encodeLanguageId(languageId);
|
|
@@ -2498,6 +1326,18 @@ async function createTextMateTokensProvider(languageId) {
|
|
|
2498
1326
|
return new CGTMTokenizationSupport(languageId, encodedLanguageId, tokenization, grammar);
|
|
2499
1327
|
}
|
|
2500
1328
|
|
|
1329
|
+
const tokenizationSupports = new Map();
|
|
1330
|
+
function getOrCreateTextMateTokensProvider(languageId) {
|
|
1331
|
+
let tokenizationSupportPromise = tokenizationSupports.get(languageId);
|
|
1332
|
+
|
|
1333
|
+
if (tokenizationSupportPromise == null) {
|
|
1334
|
+
tokenizationSupportPromise = createTextMateTokensProvider(languageId);
|
|
1335
|
+
tokenizationSupports.set(languageId, tokenizationSupportPromise);
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
return tokenizationSupportPromise;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
2501
1341
|
var textMateLanguages = [
|
|
2502
1342
|
{
|
|
2503
1343
|
"id": "clojure",
|
|
@@ -4249,7 +3089,7 @@ for (const languageId of languagesIds) {
|
|
|
4249
3089
|
});
|
|
4250
3090
|
monaco.languages.setTokenizationSupportFactory(languageId, {
|
|
4251
3091
|
createTokenizationSupport: async () => {
|
|
4252
|
-
return
|
|
3092
|
+
return getOrCreateTextMateTokensProvider(languageId).catch(err => {
|
|
4253
3093
|
const monarchLoader = languageLoader[languageId];
|
|
4254
3094
|
|
|
4255
3095
|
if (monarchLoader != null) {
|
|
@@ -4284,20 +3124,23 @@ function parseLanguageConfiguration(config) {
|
|
|
4284
3124
|
});
|
|
4285
3125
|
}
|
|
4286
3126
|
|
|
3127
|
+
async function loadLanguageConfiguration(languageId) {
|
|
3128
|
+
const loader = loader$1[languageId];
|
|
3129
|
+
|
|
3130
|
+
if (loader != null) {
|
|
3131
|
+
const configuration = await loader();
|
|
3132
|
+
monaco.extra.handleLanguageConfiguration(languageId, addCustomFoldingMarkers(parseLanguageConfiguration(configuration)));
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
|
|
4287
3136
|
languageService.onDidEncounterLanguage(async languageId => {
|
|
4288
3137
|
if (languageId === 'plaintext') {
|
|
4289
3138
|
return;
|
|
4290
3139
|
}
|
|
4291
3140
|
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
loader().then(configuration => {
|
|
4296
|
-
monaco.extra.handleLanguageConfiguration(languageId, addCustomFoldingMarkers(parseLanguageConfiguration(configuration)));
|
|
4297
|
-
}).catch(error => {
|
|
4298
|
-
console.error('Unable to load language configuration', error);
|
|
4299
|
-
});
|
|
4300
|
-
}
|
|
3141
|
+
loadLanguageConfiguration(languageId).catch(error => {
|
|
3142
|
+
console.error('Unable to load language configuration', error);
|
|
3143
|
+
});
|
|
4301
3144
|
});
|
|
4302
3145
|
|
|
4303
3146
|
function getMonacoLanguage(languageOrModeId) {
|
|
@@ -4318,6 +3161,10 @@ function getMonacoLanguage(languageOrModeId) {
|
|
|
4318
3161
|
return 'plaintext';
|
|
4319
3162
|
}
|
|
4320
3163
|
|
|
3164
|
+
async function loadLanguage(languageId) {
|
|
3165
|
+
await Promise.all([loadLanguageConfiguration(languageId), getOrCreateTextMateTokensProvider(languageId)]);
|
|
3166
|
+
}
|
|
3167
|
+
|
|
4321
3168
|
var $schema = "vscode://schemas/color-theme";
|
|
4322
3169
|
var type = "light";
|
|
4323
3170
|
var colors = {
|
|
@@ -4971,38 +3818,6 @@ addVSCodeTheme('codingame-light', defaultTMTheme).then(() => {
|
|
|
4971
3818
|
console.error('Unable to add default vscode theme', err);
|
|
4972
3819
|
});
|
|
4973
3820
|
|
|
4974
|
-
const configurationRegistry = monaco.extra.Registry.as(monaco.extra.ConfigurationExtensions.Configuration);
|
|
4975
|
-
configurationRegistry.registerDefaultConfigurations([{
|
|
4976
|
-
overrides: {
|
|
4977
|
-
'editor.codeLens': false,
|
|
4978
|
-
'editor.fontSize': 12,
|
|
4979
|
-
'editor.maxTokenizationLineLength': 1000,
|
|
4980
|
-
'editor.quickSuggestions': false
|
|
4981
|
-
}
|
|
4982
|
-
}]);
|
|
4983
|
-
configurationRegistry.registerDefaultConfigurations([{
|
|
4984
|
-
overrides: extensions.configurationDefaults
|
|
4985
|
-
}]);
|
|
4986
|
-
const simpleConfigurationService = monaco.extra.StandaloneServices.get(monaco.extra.IConfigurationService);
|
|
4987
|
-
const onConfigurationChanged = simpleConfigurationService.onDidChangeConfiguration;
|
|
4988
|
-
function getConfiguration(language) {
|
|
4989
|
-
let section = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'editor';
|
|
4990
|
-
return simpleConfigurationService.getValue(section, {
|
|
4991
|
-
overrideIdentifier: language
|
|
4992
|
-
});
|
|
4993
|
-
}
|
|
4994
|
-
function updateUserConfiguration(configurationJson) {
|
|
4995
|
-
simpleConfigurationService.updateUserConfiguration(configurationJson);
|
|
4996
|
-
}
|
|
4997
|
-
function registerConfigurations(configurations, validate) {
|
|
4998
|
-
configurationRegistry.registerConfigurations(configurations, validate);
|
|
4999
|
-
}
|
|
5000
|
-
function registerDefaultConfigurations(defaultConfigurations) {
|
|
5001
|
-
configurationRegistry.registerDefaultConfigurations(defaultConfigurations.map(overrides => ({
|
|
5002
|
-
overrides
|
|
5003
|
-
})));
|
|
5004
|
-
}
|
|
5005
|
-
|
|
5006
3821
|
let popupEditorDisposable = null;
|
|
5007
3822
|
|
|
5008
3823
|
function openNewCodeEditor(model) {
|
|
@@ -5759,4 +4574,4 @@ function hideCodeWithoutDecoration(editor, decorations) {
|
|
|
5759
4574
|
};
|
|
5760
4575
|
}
|
|
5761
4576
|
|
|
5762
|
-
export { addVSCodeTheme, createEditor,
|
|
4577
|
+
export { addVSCodeTheme, createEditor, getMonacoLanguage, getThemeData, hideCodeWithoutDecoration, loadLanguage, lockCodeWithoutDecoration, registerEditorOpenHandler, registerTextModelContentProvider, updateEditorKeybindingsMode, updateKeybindings };
|