-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
2986 lines (2986 loc) Β· 83.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "code-for-ibmi",
"icon": "icon.png",
"displayName": "Code for IBM i",
"description": "Maintain your RPGLE, CL, COBOL, C/CPP on IBM i right from Visual Studio Code.",
"version": "2.13.10-dev.0",
"keywords": [
"ibmi",
"rpgle",
"cobol",
"ile",
"iseries",
"as400"
],
"author": {
"name": "Code4i",
"url": "https://github.com/codefori"
},
"publisher": "halcyontechltd",
"repository": {
"url": "https://github.com/codefori/vscode-ibmi"
},
"license": "MIT",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#333333",
"theme": "dark"
},
"activationEvents": [
"onStartupFinished",
"onFileSystem:member",
"onFileSystem:streamfile"
],
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"taskDefinitions": [
{
"type": "ibmi"
}
],
"jsonValidation": [
{
"fileMatch": [
".vscode/actions.json"
],
"url": "./schemas/actions.json"
}
],
"configuration": {
"title": "Code for IBM i",
"properties": {
"code-for-ibmi.connectionSettings": {
"type": "array",
"markdownDescription": "Configurations for different connections.",
"items": {
"type": "object",
"description": "Configuration for this connection",
"properties": {
"name": {
"type": "string",
"description": "Connection name"
},
"host": {
"type": "string",
"description": "Host for this configuration"
},
"objectFilters": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"library",
"object",
"types",
"member",
"memberType"
],
"properties": {
"name": {
"type": "string",
"description": "Connection name"
},
"library": {
"type": "string",
"description": "Library filter",
"maxLength": 10
},
"object": {
"type": "string",
"description": "Object filter",
"maxLength": 10
},
"types": {
"type": "array",
"description": "Object types filter",
"items": {
"type": "string",
"description": "Object type. Usually starts with an asterisk."
},
"default": [
"*ALL"
]
},
"member": {
"type": "string",
"description": "Member filter",
"maxLength": 10,
"default": "*"
},
"memberType": {
"type": "string",
"description": "Member type filter",
"maxLength": 10,
"default": "*"
}
}
},
"default": [],
"description": "List of filters for Object List"
},
"libraryList": {
"type": "array",
"items": {
"type": "string",
"title": "Library and source physical file"
},
"default": [],
"description": "Library list. Used in actions. Highest first."
},
"connectionProfiles": {
"type": "array",
"items": {
"type": "object",
"title": "Profiles",
"properties": {
"name": {
"type": "string",
"description": "Profile name"
}
},
"additionalProperties": true
},
"default": [],
"description": "A collection of connection settings to easily switch between them on this system."
},
"commandProfiles": {
"type": "array",
"items": {
"type": "object",
"title": "Command Profile",
"properties": {
"name": {
"type": "string",
"description": "Profile name"
},
"command": {
"type": "string",
"description": "Command"
}
},
"additionalProperties": true
},
"default": [],
"description": "A collection of commands to easily switch between library list configurations on this system."
},
"ifsShortcuts": {
"type": "array",
"items": {
"type": "string",
"title": "Path to directory"
},
"default": [],
"description": "List of directories shown in IFS Browser"
},
"autoSortIFSShortcuts": {
"type": "boolean",
"default": false,
"description": "Automatically sort the shortcuts in IFS browser when shortcut is added or removed."
},
"homeDirectory": {
"type": "string",
"default": ".",
"description": "Connection home directory"
},
"tempLibrary": {
"type": "string",
"default": "ILEDITOR",
"description": "Temporary library. Cannot be QTEMP."
},
"tempDir": {
"type": "string",
"default": "/tmp",
"description": "Temporary directory."
},
"autoClearTempData": {
"type": "boolean",
"default": true,
"description": "Automatically delete temporary objects from the temporary library on startup."
},
"currentLibrary": {
"type": "string",
"default": "QTEMP",
"description": "Library used as the current library and &CURLIB variable when running actions."
},
"sourceASP": {
"type": [
"string",
"null"
],
"default": null,
"description": "If source files live within a specific ASP, please specify it here. Leave blank/null otherwise. You can ignore this column if you have access to `QSYS2.ASP_INFO` as Code for IBM i will fetch ASP information automatically."
},
"sourceFileCCSID": {
"type": "string",
"default": "*FILE",
"description": "The CCSID of source files on your system. You should only change this setting from `*FILE` if you have a source file that is 65535 - otherwise use `*FILE`. Note that this config is used to fetch all members. If you have any source files using 65535, you have bigger problems."
},
"autoConvertIFSccsid": {
"type": "boolean",
"default": false,
"description": "Automatically convert IFS to UTF8 when reading and writing."
},
"hideCompileErrors": {
"type": "array",
"items": {
"type": "string",
"title": "IBM i error code"
},
"default": [],
"description": "List of codes that will be hidden in the result of an action (from the EVFEVENT file)"
},
"enableSourceDates": {
"type": "boolean",
"default": false,
"description": "When enabled, Code for IBM i will retain/update source dates of members when editing source members. Requires SQL to be enabled for this feature to work. If this config is changed, you must reconnect to the system."
},
"sourceDateMode": {
"type": "string",
"default": "edit",
"enum": [
"edit",
"diff"
],
"description": "Determine which method should be used to track changes to source dates for source member."
},
"sourceDateGutter": {
"type": "boolean",
"default": false,
"description": "When enabled along with enableSourceDates, Code for IBM i will display the source date in the gutter of source members."
},
"encodingFor5250": {
"type": "string",
"default": "default",
"enum": [
"default",
"37",
"256",
"273",
"277",
"278",
"280",
"284",
"285",
"297",
"500",
"871",
"870",
"905",
"880",
"420",
"875",
"424",
"1026",
"290",
"win37",
"win256",
"win273",
"win277",
"win278",
"win280",
"win284",
"win285",
"win297",
"win500",
"win871",
"win870",
"win905",
"win880",
"win420",
"win875",
"win424",
"win1026"
],
"description": "The encoding for the 5250 emulator. To use the 5250 emulator, tn5250 must be installed on the remote system via yum."
},
"terminalFor5250": {
"type": "string",
"default": "default",
"enum": [
"default",
"IBM-3477-FC",
"IBM-3477-FG",
"IBM-3180-2 ",
"IBM-3179-2 ",
"IBM-3196-A1",
"IBM-5292-2",
"IBM-5291-1",
"IBM-5251-11"
],
"description": "The terminal type for the 5250 emulator. To use the 5250 emulator, tn5250 must be installed on the remote system via yum."
},
"setDeviceNameFor5250": {
"type": "boolean",
"default": false,
"description": "If enabled, user will be prompted for the terminal device name."
},
"connectringStringFor5250": {
"type": "string",
"default": "localhost",
"description": "The connectring string for the 5250 emulator. To use the 5250 emulator, tn5250 must be installed on the remote system via yum."
},
"autoSaveBeforeAction": {
"type": "boolean",
"default": false,
"description": "Automatically save before running action if editor is dirty"
},
"customVariables": {
"type": "array",
"description": "Custom variables for Actions",
"items": {
"type": "object",
"description": "Variable",
"properties": {
"name": {
"type": "string",
"description": "Variable name. Will be forced uppercase."
},
"value": {
"type": "string",
"description": "Variable value"
}
}
},
"default": []
},
"showDescInLibList": {
"type": "boolean",
"default": false,
"description": "Show description of libraries in User Library List (recommended to also enable SQL)."
},
"showHiddenFiles": {
"type": "boolean",
"default": true,
"description": "Show hidden files and directories in IFS browser."
},
"debugPort": {
"type": "string",
"default": "8005",
"description": "Port to connect to IBM i Debug Service."
},
"debugSepPort": {
"type": "string",
"default": "8008",
"description": "Port to connect to IBM i Debug Service for SEP."
},
"debugUpdateProductionFiles": {
"type": "boolean",
"default": false,
"description": "Whether the job being debugged can update objects in production (*PROD) libraries"
},
"debugEnableDebugTracing": {
"type": "boolean",
"default": false,
"description": "Tells the debug service to send more data to the client. Only useful for debugging issues in the service."
}
}
}
},
"code-for-ibmi.postActionView": {
"type": "string",
"default": "task",
"enum": [
"task",
"problems",
"none"
],
"description": "Determine which view should be shown when running Actions"
},
"code-for-ibmi.clearErrorsBeforeBuild": {
"type": "boolean",
"default": true,
"description": "When true, existing errors will be replaced with errors from the latest build. When false, errors will be appended to the existing list."
},
"code-for-ibmi.grepIgnoreDirs": {
"type": "array",
"items": {
"type": "string",
"title": "IFS directory"
},
"default": [
"node_modules",
".git",
"vendor",
"__pycache__"
],
"description": "List of directories that will be ignored when searching the IFS."
},
"code-for-ibmi.logCompileOutput": {
"type": "boolean",
"default": true,
"description": "If enabled, will log spool files from command executed. You can find it under Output for 'IBM i Compile Log'."
},
"code-for-ibmi.showSeuColors": {
"type": "boolean",
"default": false,
"description": "If enabled, will colourise lines like SEU. Only supports source members. Requires restart if changed."
},
"code-for-ibmi.clearOutputEveryTime": {
"type": "boolean",
"default": true,
"description": "If enabled, will clear the IBM i Output before an Action is run."
},
"code-for-ibmi.defaultOpenMode": {
"type": "string",
"default": "edit",
"enum": [
"browse",
"edit"
],
"description": "The action to take when clicking on a source member or stream file to open it."
},
"code-for-ibmi.autoOpenFile": {
"type": "boolean",
"default": true,
"description": "When enabled, files will automatically be opened when copied or moved/renamed."
},
"code-for-ibmi.autoRefresh": {
"type": "boolean",
"default": true,
"description": "If enabled, listings will refresh when items are interacted with (create, copy, delele, etc). Turn this off if you find performance is bad."
},
"code-for-ibmi.ObjectBrowser.showNamesInLowercase": {
"type": "boolean",
"default": true,
"description": "If enabled, names and types of object and members will be shown in lowercase. If disabled, the names will be shown as is on the server (like in 5250 sessions)."
},
"code-for-ibmi.ObjectBrowser.sortObjectsByName": {
"type": "boolean",
"default": true,
"description": "If enabled, objects will be sorted by object name. If disabled, objects will be sorted by object type (MI object type)."
},
"code-for-ibmi.IfsBrowser.DragAndDropDefaultBehavior": {
"type": "string",
"default": "ask",
"enum": [
"ask",
"copy",
"move"
],
"enumDescriptions": [
"Show a modal choice dialog",
"Always copy",
"Always move"
],
"description": "The action to take when an item from the IFS Browser is dragged'n'dropped."
},
"code-for-ibmi.clearDiagnosticOnEdit": {
"type": "boolean",
"default": false,
"description": "When lines with ILE diagnostics are edited, the diagnostic will be removed. Requires reload/restart if changed."
},
"code-for-ibmi.createLibraryOnBranchChange": {
"type": "boolean",
"default": false,
"description": "Used in conjuction with git. When the branch changes, prompt the user if they would like a new branch library for this branch. The branch name, which is deterministic, always starts with 'VS', followed by 8 characters."
},
"code-for-ibmi.recentlyOpenedFilesLimit": {
"type": "integer",
"default": 10,
"description": "Number of files to keep in recently opened files list.",
"enum": [
0,
10,
20,
30
],
"enumDescriptions": [
"Do not keep any recently opened files",
"Keep the 10 most recently opened files",
"Keep the 20 most recently opened files",
"Keep the 30 most recently opened files"
]
},
"code-for-ibmi.safeDeleteMode": {
"type": "boolean",
"default": false,
"description": "If enabled, when the user tries to delete a directory, they will be asked to confirm the deletion by typing in the directory's name."
},
"code-for-ibmi.showDateSearchButton": {
"type": "boolean",
"default": true,
"description": "If enabled, will show the 'Date search' button in the status bar when source dates with diff mode is enabled."
},
"code-for-ibmi.terminals.5250.openInEditorArea": {
"type": "boolean",
"default": true,
"description": "If enabled, 5250 terminals will open in the editor area as tabs instead of panels."
},
"code-for-ibmi.terminals.pase.openInEditorArea": {
"type": "boolean",
"default": false,
"description": "If enabled, PASE terminals will open in the editor area as tabs instead of panels."
},
"code-for-ibmi.autoReconnect": {
"type": "string",
"default": "ask",
"enum": [
"ask",
"always",
"never"
],
"enumDescriptions": [
"Show a choice notification",
"Always reconnect",
"Never reconnect"
],
"description": "The action to take when a source member/streamfile is left opened when VS Code is closed and re-opened."
},
"code-for-ibmi.connections": {
"type": "array",
"items": {
"type": "object",
"title": "Connection details",
"properties": {
"name": {
"type": "string",
"description": "Connection name"
},
"host": {
"type": "string",
"description": "Host name or IP address"
},
"port": {
"type": "number",
"description": "Port"
},
"username": {
"maxLength": 10,
"type": "string",
"description": "User profile"
}
}
},
"default": [],
"description": "A list of connection details to save you typing again."
},
"code-for-ibmi.actions": {
"type": "array",
"description": "A list of actions that can be used throughout the extension. For example, you would setup actions to compile source code.",
"items": {
"type": "object",
"title": "Action",
"properties": {
"type": {
"type": "string",
"description": "Support type this action can use",
"enum": [
"member",
"streamfile",
"object",
"file"
]
},
"environment": {
"type": [
"string",
null
],
"description": "Environment for command to be executed in. Default is `ile`.",
"default": "ile",
"enum": [
"ile",
"qsh",
"pase"
]
},
"extensions": {
"type": "array",
"items": {
"type": "string",
"description": "Source extension"
},
"description": "Extensions that can use this action"
},
"postDownload": {
"type": "array",
"items": {
"type": "string",
"description": "Relative path"
},
"description": "Remote files to download after the Action is complete. For local files only."
},
"name": {
"type": "string",
"description": "Action name"
},
"command": {
"type": "string",
"description": "Action command"
},
"deployFirst": {
"type": "boolean",
"description": "If enabled and type is local, the deployment process will run before the Action."
},
"refresh": {
"type": "string",
"description": "What container level should be refreshed after the action is done.",
"default": "no",
"enum": [
"no",
"parent",
"filter",
"browser"
]
},
"runOnProtected": {
"type": "boolean",
"description": "If enabled, this Action will be allowed to run on protected/read only targets."
}
}
},
"default": [
{
"type": "member",
"extensions": [
"CBLLE",
"CBL"
],
"name": "Create Bound COBOL Program (CRTBNDCBL)",
"command": "CRTBNDCBL (&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*SOURCE) DBGVIEW(*SOURCE)"
},
{
"type": "member",
"extensions": [
"CBLLE",
"CBL"
],
"name": "Create Module CBLLE (CRTCBLMOD)",
"command": "CRTCBLMOD MODULE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*SOURCE) DBGVIEW(*SOURCE)"
},
{
"type": "member",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create Bound RPG Program (CRTBNDRPG)",
"command": "CRTBNDRPG PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"GLOBAL"
],
"name": "Create Service Program (CRTSRVPGM)",
"command": "?CRTSRVPGM SRVPGM(&OPENLIB/&OPENMBR) EXPORT(*ALL) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*CALLER) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"SQLRPGLE"
],
"name": "Create SQL ILE RPG Program (CRTSQLRPGI)",
"command": "?CRTSQLRPGI OBJ(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) CLOSQLCSR(*ENDMOD) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) RPGPPOPT(*LVL2)"
},
{
"type": "member",
"extensions": [
"SQLRPGLE"
],
"name": "Create SQL ILE RPG Module (CRTSQLRPGI)",
"command": "?CRTSQLRPGI OBJ(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OBJTYPE(*MODULE) CLOSQLCSR(*ENDMOD) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) RPGPPOPT(*LVL2)"
},
{
"type": "member",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create RPG Module (CRTRPGMOD)",
"command": "?CRTRPGMOD MODULE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"CMD"
],
"name": "Create Command (CRTCMD)",
"command": "?CRTCMD CMD(&OPENLIB/&OPENMBR) PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) ALLOW(*ALL) CURLIB(*NOCHG) PRDLIB(*NOCHG)"
},
{
"type": "member",
"extensions": [
"CMD"
],
"name": "Create Command (Allow Return Variables - CRTCMD)",
"command": "?CRTCMD CMD(&OPENLIB/&OPENMBR) PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) ALLOW(ALLOW(*BPGM *IPGM *BMOD *IMOD) ) CURLIB(*NOCHG) PRDLIB(*NOCHG)"
},
{
"type": "member",
"extensions": [
"pf",
"lf"
],
"name": "Delete File (DLTF)",
"command": "?DLTF FILE(&OPENLIB/&OPENMBR)"
},
{
"type": "member",
"extensions": [
"dspf"
],
"name": "Create Display File (CRTDSPF)",
"command": "?CRTDSPF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) OPTION(*EVENTF) RSTDSP(*NO) REPLACE(*YES)"
},
{
"type": "member",
"extensions": [
"pf"
],
"name": "Create Physical File (CRTPF)",
"command": "?CRTPF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) OPTION(*EVENTF) SIZE(*NOMAX) MAXMBRS(1)"
},
{
"type": "member",
"extensions": [
"lf"
],
"name": "Create Logical File (CRTLF)",
"command": "?CRTLF FILE(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF)"
},
{
"type": "member",
"extensions": [
"CLP",
"CLLE"
],
"name": "Create CL Program (CRTCLP)",
"command": "?CRTCLPGM PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OUTPUT(*PRINT) REPLACE(*YES)"
},
{
"type": "member",
"extensions": [
"CLP",
"CLLE"
],
"name": "Create Bound CL Program (CRTBNDCL)",
"command": "?CRTBNDCL PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE)"
},
{
"type": "member",
"extensions": [
"PNLGRP"
],
"name": "Create Panel Group (CRTPNLGRP)",
"command": "?CRTPNLGRP PNLGRP(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) OPTION(*EVENTF)"
},
{
"type": "member",
"extensions": [
"GLOBAL"
],
"name": "Create Program (CRTPGM)",
"command": "?CRTPGM PGM(&OPENLIB/&OPENMBR) MODULE(*PGM) ENTMOD(*FIRST) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*ENTMOD) TGTRLS(*CURRENT)"
},
{
"type": "member",
"extensions": [
"SQL"
],
"name": "Run SQL Statements (RUNSQLSTM)",
"command": "?RUNSQLSTM SRCFILE(&OPENLIB/&OPENSPF) SRCMBR(&OPENMBR) COMMIT(*NONE) NAMING(*SQL)"
},
{
"type": "streamfile",
"extensions": [
"rpgle"
],
"name": "Create Bound RPG Program (CRTBNDRPG) with inputs",
"command": "CRTBNDRPG PGM(${buildlib|Build library|&BUILDLIB}/${objectname|Object Name|&NAME}) SRCSTMF('${sourcePath|Source path|&FULLPATH}') OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) TGTCCSID(*JOB)"
},
{
"type": "streamfile",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create Bound RPG Program (CRTBNDRPG)",
"command": "CRTBNDRPG PGM(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) TGTCCSID(*JOB)"
},
{
"type": "streamfile",
"extensions": [
"GLOBAL"
],
"name": "Create Service Program (CRTSRVPGM)",
"command": "?CRTSRVPGM SRVPGM(&BUILDLIB/&NAME) EXPORT(*ALL) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*CALLER) TGTRLS(*CURRENT)"
},
{
"type": "streamfile",
"extensions": [
"SQLRPGLE"
],
"name": "Create SQL ILE RPG Program (CRTSQLRPGI)",
"command": "?CRTSQLRPGI OBJ(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') CLOSQLCSR(*ENDMOD) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) CVTCCSID(*JOB) RPGPPOPT(*LVL2)"
},
{
"type": "streamfile",
"extensions": [
"SQLRPGLE"
],
"name": "Create SQL ILE RPG Module (CRTSQLRPGI)",
"command": "?CRTSQLRPGI OBJ(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') OBJTYPE(*MODULE) CLOSQLCSR(*ENDMOD) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT) CVTCCSID(*JOB) RPGPPOPT(*LVL2)"
},
{
"type": "streamfile",
"extensions": [
"RPGLE",
"RPG"
],
"name": "Create RPG Module (CRTRPGMOD)",
"command": "?CRTRPGMOD MODULE(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)"
},
{
"type": "streamfile",
"extensions": [
"CLP",
"CLLE"
],
"name": "Create Bound CL Program (CRTBNDCL)",
"command": "?CRTBNDCL PGM(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF) DBGVIEW(*SOURCE)"
},
{
"type": "streamfile",
"extensions": [
"SQL"
],
"name": "Run SQL Statements (RUNSQLSTM)",
"command": "?RUNSQLSTM SRCSTMF('&FULLPATH') COMMIT(*NONE) NAMING(*SQL)"
},
{
"type": "streamfile",
"extensions": [
"cmd"
],
"name": "Create Command (CRTCMD)",
"command": "?CRTCMD CMD(&BUILDLIB/&NAME) PGM(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') OPTION(*EVENTF)"
},
{
"type": "streamfile",
"extensions": [
"cmd"
],
"name": "Create Command (Allow Return Variables - CRTCMD)",
"command": "?CRTCMD CMD(&BUILDLIB/&NAME) PGM(&BUILDLIB/&NAME) SRCSTMF('&FULLPATH') ALLOW(*BPGM *IPGM *BMOD *IMOD *BREXX *IREXX) OPTION(*EVENTF)"
},
{
"type": "streamfile",
"extensions": [
"GLOBAL"
],
"name": "Set CCSID to 1252",
"environment": "pase",
"command": "setccsid 1252 \"&FULLPATH\""
},
{
"type": "object",
"extensions": [
"GLOBAL"
],
"name": "Delete object",
"command": "?DLTOBJ OBJ(&LIBRARY/&NAME) OBJTYPE(*&TYPE)"
},
{
"type": "object",
"extensions": [
"pgm"
],
"name": "Call program",
"command": "?CALL &LIBRARY/&NAME"
}
]
}
}
},
"commands": [
{
"command": "code-for-ibmi.setToDefault",
"title": "Reset to Default Profile",
"category": "IBM i",
"enablement": "code-for-ibmi:connected == true",
"icon": "$(arrow-circle-right)"
},
{
"command": "code-for-ibmi.manageCommandProfile",
"title": "Create/edit command profile...",
"category": "IBM i",
"enablement": "code-for-ibmi:connected == true",
"icon": "$(library)"
},
{
"command": "code-for-ibmi.deleteCommandProfile",
"title": "Delete command profile...",
"category": "IBM i",
"enablement": "code-for-ibmi:connected == true && code-for-ibmi:hasProfiles == true",
"icon": "$(remove)"
},
{
"command": "code-for-ibmi.loadCommandProfile",
"title": "Load command profile",
"category": "IBM i",
"enablement": "code-for-ibmi:connected == true",
"icon": "$(arrow-circle-right)"
},
{
"command": "code-for-ibmi.debug.setup.remote",
"title": "Setup Service Certificate",
"category": "IBM i Debug",
"enablement": "code-for-ibmi:connected && !code-for-ibmi:debugManaged && !code-for-ibmi:debugWorking",
"icon": "$(file-binary)"
},
{
"command": "code-for-ibmi.debug.redo.setup",
"title": "Regenerate Service Certificate",
"category": "IBM i Debug",
"enablement": "code-for-ibmi:connected && !code-for-ibmi:debugManaged && !code-for-ibmi:debugWorking",
"icon": "$(file-binary)"
},
{
"command": "code-for-ibmi.debug.setup.local",
"title": "Import Client Certificate",
"category": "IBM i Debug",
"enablement": "code-for-ibmi:connected && !code-for-ibmi:debugManaged && !code-for-ibmi:debugWorking",
"icon": "$(desktop-download)"
},
{
"command": "code-for-ibmi.debug.batch",
"title": "Debug as Batch",
"category": "IBM i",
"icon": "$(debug-alt)",
"enablement": "code-for-ibmi:connected"
},
{
"command": "code-for-ibmi.debug.sep",
"title": "Set Service Entry Point",
"category": "IBM i",
"icon": "$(debug-alt)",
"enablement": "code-for-ibmi:connected"
},
{
"command": "code-for-ibmi.debug.endDebug",
"title": "Stop Debugging",
"category": "IBM i",
"icon": "$(debug-disconnect)",
"enablement": "code-for-ibmi:connected"
},
{
"command": "code-for-ibmi.connect",
"title": "New Connection",
"category": "IBM i",
"icon": "$(add)",
"enablement": "code-for-ibmi:editingConnection !== true"
},
{
"command": "code-for-ibmi.connectTo",
"title": "Connect to IBM i",
"category": "IBM i",
"icon": "$(debug-start)",
"enablement": "code-for-ibmi:editingConnection !== true"
},
{
"command": "code-for-ibmi.connectToPrevious",
"title": "Connect to Previous IBM i",
"category": "IBM i",
"icon": "$(remote)",
"enablement": "code-for-ibmi:editingConnection !== true"
},
{
"command": "code-for-ibmi.connectToAndReload",
"title": "Connect and Reload Server Settings",
"category": "IBM i",
"enablement": "code-for-ibmi:editingConnection !== true"
},