@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.
- package/dist/COBOL.tmLanguage.js +2 -2
- package/dist/META.js +100 -0
- package/dist/atd.js +114 -0
- package/dist/atd2.js +110 -0
- package/dist/cobol-snippets.js +2 -2117
- package/dist/cobol2.js +46 -0
- package/dist/cram.js +257 -0
- package/dist/dune-project.js +65 -0
- package/dist/dune-project2.js +481 -0
- package/dist/dune-workspace.js +65 -0
- package/dist/dune-workspace2.js +298 -0
- package/dist/dune.js +65 -0
- package/dist/dune2.js +2962 -0
- package/dist/index.js +31 -1
- package/dist/main.js +490 -391
- package/dist/menhir-action.js +51 -0
- package/dist/menhir.js +597 -0
- package/dist/merlin.js +23 -23
- package/dist/monaco.d.ts +1 -1
- package/dist/oasis.js +99 -0
- package/dist/ocaml-dune-project.js +38 -0
- package/dist/ocaml-dune.js +53 -0
- package/dist/ocaml-markdown-codeblock.js +1 -1
- package/dist/ocaml-ocaml.js +88 -0
- package/dist/ocaml-ocamllex.js +12 -0
- package/dist/ocaml.META.js +29 -0
- package/dist/ocaml.interface.js +114 -0
- package/dist/ocaml.interface2.js +292 -0
- package/dist/ocaml.js +40 -8
- package/dist/ocaml.menhir.js +81 -0
- package/dist/ocaml.oasis.js +18 -0
- package/dist/ocaml.ocamlbuild.js +45 -0
- package/dist/ocaml.ocamlformat.js +8 -0
- package/dist/ocaml.ocamllex.js +60 -0
- package/dist/ocaml.opam-install.js +49 -0
- package/dist/ocaml.opam.js +69 -0
- package/dist/ocaml2.js +600 -2676
- package/dist/ocaml3.js +89 -105
- package/dist/ocamlbuild.js +142 -192
- package/dist/ocamldoc.js +54 -0
- package/dist/ocamlformat.js +206 -0
- package/dist/ocamllex.js +133 -0
- package/dist/opam-install.js +40 -0
- package/dist/opam.js +100 -109
- package/dist/reason-markdown-codeblock.js +1 -1
- package/dist/reason.js +0 -4
- package/dist/scalameta.js +1 -1
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +8 -0
- package/package.json +47 -3
- package/stats.html +1 -1
- package/dist/ocaml-hover-info.js +0 -34
- package/dist/ocaml-hover-type.js +0 -24
- package/dist/ocaml-reason.js +0 -100
- package/dist/reason-hover-info.js +0 -34
- package/dist/reason-hover-signature.js +0 -21
- package/dist/reason-hover-type.js +0 -21
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -9
- package/dist/services/TextModelService.d.ts +0 -25
package/dist/cobol2.js
CHANGED
|
@@ -34,6 +34,33 @@ var cobol = [
|
|
|
34
34
|
"uniqueItems": true,
|
|
35
35
|
"scope": 3
|
|
36
36
|
},
|
|
37
|
+
"cobol-lsp.cpy-manager.daco.paths-local": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"description": "Default list of relative local paths to search for MAID copybooks",
|
|
43
|
+
"uniqueItems": true,
|
|
44
|
+
"scope": 3
|
|
45
|
+
},
|
|
46
|
+
"cobol-lsp.cpy-manager.daco.paths-dsn": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"description": "Default list of datasets to search for MAID copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
52
|
+
"uniqueItems": true,
|
|
53
|
+
"scope": 3
|
|
54
|
+
},
|
|
55
|
+
"cobol-lsp.cpy-manager.daco.paths-uss": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"description": "Default list of USS paths to search for MAID copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
61
|
+
"uniqueItems": true,
|
|
62
|
+
"scope": 3
|
|
63
|
+
},
|
|
37
64
|
"cobol-lsp.cpy-manager.idms.paths-local": {
|
|
38
65
|
"type": "array",
|
|
39
66
|
"items": {
|
|
@@ -253,12 +280,31 @@ var cobol = [
|
|
|
253
280
|
"items": {
|
|
254
281
|
"type": "string",
|
|
255
282
|
"enum": [
|
|
283
|
+
"DaCo",
|
|
256
284
|
"IDMS"
|
|
257
285
|
]
|
|
258
286
|
},
|
|
259
287
|
"description": "List of enabled dialects",
|
|
260
288
|
"uniqueItems": true,
|
|
261
289
|
"scope": 3
|
|
290
|
+
},
|
|
291
|
+
"cobol-lsp.predefined-sections": {
|
|
292
|
+
"type": "array",
|
|
293
|
+
"items": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"description": "List of predefined sections",
|
|
297
|
+
"default": [
|
|
298
|
+
"S930",
|
|
299
|
+
"S940",
|
|
300
|
+
"S950",
|
|
301
|
+
"S990",
|
|
302
|
+
"S991",
|
|
303
|
+
"S997",
|
|
304
|
+
"S999"
|
|
305
|
+
],
|
|
306
|
+
"uniqueItems": true,
|
|
307
|
+
"scope": 3
|
|
262
308
|
}
|
|
263
309
|
}
|
|
264
310
|
}
|
package/dist/cram.js
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
var scopeName = "source.cram";
|
|
2
|
+
var fileTypes = [
|
|
3
|
+
"t"
|
|
4
|
+
];
|
|
5
|
+
var patterns = [
|
|
6
|
+
{
|
|
7
|
+
comment: "command",
|
|
8
|
+
match: "^ (\\$|>) (.*)$",
|
|
9
|
+
captures: {
|
|
10
|
+
"1": {
|
|
11
|
+
name: "keyword.operator.cram"
|
|
12
|
+
},
|
|
13
|
+
"2": {
|
|
14
|
+
name: "source.cram",
|
|
15
|
+
patterns: [
|
|
16
|
+
{
|
|
17
|
+
include: "#escape"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
include: "#strings"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
comment: "***** UNREACHABLE *****",
|
|
28
|
+
match: "^ (\\*\\*\\*\\*\\*[[:space:]]UNREACHABLE[[:space:]]\\*\\*\\*\\*\\*)$",
|
|
29
|
+
captures: {
|
|
30
|
+
"1": {
|
|
31
|
+
name: "invalid.unreachable.cram"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
comment: "regex output",
|
|
37
|
+
match: "^ (.*) \\((re)\\)$",
|
|
38
|
+
captures: {
|
|
39
|
+
"1": {
|
|
40
|
+
name: "string.other.cram",
|
|
41
|
+
patterns: [
|
|
42
|
+
{
|
|
43
|
+
include: "#regex"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"2": {
|
|
48
|
+
name: "keyword.other.cram"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
comment: "glob output",
|
|
54
|
+
match: "^ (.*) \\((glob)\\)$",
|
|
55
|
+
captures: {
|
|
56
|
+
"1": {
|
|
57
|
+
name: "string.other.cram",
|
|
58
|
+
patterns: [
|
|
59
|
+
{
|
|
60
|
+
include: "#glob"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"2": {
|
|
65
|
+
name: "keyword.other.cram"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
comment: "no end-of-line output",
|
|
71
|
+
match: "^ (.*) \\((no-eol)\\)$",
|
|
72
|
+
captures: {
|
|
73
|
+
"1": {
|
|
74
|
+
name: "string.other.cram"
|
|
75
|
+
},
|
|
76
|
+
"2": {
|
|
77
|
+
name: "keyword.other.cram"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
comment: "escaped output",
|
|
83
|
+
match: "^ (.*) \\((esc)\\)$",
|
|
84
|
+
captures: {
|
|
85
|
+
"1": {
|
|
86
|
+
name: "string.other.cram",
|
|
87
|
+
patterns: [
|
|
88
|
+
{
|
|
89
|
+
include: "#escape"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"2": {
|
|
94
|
+
name: "keyword.other.cram"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
comment: "output",
|
|
100
|
+
match: "^ (.*)$",
|
|
101
|
+
captures: {
|
|
102
|
+
"1": {
|
|
103
|
+
name: "string.other.cram"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
comment: "everything else is a comment",
|
|
109
|
+
name: "comment.line.cram",
|
|
110
|
+
match: "^.*$"
|
|
111
|
+
}
|
|
112
|
+
];
|
|
113
|
+
var repository = {
|
|
114
|
+
"escape": {
|
|
115
|
+
patterns: [
|
|
116
|
+
{
|
|
117
|
+
comment: "octal escape",
|
|
118
|
+
name: "constant.character.escape.cram",
|
|
119
|
+
match: "\\\\0[[:digit:]]+"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
comment: "hex escape",
|
|
123
|
+
name: "constant.character.escape.cram",
|
|
124
|
+
match: "\\\\x[[:xdigit:]]{2}"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
comment: "other escaped character",
|
|
128
|
+
name: "constant.character.escape.cram",
|
|
129
|
+
match: "\\\\."
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
strings: {
|
|
134
|
+
patterns: [
|
|
135
|
+
{
|
|
136
|
+
name: "string.quoted.double.cram",
|
|
137
|
+
begin: "\"",
|
|
138
|
+
end: "\"|$",
|
|
139
|
+
patterns: [
|
|
140
|
+
{
|
|
141
|
+
include: "#escape"
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "string.quoted.single.cram",
|
|
147
|
+
begin: "'",
|
|
148
|
+
end: "'|$",
|
|
149
|
+
patterns: [
|
|
150
|
+
{
|
|
151
|
+
include: "#escape"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
glob: {
|
|
158
|
+
patterns: [
|
|
159
|
+
{
|
|
160
|
+
name: "keyword.other.cram",
|
|
161
|
+
match: "[*?]"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "keyword.other.cram",
|
|
165
|
+
match: "\\\\[*?\\\\]"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
regex: {
|
|
170
|
+
patterns: [
|
|
171
|
+
{
|
|
172
|
+
name: "keyword.other.regex",
|
|
173
|
+
match: "\\\\."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: "keyword.other.regex",
|
|
177
|
+
match: "[|^$]"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
begin: "\\[\\^?",
|
|
181
|
+
end: "\\]",
|
|
182
|
+
beginCaptures: [
|
|
183
|
+
{
|
|
184
|
+
name: "keyword.other.regex"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
endCaptures: [
|
|
188
|
+
{
|
|
189
|
+
name: "keyword.other.regex"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
contentName: "source.regex",
|
|
193
|
+
patterns: [
|
|
194
|
+
{
|
|
195
|
+
name: "keyword.other.regex",
|
|
196
|
+
match: "-"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
begin: "\\((\\?[:=!])?",
|
|
202
|
+
end: "\\)",
|
|
203
|
+
beginCaptures: [
|
|
204
|
+
{
|
|
205
|
+
name: "keyword.other.regex"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
endCaptures: [
|
|
209
|
+
{
|
|
210
|
+
name: "keyword.other.regex"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
contentName: "source.regex",
|
|
214
|
+
patterns: [
|
|
215
|
+
{
|
|
216
|
+
include: "#regex"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
begin: "{",
|
|
222
|
+
end: "}",
|
|
223
|
+
beginCaptures: [
|
|
224
|
+
{
|
|
225
|
+
name: "keyword.other.regex"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
endCaptures: [
|
|
229
|
+
{
|
|
230
|
+
name: "keyword.other.regex"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
contentName: "source.regex",
|
|
234
|
+
patterns: [
|
|
235
|
+
{
|
|
236
|
+
name: "constant.numeric.decimal.integer.regex",
|
|
237
|
+
match: "[[:digit:]]+"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
var information_for_contributors = [
|
|
245
|
+
"This file has been converted from https://github.com/ocamllabs/vscode-ocaml-platform/blob/master/",
|
|
246
|
+
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
247
|
+
"Once accepted there, we are happy to receive an update request."
|
|
248
|
+
];
|
|
249
|
+
var cram = {
|
|
250
|
+
scopeName: scopeName,
|
|
251
|
+
fileTypes: fileTypes,
|
|
252
|
+
patterns: patterns,
|
|
253
|
+
repository: repository,
|
|
254
|
+
information_for_contributors: information_for_contributors
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
export { cram as default, fileTypes, information_for_contributors, patterns, repository, scopeName };
|
|
@@ -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 duneProject = {
|
|
58
|
+
comments: comments,
|
|
59
|
+
brackets: brackets,
|
|
60
|
+
autoClosingPairs: autoClosingPairs,
|
|
61
|
+
surroundingPairs: surroundingPairs,
|
|
62
|
+
wordPattern: wordPattern
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export { autoClosingPairs, brackets, comments, duneProject as default, surroundingPairs, wordPattern };
|