-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
executable file
·972 lines (972 loc) · 22.2 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
{
"name": "vt100-syntax-highlighting",
"displayName": "Terminal Color and Style Highlighting for the Editor",
"description": "VT100 Color and Style Highlighting in the Text Editor",
"keywords": [
"colors",
"escape code",
"terminal",
"ansi",
"console"
],
"version": "1.0.2",
"author": {
"name": "Tobias Faller"
},
"publisher": "Tobias-Faller",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TobiasFaller/vscode-vt100-syntax-highlight"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"icon": "images/icon.png",
"galleryBanner": {
"color": "#0055CC",
"theme": "dark"
},
"homepage": "https://github.com/TobiasFaller/vscode-vt100-syntax-highlight",
"activationEvents": [ "*" ],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "vt100",
"aliases": [
"VT100 Terminal"
],
"extensions": [
".vt100",
".vt100.txt",
".vt100.log"
]
}
],
"configuration": [
{
"title": "VT100 Syntax Highlighting Configuration",
"properties": {
"vt100.foreground-color-default": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Default color)",
"default": {
"dark": {
"color": "#CCCCCC"
},
"light": {
"color": "#333333"
}
},
"description": "The VT100 default foreground color style"
},
"vt100.foreground-color-inverted": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Inverted default color)",
"default": {
"dark": {
"color": "#000000"
},
"light": {
"color": "#FFFFFF"
}
},
"description": "The VT100 default (inverted) foreground color style"
},
"vt100.foreground-color-black": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Black color)",
"default": {
"dark": {
"color": "#666666"
},
"light": {
"color": "#000000"
}
},
"description": "The VT100 black foreground color style"
},
"vt100.foreground-color-red": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Red color)",
"default": {
"dark": {
"color": "#CD3131"
},
"light": {
"color": "#CD3131"
}
},
"description": "The VT100 red foreground color style"
},
"vt100.foreground-color-green": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Green color)",
"default": {
"dark": {
"color": "#0DBC79"
},
"light": {
"color": "#00BC00"
}
},
"description": "The VT100 green foreground color style"
},
"vt100.foreground-color-yellow": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Yellow color)",
"default": {
"dark": {
"color": "#E5E510"
},
"light": {
"color": "#949800"
}
},
"description": "The VT100 yellow foreground color style"
},
"vt100.foreground-color-blue": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Blue color)",
"default": {
"dark": {
"color": "#2472C8"
},
"light": {
"color": "#0451A5"
}
},
"description": "The VT100 blue foreground color style"
},
"vt100.foreground-color-magenta": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Magenta color)",
"default": {
"dark": {
"color": "#BC3FBC"
},
"light": {
"color": "#BC05BC"
}
},
"description": "The VT100 magenta foreground color style"
},
"vt100.foreground-color-cyan": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Cyan color)",
"default": {
"dark": {
"color": "#11A8CD"
},
"light": {
"color": "#0598BC"
}
},
"description": "The VT100 cyan foreground color style"
},
"vt100.foreground-color-light-gray": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Gray color)",
"default": {
"dark": {
"color": "#A5A5A5"
},
"light": {
"color": "#777777"
}
},
"description": "The VT100 light gray foreground color style"
},
"vt100.foreground-color-dark-gray": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Dark Gray color)",
"default": {
"dark": {
"color": "#888888"
},
"light": {
"color": "#555555"
}
},
"description": "The VT100 dark gray foreground color style"
},
"vt100.foreground-color-light-red": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Red color)",
"default": {
"dark": {
"color": "#F14C4C"
},
"light": {
"color": "#CD3131"
}
},
"description": "The VT100 light red foreground color style"
},
"vt100.foreground-color-light-green": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Green color)",
"default": {
"dark": {
"color": "#23D18B"
},
"light": {
"color": "#14CE14"
}
},
"description": "The VT100 light green foreground color style"
},
"vt100.foreground-color-light-yellow": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Yellow color)",
"default": {
"dark": {
"color": "#F5F543"
},
"light": {
"color": "#B5BA00"
}
},
"description": "The VT100 light yellow foreground color style"
},
"vt100.foreground-color-light-blue": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Blue color)",
"default": {
"dark": {
"color": "#3B8EEA"
},
"light": {
"color": "#0451A5"
}
},
"description": "The VT100 light blue foreground color style"
},
"vt100.foreground-color-light-magenta": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Magenta color)",
"default": {
"dark": {
"color": "#D670D6"
},
"light": {
"color": "#BC05BC"
}
},
"description": "The VT100 light magenta foreground color style"
},
"vt100.foreground-color-light-cyan": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (Light Cyan color)",
"default": {
"dark": {
"color": "#29B8DB"
},
"light": {
"color": "#0598BC"
}
},
"description": "The VT100 light cyan foreground color style"
},
"vt100.foreground-color-white": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (White color)",
"default": {
"dark": {
"color": "#E5E5E5"
},
"light": {
"color": "#A5A5A5"
}
},
"description": "The VT100 white foreground color style"
},
"vt100.background-color-default": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Default color)",
"default": {},
"description": "The VT100 default background color style"
},
"vt100.background-color-inverted": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Default inverted color)",
"default": {
"dark": {
"background-color": "#CCCCCC"
},
"light": {
"background-color": "#333333"
}
},
"description": "The VT100 default (inverted) background color style"
},
"vt100.background-color-black": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Black color)",
"default": {
"dark": {
"background-color": "#000000"
},
"light": {
"background-color": "#000000"
}
},
"description": "The VT100 black background color style"
},
"vt100.background-color-red": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Red color)",
"default": {
"dark": {
"background-color": "#CD3131"
},
"light": {
"background-color": "#CD3131"
}
},
"description": "The VT100 red background color style"
},
"vt100.background-color-green": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Green color)",
"default": {
"dark": {
"background-color": "#0DBC79"
},
"light": {
"background-color": "#00BC00"
}
},
"description": "The VT100 green background color style"
},
"vt100.background-color-yellow": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Yellow color)",
"default": {
"dark": {
"background-color": "#E5E510"
},
"light": {
"background-color": "#949800"
}
},
"description": "The VT100 yellow background color style"
},
"vt100.background-color-blue": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Blue color)",
"default": {
"dark": {
"background-color": "#2472C8"
},
"light": {
"background-color": "#0451A5"
}
},
"description": "The VT100 blue background color style"
},
"vt100.background-color-magenta": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Magenta color)",
"default": {
"dark": {
"background-color": "#BC3FBC"
},
"light": {
"background-color": "#BC05BC"
}
},
"description": "The VT100 magenta background color style"
},
"vt100.background-color-cyan": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Cyan color)",
"default": {
"dark": {
"background-color": "#11A8CD"
},
"light": {
"background-color": "#0598BC"
}
},
"description": "The VT100 cyan background color style"
},
"vt100.background-color-light-gray": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Gray color)",
"default": {
"dark": {
"background-color": "#A5A5A5"
},
"light": {
"background-color": "#777777"
}
},
"description": "The VT100 light gray background color style"
},
"vt100.background-color-dark-gray": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Dark Gray color)",
"default": {
"dark": {
"background-color": "#666666"
},
"light": {
"background-color": "#555555"
}
},
"description": "The VT100 dark gray background color style"
},
"vt100.background-color-light-red": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Red color)",
"default": {
"dark": {
"background-color": "#F14C4C"
},
"light": {
"background-color": "#CD3131"
}
},
"description": "The VT100 light red background color style"
},
"vt100.background-color-light-green": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Green color)",
"default": {
"dark": {
"background-color": "#23D18B"
},
"light": {
"background-color": "#14CE14"
}
},
"description": "The VT100 light green background color style"
},
"vt100.background-color-light-yellow": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Yellow color)",
"default": {
"dark": {
"background-color": "#F5F543"
},
"light": {
"background-color": "#B5BA00"
}
},
"description": "The VT100 light yellow background color style"
},
"vt100.background-color-light-blue": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Blue color)",
"default": {
"dark": {
"background-color": "#3B8EEA"
},
"light": {
"background-color": "#0451A5"
}
},
"description": "The VT100 light blue background color style"
},
"vt100.background-color-light-magenta": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Magenta color)",
"default": {
"dark": {
"background-color": "#D670D6"
},
"light": {
"background-color": "#BC05BC"
}
},
"description": "The VT100 light magenta background color style"
},
"vt100.background-color-light-cyan": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (Light Cyan color)",
"default": {
"dark": {
"background-color": "#29B8DB"
},
"light": {
"background-color": "#0598BC"
}
},
"description": "The VT100 light cyan background color style"
},
"vt100.background-color-white": {
"type": [
"object",
"null"
],
"title": "VT100 Background Style (White color)",
"default": {
"dark": {
"background-color": "#E5E5E5"
},
"light": {
"background-color": "#A5A5A5"
}
},
"description": "The VT100 white background color style"
},
"vt100.attribute-bold": {
"type": [
"object",
"null"
],
"title": "VT100 Bold Style",
"default": {
"font-weight": "bold"
},
"description": "The VT100 bold style"
},
"vt100.attribute-dim": {
"type": [
"object",
"null"
],
"title": "VT100 Dimmed Style",
"default": {
"opacity": "0.7",
"font-weight": "lighter"
},
"description": "The VT100 dim style"
},
"vt100.attribute-underlined": {
"type": [
"object",
"null"
],
"title": "VT100 Underlined Style",
"default": {
"text-decoration": "underline solid"
},
"description": "The VT100 underlined style"
},
"vt100.attribute-blink": {
"type": [
"object",
"null"
],
"title": "VT100 Blinking Style",
"default": {
"editor": {
"border": "1px dotted #FFFFFF77"
},
"preview": {
"animation": "blink-animation 1s step-start 0s infinite"
}
},
"description": "The VT100 blinking style"
},
"vt100.attribute-inverted": {
"type": [
"object",
"null"
],
"title": "VT100 Inverted Style",
"default": {},
"description": "The VT100 inverted style"
},
"vt100.attribute-hidden": {
"type": [
"object",
"null"
],
"title": "VT100 Hidden Style",
"default": {
"opacity": "0.3"
},
"description": "The VT100 hidden style"
},
"vt100.escape-sequence": {
"type": [
"object",
"null"
],
"title": "VT100 Escape Sequence Style (Only Editor)",
"default": {},
"description": "The VT100 escape sequence style used in the editor"
},
"vt100.text": {
"type": [
"object",
"null"
],
"title": "VT100 Text Style (No Escape Sequences)",
"default": {},
"description": "The VT100 text style"
},
"vt100.custom-css": {
"type": [
"object",
"null"
],
"title": "VT100 Custom CSS (Only Preview)",
"default": {
"*": {
"padding": "0px",
"margin": "0px"
},
".bg": {
"display": "inline-block",
"padding": "0.1em 0px 0.1em 0px"
},
"@keyframes blink-animation": {
"50%": {
"opacity": "0.0"
}
}
},
"description": "Additional CSS used for the VT100 preview"
},
"vt100.font-family": {
"type": [
"string",
"null"
],
"title": "VT100 Font Family (Only Preview)",
"default": null,
"description": "The font used for the VT100 preview (default: text editor font family)"
},
"vt100.font-size": {
"type": [
"integer",
"null"
],
"title": "VT100 Font Size (Only Preview)",
"default": null,
"description": "The font size in pixels used for the VT100 preview (default: text editor font size)"
},
"vt100.font-weight": {
"type": [
"string",
"null"
],
"title": "VT100 Font Weight (Only Preview)",
"default": null,
"description": "The font weight used for the VT100 preview (default: text editor font weight)"
},
"vt100.synchronous-scrolling": {
"type": "boolean",
"title": "VT100 Synchronous Scrolling for Preview",
"default": true,
"description": "Enables synchronous scrolling of the preview when changing the view window of the editor"
},
"vt100.use-native-theme": {
"type": "boolean",
"title": "Synchronize VT100 Theme with Terminal Theme",
"default": true,
"description": "Uses the active color theme as for the VT100 extension"
},
"vt100.decorate-includes": {
"type": "string",
"title": "VT100 Highlighting Language Includes",
"default": "vt100",
"description": "Enables highlighting of VT100 escape sequences for the files matched by the regex, use null for all"
},
"vt100.decorate-excludes": {
"type": "string",
"title": "VT100 Highlighting Language Excludes",
"default": null,
"description": "Disables highlighting of VT100 escape sequences for the files matched by the regex, use null to disable none"
}
}
}
],
"commands": [
{
"command": "vt100.showPreview",
"title": "Show Preview",
"category": "VT100",
"icon": "$(open-preview)"
},
{
"command": "vt100.showPreviewToSide",
"title": "Show Preview on Side",
"category": "VT100",
"icon": "$(open-preview)"
},
{
"command": "vt100.toggleSynchronousScrolling",
"title": "Toggle Synchronous Scrolling",
"category": "VT100",
"icon": "$(link)"
},
{
"command": "vt100.exportText",
"title": "Export to Text",
"category": "VT100",
"icon": "$(file)"
},
{
"command": "vt100.exportHtml",
"title": "Export to Html",
"category": "VT100",
"icon": "$(file-code)"
},
{
"command": "vt100.cancelExport",
"title": "Cancel the currently running export",
"category": "VT100",
"icon": "$(file-code)"
}
],
"menus": {
"editor/title": [
{
"command": "vt100.showPreviewToSide",
"when": "resourceLangId == vt100",
"alt": "vt100.showPreview",
"group": "navigation"
},
{
"command": "vt100.toggleSynchronousScrolling",
"when": "resourceLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportText",
"when": "resourceLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportHtml",
"when": "resourceLangId == vt100",
"group": "vt100"
}
],
"explorer/context": [
{
"command": "vt100.showPreview",
"when": "resourceLangId == vt100",
"group": "navigation"
},
{
"command": "vt100.exportText",
"when": "resourceLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportHtml",
"when": "resourceLangId == vt100",
"group": "vt100"
}
],
"editor/title/context": [
{
"command": "vt100.showPreview",
"when": "resourceLangId == vt100",
"group": "navigation"
},
{
"command": "vt100.toggleSynchronousScrolling",
"when": "resourceLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportText",
"when": "resourceLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportHtml",
"when": "resourceLangId == vt100",
"group": "vt100"
}
],
"commandPalette": [
{
"command": "vt100.showPreview",
"when": "editorLangId == vt100",
"group": "navigation"
},
{
"command": "vt100.showPreviewToSide",
"when": "editorLangId == vt100",
"group": "navigation"
},
{
"command": "vt100.toggleSynchronousScrolling",
"when": "editorLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportText",
"when": "editorLangId == vt100",
"group": "vt100"
},
{
"command": "vt100.exportHtml",
"when": "editorLangId == vt100",
"group": "vt100"
}
]
},
"keybindings": [
{
"command": "vt100.showPreview",
"key": "shift+ctrl+v",
"mac": "shift+cmd+v",
"when": "editorLangId == vt100"
},
{
"command": "vt100.showPreviewToSide",
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == vt100"
}
],
"snippets": [
{
"language": "vt100",
"path": "./snippets/vt100.json"
}
],
"customEditors": [
{
"viewType": "vt100.preview",
"displayName": "VT100 Preview",
"selector": [
{
"filenamePattern": "*.vt100"
},
{
"filenamePattern": "*.log"
},
{
"filenamePattern": "*.txt"
}
],
"priority": "option"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^18.11.18",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"typescript": "^4.9.4"
}
}