@codingame/monaco-editor-wrapper 3.4.1 → 3.5.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.
Files changed (81) hide show
  1. package/dist/{HTML (Eex).js → HTML (Eex)2.js} +0 -0
  2. package/dist/JavaScript.tmLanguage.js +13 -7
  3. package/dist/JavaScriptReact.tmLanguage.js +13 -7
  4. package/dist/Scala.tmLanguage.js +1 -1
  5. package/dist/TypeScript.tmLanguage.js +13 -7
  6. package/dist/TypeScriptReact.tmLanguage.js +13 -7
  7. package/dist/atd.js +90 -94
  8. package/dist/atd2.js +94 -90
  9. package/dist/c.js +8 -0
  10. package/dist/cpp.js +8 -0
  11. package/dist/cpp.tmLanguage.js +150 -112
  12. package/dist/cpptools.js +133 -40
  13. package/dist/css.worker.js +1 -1
  14. package/dist/cuda-cpp.js +8 -0
  15. package/dist/d.js +3157 -84
  16. package/dist/d2.js +84 -3157
  17. package/dist/d3.js +4 -2
  18. package/dist/dart.js +510 -83
  19. package/dist/dart2.js +83 -510
  20. package/dist/dart3.js +0 -6
  21. package/dist/diet.js +740 -82
  22. package/dist/diet2.js +82 -740
  23. package/dist/django-html.js +155 -0
  24. package/dist/django-html.tmLanguage.js +715 -0
  25. package/dist/django-txt.js +155 -0
  26. package/dist/django-txt.tmLanguage.js +269 -0
  27. package/dist/dml.js +155 -76
  28. package/dist/dml2.js +76 -155
  29. package/dist/dune-project.js +469 -53
  30. package/dist/dune-project2.js +53 -469
  31. package/dist/dune-workspace.js +287 -54
  32. package/dist/dune-workspace2.js +54 -287
  33. package/dist/dune.js +2948 -51
  34. package/dist/dune2.js +51 -2948
  35. package/dist/elixir.js +2335 -63
  36. package/dist/elixir2.js +63 -2335
  37. package/dist/features/cssContribution.js +1 -4
  38. package/dist/features/extensionConfigurations.js +25 -122
  39. package/dist/features/htmlContribution.js +4 -18
  40. package/dist/features/jsonContribution.js +1 -8
  41. package/dist/features/typescriptContribution.js +4 -8
  42. package/dist/{html (eex)2.js → html (eex).js} +0 -0
  43. package/dist/html-html.code-snippets.js +20 -0
  44. package/dist/html.worker.js +1 -1
  45. package/dist/index.js +2178 -1355
  46. package/dist/index2.js +1362 -2186
  47. package/dist/java2.js +32 -9
  48. package/dist/json.worker.js +1 -1
  49. package/dist/lua2.js +35 -0
  50. package/dist/main.js +322 -1420
  51. package/dist/ocaml.interface.js +273 -95
  52. package/dist/ocaml.interface2.js +95 -273
  53. package/dist/ocaml.js +884 -95
  54. package/dist/ocaml2.js +95 -884
  55. package/dist/omnisharp.js +6 -0
  56. package/dist/php-php.code-snippets.js +2 -0
  57. package/dist/r.js +657 -81
  58. package/dist/r2.js +81 -657
  59. package/dist/scalameta.js +5 -4
  60. package/dist/sdl.js +150 -78
  61. package/dist/sdl2.js +78 -150
  62. package/dist/semanticdb.js +62 -0
  63. package/dist/solidity.js +1172 -56
  64. package/dist/solidity2.js +56 -1172
  65. package/dist/solidity3.js +6 -5
  66. package/dist/svelte.svelte-vscode-javascript.js +45 -0
  67. package/dist/svelte.svelte-vscode-typescript.js +43 -0
  68. package/dist/svelte.svelte-vscode.js +8 -1
  69. package/dist/svelte.tmLanguage.src.yaml.js +3 -3
  70. package/dist/theme-defaults~light_vs.js +3 -2
  71. package/dist/ts.worker.js +1 -1
  72. package/dist/typescript-basics-typescript.code-snippets.js +1 -0
  73. package/dist/vim.js +8 -8
  74. package/dist/vscode-django-filters.js +340 -0
  75. package/dist/vscode-django.js +37 -0
  76. package/dist/vscode-python.js +4 -8
  77. package/dist/vue-sugarss.js +390 -54
  78. package/dist/vue-sugarss2.js +54 -390
  79. package/dist/worker.js +1 -3
  80. package/package.json +29 -26
  81. package/stats.html +44 -34
@@ -1,481 +1,65 @@
1
- var name = "dune-project";
2
- var scopeName = "source.dune-project";
3
- var fileTypes = [
4
- "dune-project"
1
+ var comments = {
2
+ lineComment: ";"
3
+ };
4
+ var brackets = [
5
+ [
6
+ "{",
7
+ "}"
8
+ ],
9
+ [
10
+ "[",
11
+ "]"
12
+ ],
13
+ [
14
+ "(",
15
+ ")"
16
+ ]
5
17
  ];
6
- var patterns = [
18
+ var autoClosingPairs = [
19
+ {
20
+ open: "{",
21
+ close: "}"
22
+ },
7
23
  {
8
- include: "#stanzas"
24
+ open: "[",
25
+ close: "]"
9
26
  },
10
27
  {
11
- include: "source.dune#general"
28
+ open: "(",
29
+ close: ")"
30
+ },
31
+ {
32
+ open: "\"",
33
+ close: "\"",
34
+ notIn: [
35
+ "string",
36
+ "comment"
37
+ ]
12
38
  }
13
39
  ];
14
- var repository = {
15
- stanzas: {
16
- patterns: [
17
- {
18
- comment: "lang",
19
- begin: "\\([[:space:]]*(lang)[[:space:]]+(dune)\\b",
20
- end: "\\)",
21
- beginCaptures: {
22
- "1": {
23
- name: "keyword.language.dune-project"
24
- },
25
- "2": {
26
- name: "keyword.language.dune-project"
27
- }
28
- },
29
- patterns: [
30
- {
31
- include: "source.dune#general"
32
- }
33
- ]
34
- },
35
- {
36
- comment: "name",
37
- begin: "\\([[:space:]]*(name)\\b",
38
- end: "\\)",
39
- beginCaptures: {
40
- "1": {
41
- name: "keyword.language.dune-project"
42
- }
43
- },
44
- contentName: "variable.other.declaration.dune-project",
45
- patterns: [
46
- {
47
- include: "source.dune#general"
48
- }
49
- ]
50
- },
51
- {
52
- comment: "version",
53
- begin: "\\([[:space:]]*(version)\\b",
54
- end: "\\)",
55
- beginCaptures: {
56
- "1": {
57
- name: "keyword.language.dune-project"
58
- }
59
- },
60
- contentName: "constant.language.dune-project",
61
- patterns: [
62
- {
63
- include: "source.dune#general"
64
- }
65
- ]
66
- },
67
- {
68
- comment: "implicit_transitive_deps",
69
- begin: "\\([[:space:]]*(implicit_transitive_deps)\\b",
70
- end: "\\)",
71
- beginCaptures: {
72
- "1": {
73
- name: "keyword.language.dune-project"
74
- }
75
- },
76
- patterns: [
77
- {
78
- include: "source.dune#general"
79
- }
80
- ]
81
- },
82
- {
83
- comment: "wrapped_executables",
84
- begin: "\\([[:space:]]*(wrapped_executables)\\b",
85
- end: "\\)",
86
- beginCaptures: {
87
- "1": {
88
- name: "keyword.language.dune-project"
89
- }
90
- },
91
- patterns: [
92
- {
93
- include: "source.dune#general"
94
- }
95
- ]
96
- },
97
- {
98
- comment: "explicit_js_mode",
99
- match: "\\([[:space:]]*(explicit_js_mode)[[:space:]]*\\)",
100
- captures: {
101
- "1": {
102
- name: "keyword.language.dune-project"
103
- }
104
- }
105
- },
106
- {
107
- comment: "dialect",
108
- begin: "\\([[:space:]]*(dialect)\\b",
109
- end: "\\)",
110
- beginCaptures: {
111
- "1": {
112
- name: "keyword.language.dune-project"
113
- }
114
- },
115
- patterns: [
116
- {
117
- comment: "name",
118
- begin: "\\([[:space:]]*(name)\\b",
119
- end: "\\)",
120
- beginCaptures: {
121
- "1": {
122
- name: "keyword.language.dune-project"
123
- }
124
- },
125
- contentName: "variable.other.declaration.dune-project",
126
- patterns: [
127
- {
128
- include: "source.dune#general"
129
- }
130
- ]
131
- },
132
- {
133
- comment: "implementation/interface",
134
- begin: "\\([[:space:]]*(implementation|interface)\\b",
135
- end: "\\)",
136
- beginCaptures: {
137
- "1": {
138
- name: "keyword.language.dune-project"
139
- }
140
- },
141
- patterns: [
142
- {
143
- comment: "extension/preprocess/format",
144
- begin: "\\([[:space:]]*(extension|preprocess|format)\\b",
145
- end: "\\)",
146
- beginCaptures: {
147
- "1": {
148
- name: "keyword.language.dune-project"
149
- }
150
- },
151
- patterns: [
152
- {
153
- include: "source.dune#general"
154
- }
155
- ]
156
- }
157
- ]
158
- },
159
- {
160
- include: "source.dune#general"
161
- }
162
- ]
163
- },
164
- {
165
- comment: "formatting",
166
- begin: "\\([[:space:]]*(formatting)\\b",
167
- end: "\\)",
168
- beginCaptures: {
169
- "1": {
170
- name: "keyword.language.dune-project"
171
- }
172
- },
173
- patterns: [
174
- {
175
- name: "constant.language.dune-project",
176
- match: "\\b(disabled)\\b"
177
- },
178
- {
179
- begin: "\\([[:space:]]*(enabled_for)\\b",
180
- end: "\\)",
181
- beginCaptures: {
182
- "1": {
183
- name: "keyword.language.dune-project"
184
- }
185
- },
186
- patterns: [
187
- {
188
- include: "source.dune#general"
189
- }
190
- ]
191
- },
192
- {
193
- include: "source.dune#general"
194
- }
195
- ]
196
- },
197
- {
198
- comment: "generate_opam_files",
199
- begin: "\\([[:space:]]*(generate_opam_files)\\b",
200
- end: "\\)",
201
- beginCaptures: {
202
- "1": {
203
- name: "keyword.language.dune-project"
204
- }
205
- },
206
- patterns: [
207
- {
208
- include: "source.dune#general"
209
- }
210
- ]
211
- },
212
- {
213
- comment: "package",
214
- begin: "\\([[:space:]]*(package)\\b",
215
- end: "\\)",
216
- beginCaptures: {
217
- "1": {
218
- name: "keyword.language.dune-project"
219
- }
220
- },
221
- patterns: [
222
- {
223
- comment: "name",
224
- begin: "\\([[:space:]]*(name)\\b",
225
- end: "\\)",
226
- beginCaptures: {
227
- "1": {
228
- name: "keyword.language.dune-project"
229
- }
230
- },
231
- contentName: "variable.other.declaration.dune-project",
232
- patterns: [
233
- {
234
- include: "source.dune#general"
235
- }
236
- ]
237
- },
238
- {
239
- comment: "synopsis/description",
240
- begin: "\\([[:space:]]*(synopsis|description)\\b",
241
- end: "\\)",
242
- beginCaptures: {
243
- "1": {
244
- name: "keyword.language.dune-project"
245
- }
246
- },
247
- patterns: [
248
- {
249
- include: "source.dune#general"
250
- }
251
- ]
252
- },
253
- {
254
- comment: "depends/conflicts/depopts",
255
- begin: "\\([[:space:]]*(depends|conflicts|depopts)\\b",
256
- end: "\\)",
257
- beginCaptures: {
258
- "1": {
259
- name: "keyword.language.dune-project"
260
- }
261
- },
262
- patterns: [
263
- {
264
- comment: "dependency",
265
- name: "variable.other.declaration.dune-project",
266
- match: "\\b([[:alpha:]-]+)\\b"
267
- },
268
- {
269
- comment: "dependency constraint",
270
- begin: "\\([[:space:]]*([[:alpha:]-]+)\\b",
271
- end: "\\)",
272
- beginCaptures: {
273
- "1": {
274
- name: "variable.other.declaration.dune-project"
275
- }
276
- },
277
- patterns: [
278
- {
279
- include: "source.dune#general"
280
- }
281
- ]
282
- },
283
- {
284
- include: "source.dune#general"
285
- }
286
- ]
287
- },
288
- {
289
- comment: "tags",
290
- begin: "\\([[:space:]]*(tags)\\b",
291
- end: "\\)",
292
- beginCaptures: {
293
- "1": {
294
- name: "keyword.language.dune-project"
295
- }
296
- },
297
- contentName: "variable.other.declaration.dune-project",
298
- patterns: [
299
- {
300
- include: "source.dune#general"
301
- }
302
- ]
303
- },
304
- {
305
- comment: "deprecated_package_names",
306
- begin: "\\([[:space:]]*(deprecated_package_names)\\b",
307
- end: "\\)",
308
- beginCaptures: {
309
- "1": {
310
- name: "keyword.language.dune-project"
311
- }
312
- },
313
- patterns: [
314
- {
315
- include: "source.dune#general"
316
- }
317
- ]
318
- },
319
- {
320
- include: "#opam-metadata"
321
- },
322
- {
323
- include: "source.dune#general"
324
- }
325
- ]
326
- },
327
- {
328
- comment: "using",
329
- begin: "\\([[:space:]]*(using)([[:space:]]+menhir)?\\b",
330
- end: "\\)",
331
- beginCaptures: {
332
- "1": {
333
- name: "keyword.language.dune-project"
334
- },
335
- "2": {
336
- name: "variable.other.declaration.dune-project"
337
- }
338
- },
339
- patterns: [
340
- {
341
- include: "source.dune#general"
342
- }
343
- ]
344
- },
345
- {
346
- comment: "cram",
347
- begin: "\\([[:space:]]*(cram)\\b",
348
- end: "\\)",
349
- beginCaptures: {
350
- "1": {
351
- name: "keyword.language.dune-project"
352
- }
353
- },
354
- contentName: "variable.other.declaration.dune-project",
355
- patterns: [
356
- {
357
- include: "source.dune#general"
358
- }
359
- ]
360
- },
361
- {
362
- include: "#opam-metadata"
363
- }
364
- ]
40
+ var surroundingPairs = [
41
+ {
42
+ open: "[",
43
+ close: "]"
365
44
  },
366
- "opam-metadata": {
367
- patterns: [
368
- {
369
- comment: "license",
370
- begin: "\\([[:space:]]*(license)\\b",
371
- end: "\\)",
372
- beginCaptures: {
373
- "1": {
374
- name: "keyword.language.dune-project"
375
- }
376
- },
377
- contentName: "constant.language.dune-project",
378
- patterns: [
379
- {
380
- include: "source.dune#general"
381
- }
382
- ]
383
- },
384
- {
385
- comment: "authors/maintainers",
386
- begin: "\\([[:space:]]*(authors|maintainers)\\b",
387
- end: "\\)",
388
- beginCaptures: {
389
- "1": {
390
- name: "keyword.language.dune-project"
391
- }
392
- },
393
- patterns: [
394
- {
395
- include: "source.dune#general"
396
- }
397
- ]
398
- },
399
- {
400
- comment: "source",
401
- begin: "\\([[:space:]]*(source)\\b",
402
- end: "\\)",
403
- beginCaptures: {
404
- "1": {
405
- name: "keyword.language.dune-project"
406
- }
407
- },
408
- patterns: [
409
- {
410
- comment: "github",
411
- begin: "\\([[:space:]]*(github)\\b",
412
- end: "\\)",
413
- beginCaptures: {
414
- "1": {
415
- name: "keyword.language.dune-project"
416
- }
417
- },
418
- patterns: [
419
- {
420
- name: "keyword.language.dune-project",
421
- match: "/"
422
- },
423
- {
424
- include: "source.dune#general"
425
- }
426
- ],
427
- contentName: "string.other.line.dune-project"
428
- },
429
- {
430
- comment: "uri",
431
- begin: "\\([[:space:]]*(uri)\\b",
432
- end: "\\)",
433
- beginCaptures: {
434
- "1": {
435
- name: "keyword.language.dune-project"
436
- }
437
- },
438
- patterns: [
439
- {
440
- include: "source.dune#general"
441
- }
442
- ]
443
- },
444
- {
445
- include: "source.dune#general"
446
- }
447
- ]
448
- },
449
- {
450
- comment: "bug_reports/homepage/documentation",
451
- begin: "\\([[:space:]]*(bug_reports|homepage|documentation)\\b",
452
- end: "\\)",
453
- beginCaptures: {
454
- "1": {
455
- name: "keyword.language.dune-project"
456
- }
457
- },
458
- patterns: [
459
- {
460
- include: "source.dune#general"
461
- }
462
- ]
463
- }
464
- ]
45
+ {
46
+ open: "(",
47
+ close: ")"
48
+ },
49
+ {
50
+ open: "\"",
51
+ close: "\""
465
52
  }
466
- };
467
- var information_for_contributors = [
468
- "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
469
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
470
- "Once accepted there, we are happy to receive an update request."
471
53
  ];
54
+ var wordPattern = {
55
+ pattern: "[A-Za-z_'`][A-Za-z_'.0-9]*"
56
+ };
472
57
  var duneProject = {
473
- name: name,
474
- scopeName: scopeName,
475
- fileTypes: fileTypes,
476
- patterns: patterns,
477
- repository: repository,
478
- information_for_contributors: information_for_contributors
58
+ comments: comments,
59
+ brackets: brackets,
60
+ autoClosingPairs: autoClosingPairs,
61
+ surroundingPairs: surroundingPairs,
62
+ wordPattern: wordPattern
479
63
  };
480
64
 
481
- export { duneProject as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
65
+ export { autoClosingPairs, brackets, comments, duneProject as default, surroundingPairs, wordPattern };