@codingame/monaco-editor-wrapper 1.15.0 → 2.1.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.
Files changed (58) hide show
  1. package/dist/COBOL.tmLanguage.js +2 -2
  2. package/dist/META.js +100 -0
  3. package/dist/atd.js +114 -0
  4. package/dist/atd2.js +110 -0
  5. package/dist/cobol-snippets.js +2 -2117
  6. package/dist/cobol2.js +46 -0
  7. package/dist/cram.js +257 -0
  8. package/dist/dune-project.js +65 -0
  9. package/dist/dune-project2.js +481 -0
  10. package/dist/dune-workspace.js +65 -0
  11. package/dist/dune-workspace2.js +298 -0
  12. package/dist/dune.js +65 -0
  13. package/dist/dune2.js +2962 -0
  14. package/dist/index.js +31 -1
  15. package/dist/main.js +490 -391
  16. package/dist/menhir-action.js +51 -0
  17. package/dist/menhir.js +597 -0
  18. package/dist/merlin.js +23 -23
  19. package/dist/monaco.d.ts +1 -1
  20. package/dist/oasis.js +99 -0
  21. package/dist/ocaml-dune-project.js +38 -0
  22. package/dist/ocaml-dune.js +53 -0
  23. package/dist/ocaml-markdown-codeblock.js +1 -1
  24. package/dist/ocaml-ocaml.js +88 -0
  25. package/dist/ocaml-ocamllex.js +12 -0
  26. package/dist/ocaml.META.js +29 -0
  27. package/dist/ocaml.interface.js +114 -0
  28. package/dist/ocaml.interface2.js +292 -0
  29. package/dist/ocaml.js +40 -8
  30. package/dist/ocaml.menhir.js +81 -0
  31. package/dist/ocaml.oasis.js +18 -0
  32. package/dist/ocaml.ocamlbuild.js +45 -0
  33. package/dist/ocaml.ocamlformat.js +8 -0
  34. package/dist/ocaml.ocamllex.js +60 -0
  35. package/dist/ocaml.opam-install.js +49 -0
  36. package/dist/ocaml.opam.js +69 -0
  37. package/dist/ocaml2.js +600 -2676
  38. package/dist/ocaml3.js +89 -105
  39. package/dist/ocamlbuild.js +142 -192
  40. package/dist/ocamldoc.js +54 -0
  41. package/dist/ocamlformat.js +206 -0
  42. package/dist/ocamllex.js +133 -0
  43. package/dist/opam-install.js +40 -0
  44. package/dist/opam.js +100 -109
  45. package/dist/reason-markdown-codeblock.js +1 -1
  46. package/dist/reason.js +0 -4
  47. package/dist/scalameta.js +1 -1
  48. package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
  49. package/package.json +47 -3
  50. package/stats.html +1 -1
  51. package/dist/ocaml-hover-info.js +0 -34
  52. package/dist/ocaml-hover-type.js +0 -24
  53. package/dist/ocaml-reason.js +0 -100
  54. package/dist/reason-hover-info.js +0 -34
  55. package/dist/reason-hover-signature.js +0 -21
  56. package/dist/reason-hover-type.js +0 -21
  57. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
  58. package/dist/services/TextModelService.d.ts +0 -25
@@ -0,0 +1,298 @@
1
+ var name = "dune-workspace";
2
+ var scopeName = "source.dune-workspace";
3
+ var fileTypes = [
4
+ "dune-workspace"
5
+ ];
6
+ var patterns = [
7
+ {
8
+ include: "#stanzas"
9
+ },
10
+ {
11
+ include: "source.dune#general"
12
+ }
13
+ ];
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-workspace"
24
+ },
25
+ "2": {
26
+ name: "keyword.language.dune-workspace"
27
+ }
28
+ },
29
+ patterns: [
30
+ {
31
+ include: "source.dune#general"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ comment: "profile",
37
+ begin: "\\([[:space:]]*(profile)\\b",
38
+ end: "\\)",
39
+ beginCaptures: {
40
+ "1": {
41
+ name: "keyword.language.dune-workspace"
42
+ }
43
+ },
44
+ contentName: "variable.other.declaration.dune-project",
45
+ patterns: [
46
+ {
47
+ include: "source.dune#general"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ comment: "env",
53
+ begin: "\\([[:space:]]*(env)\\b",
54
+ end: "\\)",
55
+ beginCaptures: {
56
+ "1": {
57
+ name: "keyword.language.dune-workspace"
58
+ }
59
+ },
60
+ patterns: [
61
+ {
62
+ include: "source.dune#general"
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ comment: "context",
68
+ begin: "\\([[:space:]]*(context)\\b",
69
+ end: "\\)",
70
+ beginCaptures: {
71
+ "1": {
72
+ name: "keyword.language.dune-workspace"
73
+ }
74
+ },
75
+ patterns: [
76
+ {
77
+ comment: "default",
78
+ name: "keyword.language.dune-workspace",
79
+ match: "\\b(default)\\b"
80
+ },
81
+ {
82
+ comment: "opam/default",
83
+ begin: "\\([[:space:]]*(opam|default)\\b",
84
+ end: "\\)",
85
+ beginCaptures: {
86
+ "1": {
87
+ name: "keyword.language.dune-workspace"
88
+ }
89
+ },
90
+ patterns: [
91
+ {
92
+ comment: "opam switch",
93
+ begin: "\\([[:space:]]*(switch)\\b",
94
+ end: "\\)",
95
+ beginCaptures: {
96
+ "1": {
97
+ name: "keyword.language.dune-workspace"
98
+ }
99
+ },
100
+ patterns: [
101
+ {
102
+ include: "source.dune#general"
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ comment: "name",
108
+ begin: "\\([[:space:]]*(name)\\b",
109
+ end: "\\)",
110
+ beginCaptures: {
111
+ "1": {
112
+ name: "keyword.language.dune-workspace"
113
+ }
114
+ },
115
+ patterns: [
116
+ {
117
+ include: "source.dune#general"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ comment: "root",
123
+ begin: "\\([[:space:]]*(root)\\b",
124
+ end: "\\)",
125
+ beginCaptures: {
126
+ "1": {
127
+ name: "keyword.language.dune-workspace"
128
+ }
129
+ },
130
+ patterns: [
131
+ {
132
+ include: "source.dune#general"
133
+ }
134
+ ]
135
+ },
136
+ {
137
+ comment: "merlin",
138
+ begin: "\\([[:space:]]*(merlin)\\b",
139
+ end: "\\)",
140
+ beginCaptures: {
141
+ "1": {
142
+ name: "keyword.language.dune-workspace"
143
+ }
144
+ },
145
+ patterns: [
146
+ {
147
+ include: "source.dune#general"
148
+ }
149
+ ]
150
+ },
151
+ {
152
+ comment: "profile",
153
+ begin: "\\([[:space:]]*(profile)\\b",
154
+ end: "\\)",
155
+ beginCaptures: {
156
+ "1": {
157
+ name: "keyword.language.dune-workspace"
158
+ }
159
+ },
160
+ patterns: [
161
+ {
162
+ include: "source.dune#general"
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ comment: "env",
168
+ begin: "\\([[:space:]]*(env)\\b",
169
+ end: "\\)",
170
+ beginCaptures: {
171
+ "1": {
172
+ name: "keyword.language.dune-workspace"
173
+ }
174
+ },
175
+ patterns: [
176
+ {
177
+ include: "source.dune#general"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ comment: "toolchain",
183
+ begin: "\\([[:space:]]*(toolchain)\\b",
184
+ end: "\\)",
185
+ beginCaptures: {
186
+ "1": {
187
+ name: "keyword.language.dune-workspace"
188
+ }
189
+ },
190
+ patterns: [
191
+ {
192
+ include: "source.dune#general"
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ comment: "host",
198
+ begin: "\\([[:space:]]*(host)\\b",
199
+ end: "\\)",
200
+ beginCaptures: {
201
+ "1": {
202
+ name: "keyword.language.dune-workspace"
203
+ }
204
+ },
205
+ patterns: [
206
+ {
207
+ include: "source.dune#general"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ comment: "paths",
213
+ begin: "\\([[:space:]]*(paths)\\b",
214
+ end: "\\)",
215
+ beginCaptures: {
216
+ "1": {
217
+ name: "keyword.language.dune-workspace"
218
+ }
219
+ },
220
+ patterns: [
221
+ {
222
+ include: "source.dune#general"
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ comment: "fdo",
228
+ begin: "\\([[:space:]]*(fdo)\\b",
229
+ end: "\\)",
230
+ beginCaptures: {
231
+ "1": {
232
+ name: "keyword.language.dune-workspace"
233
+ }
234
+ },
235
+ patterns: [
236
+ {
237
+ include: "source.dune#general"
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ comment: "disable_dynamically_linked_foreign_archives",
243
+ begin: "\\([[:space:]]*(disable_dynamically_linked_foreign_archives)\\b",
244
+ end: "\\)",
245
+ beginCaptures: {
246
+ "1": {
247
+ name: "keyword.language.dune-workspace"
248
+ }
249
+ },
250
+ patterns: [
251
+ {
252
+ include: "source.dune#general"
253
+ }
254
+ ]
255
+ },
256
+ {
257
+ comment: "targets",
258
+ begin: "\\([[:space:]]*(targets)\\b",
259
+ end: "\\)",
260
+ beginCaptures: {
261
+ "1": {
262
+ name: "keyword.language.dune-workspace"
263
+ }
264
+ },
265
+ patterns: [
266
+ {
267
+ include: "source.dune#general"
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ include: "source.dune#general"
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ include: "source.dune#general"
278
+ }
279
+ ]
280
+ }
281
+ ]
282
+ }
283
+ };
284
+ var information_for_contributors = [
285
+ "This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
286
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
287
+ "Once accepted there, we are happy to receive an update request."
288
+ ];
289
+ var duneWorkspace = {
290
+ name: name,
291
+ scopeName: scopeName,
292
+ fileTypes: fileTypes,
293
+ patterns: patterns,
294
+ repository: repository,
295
+ information_for_contributors: information_for_contributors
296
+ };
297
+
298
+ export { duneWorkspace as default, fileTypes, information_for_contributors, name, patterns, repository, scopeName };
package/dist/dune.js ADDED
@@ -0,0 +1,65 @@
1
+ var comments = {
2
+ lineComment: ";"
3
+ };
4
+ var brackets = [
5
+ [
6
+ "{",
7
+ "}"
8
+ ],
9
+ [
10
+ "[",
11
+ "]"
12
+ ],
13
+ [
14
+ "(",
15
+ ")"
16
+ ]
17
+ ];
18
+ var autoClosingPairs = [
19
+ {
20
+ open: "{",
21
+ close: "}"
22
+ },
23
+ {
24
+ open: "[",
25
+ close: "]"
26
+ },
27
+ {
28
+ open: "(",
29
+ close: ")"
30
+ },
31
+ {
32
+ open: "\"",
33
+ close: "\"",
34
+ notIn: [
35
+ "string",
36
+ "comment"
37
+ ]
38
+ }
39
+ ];
40
+ var surroundingPairs = [
41
+ {
42
+ open: "[",
43
+ close: "]"
44
+ },
45
+ {
46
+ open: "(",
47
+ close: ")"
48
+ },
49
+ {
50
+ open: "\"",
51
+ close: "\""
52
+ }
53
+ ];
54
+ var wordPattern = {
55
+ pattern: "[A-Za-z_'`][A-Za-z_'.0-9]*"
56
+ };
57
+ var dune = {
58
+ comments: comments,
59
+ brackets: brackets,
60
+ autoClosingPairs: autoClosingPairs,
61
+ surroundingPairs: surroundingPairs,
62
+ wordPattern: wordPattern
63
+ };
64
+
65
+ export { autoClosingPairs, brackets, comments, dune as default, surroundingPairs, wordPattern };