@codingame/monaco-editor-wrapper 4.0.0-monaco-update.2 → 4.0.0-monaco-update.3
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/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/CICS.tmLanguage.json +66 -66
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/COBOL.tmLanguage.json +165 -165
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/SQL.tmLanguage.json +25 -25
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/lang-config.json +27 -27
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/package.json +513 -513
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/pgm_conf.schema.json +24 -24
- package/dist/assets/broadcomMFD.cobol-language-support-2.1.0.vsix/proc_grps.schema.json +55 -55
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/external/tslib/tslib.es6.js +11 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/files.js +396 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/override/vs/platform/dialogs/common/dialogs.js +8 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.js +406 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/common/fileService.js +989 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/platform/files/common/io.js +77 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/browser/browserTextFileService.js +58 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +641 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/common/textFileEditorModelManager.js +404 -0
- package/dist/node_modules/@codingame/monaco-vscode-files-service-override/vscode/src/vs/workbench/services/textfile/common/textFileSaveParticipant.js +64 -0
- package/dist/services.d.ts +1 -0
- package/dist/services.js +14 -1
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -1,513 +1,513 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cobol-language-support",
|
|
3
|
-
"displayName": "COBOL Language Support",
|
|
4
|
-
"description": "Autocomplete, highlighting and diagnostics for COBOL code and copybooks.",
|
|
5
|
-
"author": "Broadcom",
|
|
6
|
-
"license": "EPL-2.0",
|
|
7
|
-
"version": "2.1.0",
|
|
8
|
-
"preview": false,
|
|
9
|
-
"publisher": "BroadcomMFD",
|
|
10
|
-
"engines": {
|
|
11
|
-
"vscode": "^1.71.0"
|
|
12
|
-
},
|
|
13
|
-
"repository": {
|
|
14
|
-
"type": "git",
|
|
15
|
-
"url": "https://github.com/eclipse/che-che4z-lsp-for-cobol.git"
|
|
16
|
-
},
|
|
17
|
-
"bugs": {
|
|
18
|
-
"url": "https://github.com/eclipse/che-che4z-lsp-for-cobol/issues"
|
|
19
|
-
},
|
|
20
|
-
"keywords": [
|
|
21
|
-
"mainframe",
|
|
22
|
-
"lsp",
|
|
23
|
-
"cobol",
|
|
24
|
-
"z/os",
|
|
25
|
-
"zowe",
|
|
26
|
-
"zos",
|
|
27
|
-
"ibm",
|
|
28
|
-
"datacom",
|
|
29
|
-
"cics",
|
|
30
|
-
"db2"
|
|
31
|
-
],
|
|
32
|
-
"categories": [
|
|
33
|
-
"Programming Languages"
|
|
34
|
-
],
|
|
35
|
-
"activationEvents": [
|
|
36
|
-
"onLanguage:cobol"
|
|
37
|
-
],
|
|
38
|
-
"icon": "resources/logo.png",
|
|
39
|
-
"main": "./dist/extension.js",
|
|
40
|
-
"contributes": {
|
|
41
|
-
"commands": [
|
|
42
|
-
{
|
|
43
|
-
"command": "cobol-lsp.cpy-manager.fetch-copybook",
|
|
44
|
-
"title": "Fetch copybook"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"command": "cobol-lsp.cpy-manager.goto-settings",
|
|
48
|
-
"title": "Open Copybook location settings"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"command": "cobol-lsp.serverRuntime.goto-settings",
|
|
52
|
-
"title": "Open serverRuntime settings"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"command": "cobol-lsp.dialects.goto-settings",
|
|
56
|
-
"title": "Open Dialects settings"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"command": "cobol-lsp.commentLine.toggle",
|
|
60
|
-
"title": "Toggle COBOL Line Comment"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"command": "cobol-lsp.commentLine.comment",
|
|
64
|
-
"title": "Add Cobol Line Comment"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"command": "cobol-lsp.commentLine.uncomment",
|
|
68
|
-
"title": "Remove COBOL Line Comment"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"command": "cobol-lsp.clear.downloaded.copybooks",
|
|
72
|
-
"title": "Clear downloaded copybooks"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"command": "cobol-lsp.snippets.insertSnippets",
|
|
76
|
-
"title": "Insert COBOL Snippet",
|
|
77
|
-
"category": "Snippets"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"languages": [
|
|
81
|
-
{
|
|
82
|
-
"id": "cobol",
|
|
83
|
-
"extensions": [
|
|
84
|
-
".cbl",
|
|
85
|
-
".cob",
|
|
86
|
-
".cobol",
|
|
87
|
-
".cpy",
|
|
88
|
-
".copy"
|
|
89
|
-
],
|
|
90
|
-
"aliases": [
|
|
91
|
-
"COBOL"
|
|
92
|
-
],
|
|
93
|
-
"configuration": "./syntaxes/lang-config.json",
|
|
94
|
-
"firstLine": "^[0-9 ]{6}([*].*|[ Dd] *([Ii][Dd]([Ee][Nn][Tt][Ii][Ff][Ii][Cc][Aa][Tt][Ii][Oo][Nn])? +[Dd][Ii][Vv][Ii][Ss][Ii][Oo][Nn][. ]|[0-9][0-9] +[@#$A-Z][-A-Z0-9]*[. ]|[*](CBL|PROCESS) ).*)$|^([0-9].{5})?[ ]*(CBL|PROCESS) "
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"grammars": [
|
|
98
|
-
{
|
|
99
|
-
"language": "cobol",
|
|
100
|
-
"scopeName": "source.cobol",
|
|
101
|
-
"path": "./syntaxes/COBOL.tmLanguage.json",
|
|
102
|
-
"embeddedLanguages": {
|
|
103
|
-
"meta.embedded.block.html": "html"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"scopeName": "meta.embedded.block.cics",
|
|
108
|
-
"path": "./syntaxes/CICS.tmLanguage.json",
|
|
109
|
-
"injectTo": [
|
|
110
|
-
"source.cobol"
|
|
111
|
-
]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"scopeName": "meta.embedded.block.sql",
|
|
115
|
-
"path": "./syntaxes/SQL.tmLanguage.json",
|
|
116
|
-
"embeddedLanguages": {
|
|
117
|
-
"meta.embedded.block.sql": "sql"
|
|
118
|
-
},
|
|
119
|
-
"injectTo": [
|
|
120
|
-
"source.cobol"
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"configuration": {
|
|
125
|
-
"title": "COBOL Language Support",
|
|
126
|
-
"properties": {
|
|
127
|
-
"cobol-lsp.smart-tab": {
|
|
128
|
-
"oneOf": [
|
|
129
|
-
{
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"type": "array",
|
|
134
|
-
"items": {
|
|
135
|
-
"type": "number"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"type": "object",
|
|
140
|
-
"properties": {
|
|
141
|
-
"default": {
|
|
142
|
-
"type": "array",
|
|
143
|
-
"items": {
|
|
144
|
-
"type": "number"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"anchors": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"patternProperties": {
|
|
150
|
-
"^.*$": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "number"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
],
|
|
161
|
-
"description": "Enable/disable smart tab",
|
|
162
|
-
"default": true
|
|
163
|
-
},
|
|
164
|
-
"cobol-lsp.cpy-manager.profiles": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"description": "Current default profile for copybook downloader\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe"
|
|
167
|
-
},
|
|
168
|
-
"cobol-lsp.cpy-manager.paths-local": {
|
|
169
|
-
"type": "array",
|
|
170
|
-
"items": {
|
|
171
|
-
"type": "string"
|
|
172
|
-
},
|
|
173
|
-
"description": "Default list of local paths to search for copybooks",
|
|
174
|
-
"uniqueItems": true
|
|
175
|
-
},
|
|
176
|
-
"cobol-lsp.cpy-manager.paths-dsn": {
|
|
177
|
-
"type": "array",
|
|
178
|
-
"items": {
|
|
179
|
-
"type": "string"
|
|
180
|
-
},
|
|
181
|
-
"description": "Default list of datasets to search for copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
182
|
-
"uniqueItems": true
|
|
183
|
-
},
|
|
184
|
-
"cobol-lsp.cpy-manager.paths-uss": {
|
|
185
|
-
"type": "array",
|
|
186
|
-
"items": {
|
|
187
|
-
"type": "string"
|
|
188
|
-
},
|
|
189
|
-
"description": "Default list of USS paths to search for copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
190
|
-
"uniqueItems": true
|
|
191
|
-
},
|
|
192
|
-
"cobol-lsp.cpy-manager.copybook-extensions": {
|
|
193
|
-
"type": "array",
|
|
194
|
-
"$comment": "Items is converted to an array instead of simple string, to disable the vscode rendering the form for extensions setting, instead shows an hyper link to settings.xml for editing.This is done as empty string is not supported by vscode yet",
|
|
195
|
-
"items": {
|
|
196
|
-
"type": [
|
|
197
|
-
"string"
|
|
198
|
-
]
|
|
199
|
-
},
|
|
200
|
-
"default": [
|
|
201
|
-
".CPY",
|
|
202
|
-
".COPY",
|
|
203
|
-
".cpy",
|
|
204
|
-
".copy",
|
|
205
|
-
""
|
|
206
|
-
],
|
|
207
|
-
"description": "List of copybook extensions. Empty string specifies no file extension.",
|
|
208
|
-
"uniqueItems": true
|
|
209
|
-
},
|
|
210
|
-
"cobol-lsp.cpy-manager.copybook-file-encoding": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"markdownDescription": "The encoding for the copybooks. Alternatively edit in .vscode\\settings.json. Other supported encodings can be found at [supported encodings](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings) ",
|
|
213
|
-
"enum": [
|
|
214
|
-
"utf8",
|
|
215
|
-
"ucs2",
|
|
216
|
-
"utf16le",
|
|
217
|
-
"ascii",
|
|
218
|
-
"base64",
|
|
219
|
-
"UTF7",
|
|
220
|
-
"UTF7-IMAP",
|
|
221
|
-
"UTF-16BE",
|
|
222
|
-
"UTF-16",
|
|
223
|
-
"UCS-4",
|
|
224
|
-
"UTF-32",
|
|
225
|
-
"UTF-32LE",
|
|
226
|
-
"UTF-32BE",
|
|
227
|
-
"ISO-8859-1",
|
|
228
|
-
"ISO-8859-2",
|
|
229
|
-
"ISO-8859-3",
|
|
230
|
-
"ISO-8859-4",
|
|
231
|
-
"ISO-8859-5",
|
|
232
|
-
"ISO-8859-6",
|
|
233
|
-
"ISO-8859-7",
|
|
234
|
-
"ISO-8859-8",
|
|
235
|
-
"ISO-8859-9",
|
|
236
|
-
"ISO-8859-10",
|
|
237
|
-
"ISO-8859-11",
|
|
238
|
-
"ISO-8859-12",
|
|
239
|
-
"ISO-8859-13",
|
|
240
|
-
"ISO-8859-14",
|
|
241
|
-
"ISO-8859-15",
|
|
242
|
-
"ISO-8859-16",
|
|
243
|
-
"cp437",
|
|
244
|
-
"cp720",
|
|
245
|
-
"cp737",
|
|
246
|
-
"cp775",
|
|
247
|
-
"cp808",
|
|
248
|
-
"cp850",
|
|
249
|
-
"cp852",
|
|
250
|
-
"cp855",
|
|
251
|
-
"cp856",
|
|
252
|
-
"cp857",
|
|
253
|
-
"cp858",
|
|
254
|
-
"cp860",
|
|
255
|
-
"cp861",
|
|
256
|
-
"cp862",
|
|
257
|
-
"cp863",
|
|
258
|
-
"cp864",
|
|
259
|
-
"cp865",
|
|
260
|
-
"cp866",
|
|
261
|
-
"cp869",
|
|
262
|
-
"cp922",
|
|
263
|
-
"cp1046",
|
|
264
|
-
"cp1124",
|
|
265
|
-
"cp1125",
|
|
266
|
-
"cp1129",
|
|
267
|
-
"cp1133",
|
|
268
|
-
"cp1161",
|
|
269
|
-
"cp1162",
|
|
270
|
-
"cp1163",
|
|
271
|
-
"cp1047",
|
|
272
|
-
"cp1140",
|
|
273
|
-
"cp1147",
|
|
274
|
-
"cp1148",
|
|
275
|
-
"cp037",
|
|
276
|
-
"cp500",
|
|
277
|
-
"iso646cn",
|
|
278
|
-
"iso646jp"
|
|
279
|
-
],
|
|
280
|
-
"enumDescriptions": [
|
|
281
|
-
"utf8",
|
|
282
|
-
"ucs2",
|
|
283
|
-
"utf16le",
|
|
284
|
-
"ascii",
|
|
285
|
-
"base64",
|
|
286
|
-
"UTF7",
|
|
287
|
-
"UTF7-IMAP",
|
|
288
|
-
"UTF-16BE",
|
|
289
|
-
"UTF-16",
|
|
290
|
-
"UCS-4",
|
|
291
|
-
"UTF-32",
|
|
292
|
-
"UTF-32LE",
|
|
293
|
-
"UTF-32BE",
|
|
294
|
-
"ISO-8859-1",
|
|
295
|
-
"ISO-8859-2",
|
|
296
|
-
"ISO-8859-3",
|
|
297
|
-
"ISO-8859-4",
|
|
298
|
-
"ISO-8859-5",
|
|
299
|
-
"ISO-8859-6",
|
|
300
|
-
"ISO-8859-7",
|
|
301
|
-
"ISO-8859-8",
|
|
302
|
-
"ISO-8859-9",
|
|
303
|
-
"ISO-8859-10",
|
|
304
|
-
"ISO-8859-11",
|
|
305
|
-
"ISO-8859-12",
|
|
306
|
-
"ISO-8859-13",
|
|
307
|
-
"ISO-8859-14",
|
|
308
|
-
"ISO-8859-15",
|
|
309
|
-
"ISO-8859-16",
|
|
310
|
-
"IBM-437",
|
|
311
|
-
"IBM-720",
|
|
312
|
-
"IBM-737",
|
|
313
|
-
"IBM-775",
|
|
314
|
-
"IBM-808",
|
|
315
|
-
"IBM-850",
|
|
316
|
-
"IBM-852",
|
|
317
|
-
"IBM-855",
|
|
318
|
-
"IBM-856",
|
|
319
|
-
"IBM-857",
|
|
320
|
-
"IBM-858",
|
|
321
|
-
"IBM-860",
|
|
322
|
-
"IBM-861",
|
|
323
|
-
"IBM-862",
|
|
324
|
-
"IBM-863",
|
|
325
|
-
"IBM-864",
|
|
326
|
-
"IBM-865",
|
|
327
|
-
"IBM-866",
|
|
328
|
-
"IBM-869",
|
|
329
|
-
"IBM-922",
|
|
330
|
-
"IBM-1046",
|
|
331
|
-
"IBM-1124",
|
|
332
|
-
"IBM-1125",
|
|
333
|
-
"IBM-1129",
|
|
334
|
-
"IBM-1133",
|
|
335
|
-
"IBM-1161",
|
|
336
|
-
"IBM-1162",
|
|
337
|
-
"IBM-1163",
|
|
338
|
-
"IBM-1047",
|
|
339
|
-
"IBM-1140",
|
|
340
|
-
"IBM-1147",
|
|
341
|
-
"IBM-1148",
|
|
342
|
-
"IBM-037",
|
|
343
|
-
"IBM-500",
|
|
344
|
-
"iso646cn",
|
|
345
|
-
"iso646jp"
|
|
346
|
-
]
|
|
347
|
-
},
|
|
348
|
-
"cobol-lsp.subroutine-manager.paths-local": {
|
|
349
|
-
"type": "array",
|
|
350
|
-
"items": {
|
|
351
|
-
"type": "string"
|
|
352
|
-
},
|
|
353
|
-
"description": "List of relative local paths to search for subroutines",
|
|
354
|
-
"uniqueItems": true
|
|
355
|
-
},
|
|
356
|
-
"cobol-lsp.logging.level.root": {
|
|
357
|
-
"type": "string",
|
|
358
|
-
"default": "ERROR",
|
|
359
|
-
"enum": [
|
|
360
|
-
"ERROR",
|
|
361
|
-
"WARN",
|
|
362
|
-
"INFO",
|
|
363
|
-
"DEBUG",
|
|
364
|
-
"TRACE",
|
|
365
|
-
"ALL"
|
|
366
|
-
],
|
|
367
|
-
"enumDescriptions": [
|
|
368
|
-
"ERROR level logs error events which may or not be fatal to the application",
|
|
369
|
-
"WARN level logs potentially harmful situations",
|
|
370
|
-
"INFO level logs informational messages highlighting overall progress of the application",
|
|
371
|
-
"DEBUG level logs informational events of very low importance",
|
|
372
|
-
"TRACE level logs informational events of very low importance",
|
|
373
|
-
"ALL level is used to turn on all logging"
|
|
374
|
-
],
|
|
375
|
-
"description": "The logging level for COBOL LS backend"
|
|
376
|
-
},
|
|
377
|
-
"cobol-lsp.target-sql-backend": {
|
|
378
|
-
"type": "string",
|
|
379
|
-
"default": "DB2_SERVER",
|
|
380
|
-
"enum": [
|
|
381
|
-
"DB2_SERVER",
|
|
382
|
-
"DATACOM_SERVER",
|
|
383
|
-
"NONE"
|
|
384
|
-
],
|
|
385
|
-
"enumDescriptions": [
|
|
386
|
-
"DB2_SERVER - IBM DB2 SQL Server",
|
|
387
|
-
"DATACOM_SERVER - CA DATACOM Server",
|
|
388
|
-
"NONE"
|
|
389
|
-
],
|
|
390
|
-
"description": "The target SQL backend server which will be used in mainframe"
|
|
391
|
-
},
|
|
392
|
-
"cobol-lsp.dialects": {
|
|
393
|
-
"type": "array",
|
|
394
|
-
"items": {
|
|
395
|
-
"type": "string"
|
|
396
|
-
},
|
|
397
|
-
"description": "List of enabled dialects",
|
|
398
|
-
"uniqueItems": true
|
|
399
|
-
},
|
|
400
|
-
"cobol-lsp.cics.translator": {
|
|
401
|
-
"type": "boolean",
|
|
402
|
-
"default": "true",
|
|
403
|
-
"description": "Enable CICS translator"
|
|
404
|
-
},
|
|
405
|
-
"cobol-lsp.serverRuntime": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"enum": [
|
|
408
|
-
"JAVA",
|
|
409
|
-
"NATIVE"
|
|
410
|
-
],
|
|
411
|
-
"default": "JAVA",
|
|
412
|
-
"enumDescriptions": [
|
|
413
|
-
"JAVA - Run from a Java Archive (jar). Requires java runtime to be installed",
|
|
414
|
-
"NATIVE - Use platform binary"
|
|
415
|
-
],
|
|
416
|
-
"description": "COBOL LS server runtime."
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
"configurationDefaults": {
|
|
421
|
-
"[cobol]": {
|
|
422
|
-
"editor.guides.indentation": false,
|
|
423
|
-
"editor.rulers": [
|
|
424
|
-
7,
|
|
425
|
-
11,
|
|
426
|
-
72,
|
|
427
|
-
80
|
|
428
|
-
],
|
|
429
|
-
"editor.wordSeparators": "!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
"keybindings": [
|
|
433
|
-
{
|
|
434
|
-
"key": "tab",
|
|
435
|
-
"command": "cobol-lsp.smart-tab",
|
|
436
|
-
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"key": "tab",
|
|
440
|
-
"command": "cobol-lsp.smart-tab",
|
|
441
|
-
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"key": "shift+tab",
|
|
445
|
-
"command": "cobol-lsp.smart-outdent",
|
|
446
|
-
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"key": "ctrl+/",
|
|
450
|
-
"mac": "cmd+/",
|
|
451
|
-
"command": "cobol-lsp.commentLine.toggle",
|
|
452
|
-
"when": "editorLangId =~ /^cobol$/i && editorTextFocus && !editorReadonly"
|
|
453
|
-
}
|
|
454
|
-
],
|
|
455
|
-
"jsonValidation": [
|
|
456
|
-
{
|
|
457
|
-
"fileMatch": "/.cobolplugin/pgm_conf.json",
|
|
458
|
-
"url": "./schema/pgm_conf.schema.json"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"fileMatch": "/.cobolplugin/proc_grps.json",
|
|
462
|
-
"url": "./schema/proc_grps.schema.json"
|
|
463
|
-
}
|
|
464
|
-
]
|
|
465
|
-
},
|
|
466
|
-
"scripts": {
|
|
467
|
-
"vscode:prepublish": "npm run -S build -- --minify",
|
|
468
|
-
"postinstall": "node -e \"if (process.env.NODE_ENV === 'production'){process.exit(1)} \" && patch-package || echo skip patching",
|
|
469
|
-
"build": "esbuild src/extension.ts --bundle --sourcemap --platform=node --target=node16.17.1 --outdir=dist --external:vscode --format=cjs",
|
|
470
|
-
"build:watch": "npm run build -- --watch",
|
|
471
|
-
"test:integration": "npm run compile && node ./out/test/runTest.js",
|
|
472
|
-
"compile": "tsc -p ./",
|
|
473
|
-
"lint": "prettier -c .",
|
|
474
|
-
"pretest": "npm run compile && npm run lint",
|
|
475
|
-
"pretty": "prettier -w .",
|
|
476
|
-
"watch": "tsc -watch -p ./",
|
|
477
|
-
"test": "jest -w 1 --unhandled-rejections=strict",
|
|
478
|
-
"coverage": "jest --coverage --runInBand",
|
|
479
|
-
"package": "vsce package --no-dependencies"
|
|
480
|
-
},
|
|
481
|
-
"dependencies": {
|
|
482
|
-
"@code4z/cobol-dialect-api": "file:../cobol-dialect-api",
|
|
483
|
-
"glob": "10.2.7",
|
|
484
|
-
"iconv-lite": "^0.6.3",
|
|
485
|
-
"micromatch": "4.0.5",
|
|
486
|
-
"@vscode/extension-telemetry": "^0.8.2",
|
|
487
|
-
"vscode-languageclient": "8.0.2"
|
|
488
|
-
},
|
|
489
|
-
"devDependencies": {
|
|
490
|
-
"@types/fs-extra": "^9.0.13",
|
|
491
|
-
"@types/jest": "^29.0.3",
|
|
492
|
-
"@types/minimatch": "5.1.2",
|
|
493
|
-
"@types/mocha": "^9.1.1",
|
|
494
|
-
"@types/node": "^14.18.29",
|
|
495
|
-
"@types/vscode": "^1.71.0",
|
|
496
|
-
"@vscode/test-electron": "2.3.8",
|
|
497
|
-
"@vscode/vsce": "2.19.0",
|
|
498
|
-
"decache": "^4.6.1",
|
|
499
|
-
"esbuild": "^0.16.6",
|
|
500
|
-
"eslint-plugin-sonarjs": "^0.15.0",
|
|
501
|
-
"fs-extra": "10.1.0",
|
|
502
|
-
"jest": "^29.0.3",
|
|
503
|
-
"jest-jasmine2": "^29.0.3",
|
|
504
|
-
"jest-sonar-reporter": "^2.0.0",
|
|
505
|
-
"mocha": "^10.0.0",
|
|
506
|
-
"nyc": "^15.1.0",
|
|
507
|
-
"patch-package": "^6.4.7",
|
|
508
|
-
"prettier": "2.8.7",
|
|
509
|
-
"ts-jest": "^29.0.1",
|
|
510
|
-
"tslint": "^5.18.0",
|
|
511
|
-
"typescript": "^4.9.4"
|
|
512
|
-
}
|
|
513
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "cobol-language-support",
|
|
3
|
+
"displayName": "COBOL Language Support",
|
|
4
|
+
"description": "Autocomplete, highlighting and diagnostics for COBOL code and copybooks.",
|
|
5
|
+
"author": "Broadcom",
|
|
6
|
+
"license": "EPL-2.0",
|
|
7
|
+
"version": "2.1.0",
|
|
8
|
+
"preview": false,
|
|
9
|
+
"publisher": "BroadcomMFD",
|
|
10
|
+
"engines": {
|
|
11
|
+
"vscode": "^1.71.0"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/eclipse/che-che4z-lsp-for-cobol.git"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/eclipse/che-che4z-lsp-for-cobol/issues"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"mainframe",
|
|
22
|
+
"lsp",
|
|
23
|
+
"cobol",
|
|
24
|
+
"z/os",
|
|
25
|
+
"zowe",
|
|
26
|
+
"zos",
|
|
27
|
+
"ibm",
|
|
28
|
+
"datacom",
|
|
29
|
+
"cics",
|
|
30
|
+
"db2"
|
|
31
|
+
],
|
|
32
|
+
"categories": [
|
|
33
|
+
"Programming Languages"
|
|
34
|
+
],
|
|
35
|
+
"activationEvents": [
|
|
36
|
+
"onLanguage:cobol"
|
|
37
|
+
],
|
|
38
|
+
"icon": "resources/logo.png",
|
|
39
|
+
"main": "./dist/extension.js",
|
|
40
|
+
"contributes": {
|
|
41
|
+
"commands": [
|
|
42
|
+
{
|
|
43
|
+
"command": "cobol-lsp.cpy-manager.fetch-copybook",
|
|
44
|
+
"title": "Fetch copybook"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"command": "cobol-lsp.cpy-manager.goto-settings",
|
|
48
|
+
"title": "Open Copybook location settings"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"command": "cobol-lsp.serverRuntime.goto-settings",
|
|
52
|
+
"title": "Open serverRuntime settings"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"command": "cobol-lsp.dialects.goto-settings",
|
|
56
|
+
"title": "Open Dialects settings"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"command": "cobol-lsp.commentLine.toggle",
|
|
60
|
+
"title": "Toggle COBOL Line Comment"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"command": "cobol-lsp.commentLine.comment",
|
|
64
|
+
"title": "Add Cobol Line Comment"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"command": "cobol-lsp.commentLine.uncomment",
|
|
68
|
+
"title": "Remove COBOL Line Comment"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"command": "cobol-lsp.clear.downloaded.copybooks",
|
|
72
|
+
"title": "Clear downloaded copybooks"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"command": "cobol-lsp.snippets.insertSnippets",
|
|
76
|
+
"title": "Insert COBOL Snippet",
|
|
77
|
+
"category": "Snippets"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"languages": [
|
|
81
|
+
{
|
|
82
|
+
"id": "cobol",
|
|
83
|
+
"extensions": [
|
|
84
|
+
".cbl",
|
|
85
|
+
".cob",
|
|
86
|
+
".cobol",
|
|
87
|
+
".cpy",
|
|
88
|
+
".copy"
|
|
89
|
+
],
|
|
90
|
+
"aliases": [
|
|
91
|
+
"COBOL"
|
|
92
|
+
],
|
|
93
|
+
"configuration": "./syntaxes/lang-config.json",
|
|
94
|
+
"firstLine": "^[0-9 ]{6}([*].*|[ Dd] *([Ii][Dd]([Ee][Nn][Tt][Ii][Ff][Ii][Cc][Aa][Tt][Ii][Oo][Nn])? +[Dd][Ii][Vv][Ii][Ss][Ii][Oo][Nn][. ]|[0-9][0-9] +[@#$A-Z][-A-Z0-9]*[. ]|[*](CBL|PROCESS) ).*)$|^([0-9].{5})?[ ]*(CBL|PROCESS) "
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"grammars": [
|
|
98
|
+
{
|
|
99
|
+
"language": "cobol",
|
|
100
|
+
"scopeName": "source.cobol",
|
|
101
|
+
"path": "./syntaxes/COBOL.tmLanguage.json",
|
|
102
|
+
"embeddedLanguages": {
|
|
103
|
+
"meta.embedded.block.html": "html"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"scopeName": "meta.embedded.block.cics",
|
|
108
|
+
"path": "./syntaxes/CICS.tmLanguage.json",
|
|
109
|
+
"injectTo": [
|
|
110
|
+
"source.cobol"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"scopeName": "meta.embedded.block.sql",
|
|
115
|
+
"path": "./syntaxes/SQL.tmLanguage.json",
|
|
116
|
+
"embeddedLanguages": {
|
|
117
|
+
"meta.embedded.block.sql": "sql"
|
|
118
|
+
},
|
|
119
|
+
"injectTo": [
|
|
120
|
+
"source.cobol"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"configuration": {
|
|
125
|
+
"title": "COBOL Language Support",
|
|
126
|
+
"properties": {
|
|
127
|
+
"cobol-lsp.smart-tab": {
|
|
128
|
+
"oneOf": [
|
|
129
|
+
{
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "array",
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "number"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"default": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "number"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"anchors": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"patternProperties": {
|
|
150
|
+
"^.*$": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": {
|
|
153
|
+
"type": "number"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"description": "Enable/disable smart tab",
|
|
162
|
+
"default": true
|
|
163
|
+
},
|
|
164
|
+
"cobol-lsp.cpy-manager.profiles": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"description": "Current default profile for copybook downloader\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe"
|
|
167
|
+
},
|
|
168
|
+
"cobol-lsp.cpy-manager.paths-local": {
|
|
169
|
+
"type": "array",
|
|
170
|
+
"items": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
},
|
|
173
|
+
"description": "Default list of local paths to search for copybooks",
|
|
174
|
+
"uniqueItems": true
|
|
175
|
+
},
|
|
176
|
+
"cobol-lsp.cpy-manager.paths-dsn": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"items": {
|
|
179
|
+
"type": "string"
|
|
180
|
+
},
|
|
181
|
+
"description": "Default list of datasets to search for copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
182
|
+
"uniqueItems": true
|
|
183
|
+
},
|
|
184
|
+
"cobol-lsp.cpy-manager.paths-uss": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"description": "Default list of USS paths to search for copybooks\nZowe Explorer version 1.15.0 or higher is required to download copybooks from the mainframe",
|
|
190
|
+
"uniqueItems": true
|
|
191
|
+
},
|
|
192
|
+
"cobol-lsp.cpy-manager.copybook-extensions": {
|
|
193
|
+
"type": "array",
|
|
194
|
+
"$comment": "Items is converted to an array instead of simple string, to disable the vscode rendering the form for extensions setting, instead shows an hyper link to settings.xml for editing.This is done as empty string is not supported by vscode yet",
|
|
195
|
+
"items": {
|
|
196
|
+
"type": [
|
|
197
|
+
"string"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"default": [
|
|
201
|
+
".CPY",
|
|
202
|
+
".COPY",
|
|
203
|
+
".cpy",
|
|
204
|
+
".copy",
|
|
205
|
+
""
|
|
206
|
+
],
|
|
207
|
+
"description": "List of copybook extensions. Empty string specifies no file extension.",
|
|
208
|
+
"uniqueItems": true
|
|
209
|
+
},
|
|
210
|
+
"cobol-lsp.cpy-manager.copybook-file-encoding": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"markdownDescription": "The encoding for the copybooks. Alternatively edit in .vscode\\settings.json. Other supported encodings can be found at [supported encodings](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings) ",
|
|
213
|
+
"enum": [
|
|
214
|
+
"utf8",
|
|
215
|
+
"ucs2",
|
|
216
|
+
"utf16le",
|
|
217
|
+
"ascii",
|
|
218
|
+
"base64",
|
|
219
|
+
"UTF7",
|
|
220
|
+
"UTF7-IMAP",
|
|
221
|
+
"UTF-16BE",
|
|
222
|
+
"UTF-16",
|
|
223
|
+
"UCS-4",
|
|
224
|
+
"UTF-32",
|
|
225
|
+
"UTF-32LE",
|
|
226
|
+
"UTF-32BE",
|
|
227
|
+
"ISO-8859-1",
|
|
228
|
+
"ISO-8859-2",
|
|
229
|
+
"ISO-8859-3",
|
|
230
|
+
"ISO-8859-4",
|
|
231
|
+
"ISO-8859-5",
|
|
232
|
+
"ISO-8859-6",
|
|
233
|
+
"ISO-8859-7",
|
|
234
|
+
"ISO-8859-8",
|
|
235
|
+
"ISO-8859-9",
|
|
236
|
+
"ISO-8859-10",
|
|
237
|
+
"ISO-8859-11",
|
|
238
|
+
"ISO-8859-12",
|
|
239
|
+
"ISO-8859-13",
|
|
240
|
+
"ISO-8859-14",
|
|
241
|
+
"ISO-8859-15",
|
|
242
|
+
"ISO-8859-16",
|
|
243
|
+
"cp437",
|
|
244
|
+
"cp720",
|
|
245
|
+
"cp737",
|
|
246
|
+
"cp775",
|
|
247
|
+
"cp808",
|
|
248
|
+
"cp850",
|
|
249
|
+
"cp852",
|
|
250
|
+
"cp855",
|
|
251
|
+
"cp856",
|
|
252
|
+
"cp857",
|
|
253
|
+
"cp858",
|
|
254
|
+
"cp860",
|
|
255
|
+
"cp861",
|
|
256
|
+
"cp862",
|
|
257
|
+
"cp863",
|
|
258
|
+
"cp864",
|
|
259
|
+
"cp865",
|
|
260
|
+
"cp866",
|
|
261
|
+
"cp869",
|
|
262
|
+
"cp922",
|
|
263
|
+
"cp1046",
|
|
264
|
+
"cp1124",
|
|
265
|
+
"cp1125",
|
|
266
|
+
"cp1129",
|
|
267
|
+
"cp1133",
|
|
268
|
+
"cp1161",
|
|
269
|
+
"cp1162",
|
|
270
|
+
"cp1163",
|
|
271
|
+
"cp1047",
|
|
272
|
+
"cp1140",
|
|
273
|
+
"cp1147",
|
|
274
|
+
"cp1148",
|
|
275
|
+
"cp037",
|
|
276
|
+
"cp500",
|
|
277
|
+
"iso646cn",
|
|
278
|
+
"iso646jp"
|
|
279
|
+
],
|
|
280
|
+
"enumDescriptions": [
|
|
281
|
+
"utf8",
|
|
282
|
+
"ucs2",
|
|
283
|
+
"utf16le",
|
|
284
|
+
"ascii",
|
|
285
|
+
"base64",
|
|
286
|
+
"UTF7",
|
|
287
|
+
"UTF7-IMAP",
|
|
288
|
+
"UTF-16BE",
|
|
289
|
+
"UTF-16",
|
|
290
|
+
"UCS-4",
|
|
291
|
+
"UTF-32",
|
|
292
|
+
"UTF-32LE",
|
|
293
|
+
"UTF-32BE",
|
|
294
|
+
"ISO-8859-1",
|
|
295
|
+
"ISO-8859-2",
|
|
296
|
+
"ISO-8859-3",
|
|
297
|
+
"ISO-8859-4",
|
|
298
|
+
"ISO-8859-5",
|
|
299
|
+
"ISO-8859-6",
|
|
300
|
+
"ISO-8859-7",
|
|
301
|
+
"ISO-8859-8",
|
|
302
|
+
"ISO-8859-9",
|
|
303
|
+
"ISO-8859-10",
|
|
304
|
+
"ISO-8859-11",
|
|
305
|
+
"ISO-8859-12",
|
|
306
|
+
"ISO-8859-13",
|
|
307
|
+
"ISO-8859-14",
|
|
308
|
+
"ISO-8859-15",
|
|
309
|
+
"ISO-8859-16",
|
|
310
|
+
"IBM-437",
|
|
311
|
+
"IBM-720",
|
|
312
|
+
"IBM-737",
|
|
313
|
+
"IBM-775",
|
|
314
|
+
"IBM-808",
|
|
315
|
+
"IBM-850",
|
|
316
|
+
"IBM-852",
|
|
317
|
+
"IBM-855",
|
|
318
|
+
"IBM-856",
|
|
319
|
+
"IBM-857",
|
|
320
|
+
"IBM-858",
|
|
321
|
+
"IBM-860",
|
|
322
|
+
"IBM-861",
|
|
323
|
+
"IBM-862",
|
|
324
|
+
"IBM-863",
|
|
325
|
+
"IBM-864",
|
|
326
|
+
"IBM-865",
|
|
327
|
+
"IBM-866",
|
|
328
|
+
"IBM-869",
|
|
329
|
+
"IBM-922",
|
|
330
|
+
"IBM-1046",
|
|
331
|
+
"IBM-1124",
|
|
332
|
+
"IBM-1125",
|
|
333
|
+
"IBM-1129",
|
|
334
|
+
"IBM-1133",
|
|
335
|
+
"IBM-1161",
|
|
336
|
+
"IBM-1162",
|
|
337
|
+
"IBM-1163",
|
|
338
|
+
"IBM-1047",
|
|
339
|
+
"IBM-1140",
|
|
340
|
+
"IBM-1147",
|
|
341
|
+
"IBM-1148",
|
|
342
|
+
"IBM-037",
|
|
343
|
+
"IBM-500",
|
|
344
|
+
"iso646cn",
|
|
345
|
+
"iso646jp"
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
"cobol-lsp.subroutine-manager.paths-local": {
|
|
349
|
+
"type": "array",
|
|
350
|
+
"items": {
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"description": "List of relative local paths to search for subroutines",
|
|
354
|
+
"uniqueItems": true
|
|
355
|
+
},
|
|
356
|
+
"cobol-lsp.logging.level.root": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"default": "ERROR",
|
|
359
|
+
"enum": [
|
|
360
|
+
"ERROR",
|
|
361
|
+
"WARN",
|
|
362
|
+
"INFO",
|
|
363
|
+
"DEBUG",
|
|
364
|
+
"TRACE",
|
|
365
|
+
"ALL"
|
|
366
|
+
],
|
|
367
|
+
"enumDescriptions": [
|
|
368
|
+
"ERROR level logs error events which may or not be fatal to the application",
|
|
369
|
+
"WARN level logs potentially harmful situations",
|
|
370
|
+
"INFO level logs informational messages highlighting overall progress of the application",
|
|
371
|
+
"DEBUG level logs informational events of very low importance",
|
|
372
|
+
"TRACE level logs informational events of very low importance",
|
|
373
|
+
"ALL level is used to turn on all logging"
|
|
374
|
+
],
|
|
375
|
+
"description": "The logging level for COBOL LS backend"
|
|
376
|
+
},
|
|
377
|
+
"cobol-lsp.target-sql-backend": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"default": "DB2_SERVER",
|
|
380
|
+
"enum": [
|
|
381
|
+
"DB2_SERVER",
|
|
382
|
+
"DATACOM_SERVER",
|
|
383
|
+
"NONE"
|
|
384
|
+
],
|
|
385
|
+
"enumDescriptions": [
|
|
386
|
+
"DB2_SERVER - IBM DB2 SQL Server",
|
|
387
|
+
"DATACOM_SERVER - CA DATACOM Server",
|
|
388
|
+
"NONE"
|
|
389
|
+
],
|
|
390
|
+
"description": "The target SQL backend server which will be used in mainframe"
|
|
391
|
+
},
|
|
392
|
+
"cobol-lsp.dialects": {
|
|
393
|
+
"type": "array",
|
|
394
|
+
"items": {
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"description": "List of enabled dialects",
|
|
398
|
+
"uniqueItems": true
|
|
399
|
+
},
|
|
400
|
+
"cobol-lsp.cics.translator": {
|
|
401
|
+
"type": "boolean",
|
|
402
|
+
"default": "true",
|
|
403
|
+
"description": "Enable CICS translator"
|
|
404
|
+
},
|
|
405
|
+
"cobol-lsp.serverRuntime": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"enum": [
|
|
408
|
+
"JAVA",
|
|
409
|
+
"NATIVE"
|
|
410
|
+
],
|
|
411
|
+
"default": "JAVA",
|
|
412
|
+
"enumDescriptions": [
|
|
413
|
+
"JAVA - Run from a Java Archive (jar). Requires java runtime to be installed",
|
|
414
|
+
"NATIVE - Use platform binary"
|
|
415
|
+
],
|
|
416
|
+
"description": "COBOL LS server runtime."
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"configurationDefaults": {
|
|
421
|
+
"[cobol]": {
|
|
422
|
+
"editor.guides.indentation": false,
|
|
423
|
+
"editor.rulers": [
|
|
424
|
+
7,
|
|
425
|
+
11,
|
|
426
|
+
72,
|
|
427
|
+
80
|
|
428
|
+
],
|
|
429
|
+
"editor.wordSeparators": "!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"keybindings": [
|
|
433
|
+
{
|
|
434
|
+
"key": "tab",
|
|
435
|
+
"command": "cobol-lsp.smart-tab",
|
|
436
|
+
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"key": "tab",
|
|
440
|
+
"command": "cobol-lsp.smart-tab",
|
|
441
|
+
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"key": "shift+tab",
|
|
445
|
+
"command": "cobol-lsp.smart-outdent",
|
|
446
|
+
"when": "editorLangId == cobol && !inSnippetMode && !config.editor.tabCompletion && editorTextFocus && config.cobol-lsp.smart-tab"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"key": "ctrl+/",
|
|
450
|
+
"mac": "cmd+/",
|
|
451
|
+
"command": "cobol-lsp.commentLine.toggle",
|
|
452
|
+
"when": "editorLangId =~ /^cobol$/i && editorTextFocus && !editorReadonly"
|
|
453
|
+
}
|
|
454
|
+
],
|
|
455
|
+
"jsonValidation": [
|
|
456
|
+
{
|
|
457
|
+
"fileMatch": "/.cobolplugin/pgm_conf.json",
|
|
458
|
+
"url": "./schema/pgm_conf.schema.json"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"fileMatch": "/.cobolplugin/proc_grps.json",
|
|
462
|
+
"url": "./schema/proc_grps.schema.json"
|
|
463
|
+
}
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
"scripts": {
|
|
467
|
+
"vscode:prepublish": "npm run -S build -- --minify",
|
|
468
|
+
"postinstall": "node -e \"if (process.env.NODE_ENV === 'production'){process.exit(1)} \" && patch-package || echo skip patching",
|
|
469
|
+
"build": "esbuild src/extension.ts --bundle --sourcemap --platform=node --target=node16.17.1 --outdir=dist --external:vscode --format=cjs",
|
|
470
|
+
"build:watch": "npm run build -- --watch",
|
|
471
|
+
"test:integration": "npm run compile && node ./out/test/runTest.js",
|
|
472
|
+
"compile": "tsc -p ./",
|
|
473
|
+
"lint": "prettier -c .",
|
|
474
|
+
"pretest": "npm run compile && npm run lint",
|
|
475
|
+
"pretty": "prettier -w .",
|
|
476
|
+
"watch": "tsc -watch -p ./",
|
|
477
|
+
"test": "jest -w 1 --unhandled-rejections=strict",
|
|
478
|
+
"coverage": "jest --coverage --runInBand",
|
|
479
|
+
"package": "vsce package --no-dependencies"
|
|
480
|
+
},
|
|
481
|
+
"dependencies": {
|
|
482
|
+
"@code4z/cobol-dialect-api": "file:../cobol-dialect-api",
|
|
483
|
+
"glob": "10.2.7",
|
|
484
|
+
"iconv-lite": "^0.6.3",
|
|
485
|
+
"micromatch": "4.0.5",
|
|
486
|
+
"@vscode/extension-telemetry": "^0.8.2",
|
|
487
|
+
"vscode-languageclient": "8.0.2"
|
|
488
|
+
},
|
|
489
|
+
"devDependencies": {
|
|
490
|
+
"@types/fs-extra": "^9.0.13",
|
|
491
|
+
"@types/jest": "^29.0.3",
|
|
492
|
+
"@types/minimatch": "5.1.2",
|
|
493
|
+
"@types/mocha": "^9.1.1",
|
|
494
|
+
"@types/node": "^14.18.29",
|
|
495
|
+
"@types/vscode": "^1.71.0",
|
|
496
|
+
"@vscode/test-electron": "2.3.8",
|
|
497
|
+
"@vscode/vsce": "2.19.0",
|
|
498
|
+
"decache": "^4.6.1",
|
|
499
|
+
"esbuild": "^0.16.6",
|
|
500
|
+
"eslint-plugin-sonarjs": "^0.15.0",
|
|
501
|
+
"fs-extra": "10.1.0",
|
|
502
|
+
"jest": "^29.0.3",
|
|
503
|
+
"jest-jasmine2": "^29.0.3",
|
|
504
|
+
"jest-sonar-reporter": "^2.0.0",
|
|
505
|
+
"mocha": "^10.0.0",
|
|
506
|
+
"nyc": "^15.1.0",
|
|
507
|
+
"patch-package": "^6.4.7",
|
|
508
|
+
"prettier": "2.8.7",
|
|
509
|
+
"ts-jest": "^29.0.1",
|
|
510
|
+
"tslint": "^5.18.0",
|
|
511
|
+
"typescript": "^4.9.4"
|
|
512
|
+
}
|
|
513
|
+
}
|