-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
1011 lines (1011 loc) · 39.5 KB
/
package.json
File metadata and controls
1011 lines (1011 loc) · 39.5 KB
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": "sdfv",
"displayName": "DaCe IOE",
"description": "An integrated optimization environment powered by DaCe",
"version": "1.9.0",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Visualization",
"Programming Languages",
"Other"
],
"activationEvents": [
"onDebug",
"onDebugResolve:dace-debug",
"onLanguage:python"
],
"main": "./dist/extension.js",
"publisher": "phschaad",
"author": "SPCL at ETH Zurich",
"bugs": {
"url": "https://github.com/spcl/dace-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/spcl/dace-vscode"
},
"icon": "icon.png",
"extensionDependencies": [
"benjamin-simmonds.pythoncpp-debug",
"ms-python.python"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"restrictedConfigurations": [
"dace.backend.interpreterPath"
],
"description": "Certain functionality, such as executing or transforming SDFGs, might be unavailable in untrusted workspaces to keep you safe."
}
},
"contributes": {
"debuggers": [
{
"type": "sdfg-python",
"label": "SDFG with Python",
"configurationAttributes": {
"launch": {
"properties": {
"program": {
"type": "string",
"description": "The specific SDFG to run."
},
"profile": {
"type": "boolean",
"description": "Whether or not to profile with this run."
}
}
}
},
"initialConfigurations": [
{
"type": "sdfg-python",
"request": "launch",
"name": "SDFG: Run current file"
}
],
"configurationSnippets": [
{
"label": "SDFG: Run current file",
"description": "A new configuration for running the currently open SDFG.",
"body": {
"type": "sdfg-python",
"request": "launch",
"name": "SDFG: Run current file"
}
},
{
"label": "SDFG: Profile current file",
"description": "A new configuration for measuring the runtime of the currently open SDFG.",
"body": {
"type": "sdfg-python",
"request": "launch",
"profile": true,
"name": "SDFG: Profile current file"
}
}
]
},
{
"type": "dace-debug",
"label": "DaCe debugger",
"languages": [
"python"
],
"configurationAttributes": {
"launch": {
"properties": {
"pythonLaunchName": {
"type": "string",
"description": "The name of your python launch config if `pythonConfig: custom`",
"default": "Python: Current File"
},
"cppAttachName": {
"type": "string",
"description": "The name of your C++ attach config if `cppConfig: custom`",
"default": "(Windows) Attach"
},
"pythonConfig": {
"enum": [
"custom",
"default"
],
"description": "Pick custom to manually define the python Attach config, otherwise the default python configuration will be used",
"default": "default"
},
"cppConfig": {
"enum": [
"custom",
"default"
],
"description": "Pick custom to manually define the C++ Attach config, otherwise based on your operating system either (Windows) Attach or (gdb) Attach will be used",
"default": "default"
},
"buildType": {
"enum": [
"Debug",
"RelWithDebInfo"
],
"description": "Setting the build type to RelWithDebInfo will optimize the compilation, however, there is no guaranty that every breakpoint will hit.",
"default": "Debug"
},
"daCeDev": {
"type": "boolean",
"description": "Adds some DaCe developer features. Example: creates CODEGEN map",
"default": "false"
}
}
}
},
"configurationSnippets": [
{
"label": "DaCe: Run current Program",
"description": "A new configuration for debugging a DaCe program with mixed debugging",
"body": {
"name": "DaCe: debug",
"type": "dace-debug",
"request": "launch",
"pythonConfig": "default",
"cppConfig": "default"
}
}
]
}
],
"configuration": [
{
"id": "sdfg-viewer-view",
"title": "SDFG Viewer: View",
"order": 1,
"properties": {
"dace.sdfv.layout": {
"type": "string",
"default": "vertical",
"description": "The layout of the SDFG editor and side panel",
"enum": [
"horizontal",
"vertical"
],
"enumDescriptions": [
"Split the layout horizontally",
"Split the layout vertically"
]
},
"dace.sdfv.colorTheme": {
"type": "string",
"default": "DefaultBlue",
"description": "The color theme of the SDFG visualization",
"enum": [
"DefaultBlue",
"DefaultGreen"
],
"enumDescriptions": [
"Default blue color theme",
"Default green color theme"
]
},
"dace.sdfv.curvedEdges": {
"type": "boolean",
"default": true,
"description": "Draw edges with curves (may impact rendering performance)"
},
"dace.sdfv.initialGraphState": {
"type": "string",
"default": "asSaved",
"description": "Start off newly loaded programs with a specific collapse state",
"enum": [
"collapsed",
"expanded",
"asSaved"
],
"enumDescriptions": [
"Load graphs in a fully collapsed state",
"Load graphs in a fully expanded state",
"Load graphs as they were saved"
]
},
"dace.sdfv.minimap": {
"type": "boolean",
"default": true,
"description": "Show a minimap in the top right corner of the SDFG editor"
},
"dace.sdfv.alwaysOnISEdgeLabels": {
"type": "boolean",
"default": true,
"description": "Always show interstate edge labels"
},
"dace.sdfv.showAccessNodes": {
"type": "boolean",
"default": true,
"description": "Show access nodes in the SDFG editor"
},
"dace.sdfv.showStateNames": {
"type": "boolean",
"default": true,
"description": "Show the names of SDFG states in the SDFG editor"
},
"dace.sdfv.showMapSchedules": {
"type": "boolean",
"default": true,
"description": "Show a label for map schedules in the SDFG editor"
},
"dace.sdfv.showDataDescriptorSizes": {
"type": "boolean",
"default": false,
"description": "Show the size of data descriptors on access nodes instead of their size"
},
"dace.sdfv.useVerticalStateMachineLayout": {
"type": "boolean",
"default": false,
"description": "Use a vertical layout for state machines in the SDFG editor"
},
"dace.sdfv.inclusiveRanges": {
"type": "boolean",
"default": false,
"description": "Use inclusive range labels in the SDFG editor"
},
"dace.sdfv.ranksep": {
"type": "integer",
"default": 30,
"minimum": 10,
"maximum": 100,
"description": "Vertical node spacing"
},
"dace.sdfv.nodesep": {
"type": "integer",
"default": 50,
"minimum": 0,
"maximum": 100,
"description": "Horizontal node spacing"
}
}
},
{
"id": "sdfg-viewer-navigation",
"title": "SDFG Viewer: Navigation",
"order": 2,
"properties": {
"dace.sdfv.useVerticalScrollNavigation": {
"type": "boolean",
"default": false,
"description": "Use a vertical scroll navigation in the SDFG editor"
},
"dace.sdfv.bindToViewport": {
"type": "boolean",
"default": true,
"description": "Restrict panning to ensure the graph is always visible"
}
}
},
{
"id": "sdfg-viewer-performance",
"title": "SDFG Viewer: Performance",
"order": 3,
"properties": {
"dace.sdfv.adaptiveContentHiding": {
"type": "boolean",
"default": true,
"description": "Adaptively hide content in the SDFG editor based on the zoom level"
},
"dace.sdfv.taskletLOD": {
"type": "number",
"default": 0.35,
"minimum": 0,
"maximum": 5,
"description": "Zoom-level threshold for drawing tasklet contents"
},
"dace.sdfv.scopeLOD": {
"type": "number",
"default": 0.75,
"minimum": 0,
"maximum": 5,
"description": "Zoom threshold for drawing simple versions of scopes"
},
"dace.sdfv.edgeLOD": {
"type": "number",
"default": 5,
"minimum": 0,
"maximum": 10,
"description": "Zoom threshold for drawing memlets and control flow edges"
},
"dace.sdfv.nodeLOD": {
"type": "number",
"default": 5,
"minimum": 0,
"maximum": 10,
"description": "Zoom threshold for drawing node shapes and labels"
},
"dace.sdfv.textLOD": {
"type": "number",
"default": 1.5,
"minimum": 0,
"maximum": 10,
"description": "Zoom threshold for drawing node text"
},
"dace.sdfv.nestedLOD": {
"type": "number",
"default": 100,
"minimum": 0,
"maximum": 1000,
"description": "Zoom threshold for drawing contents of control flow blocks (including states) and nested SDFGs"
},
"dace.sdfv.summarizeLargeNumbersOfEdges": {
"type": "boolean",
"default": false,
"description": "Hide / summarize edges for nodes where a large number of edges are connected"
}
}
},
{
"id": "sdfg-viewer-customize-colors",
"title": "SDFG Viewer: Customize Color Theme",
"order": 4,
"properties": {
"dace.sdfv.defaultTextColor": {
"description": "Default text color",
"type": "string",
"default": "#000000"
},
"dace.sdfv.nodeBackgroundColor": {
"description": "Default node background color",
"type": "string",
"default": "#ffffff"
},
"dace.sdfv.nodeBorderColor": {
"description": "Default node border color",
"type": "string",
"default": "#333333"
},
"dace.sdfv.scopedConnectorColor": {
"description": "Scoped connector color",
"type": "string",
"default": "#c1dfe6"
},
"dace.sdfv.unscopedConnectorColor": {
"description": "Unscoped connector color",
"type": "string",
"default": "#f0fdff"
},
"dace.sdfv.referenceBackgroundColor": {
"description": "Reference background",
"type": "string",
"default": "#ffdede"
},
"dace.sdfv.stateBackgroundColor": {
"description": "State background",
"type": "string",
"default": "#deebf7"
},
"dace.sdfv.stateBorderColor": {
"description": "State border",
"type": "string",
"default": "#deebf7"
},
"dace.sdfv.breakBlockColor": {
"description": "Break block",
"type": "string",
"default": "#ffc79a"
},
"dace.sdfv.continueBlockColor": {
"description": "Continue block",
"type": "string",
"default": "#94ffa2"
},
"dace.sdfv.returnBlockColor": {
"description": "Return block",
"type": "string",
"default": "#ff7d7d"
},
"dace.sdfv.conditionalColor": {
"description": "Conditional block",
"type": "string",
"default": "#bec080"
},
"dace.sdfv.controlFlowRegionColor": {
"description": "Control flow region",
"type": "string",
"default": "#ffffff"
},
"dace.sdfv.loopColor": {
"description": "Loop region",
"type": "string",
"default": "#fafafa"
},
"dace.sdfv.interstateEdgeColor": {
"description": "Interstate edge color",
"type": "string",
"default": "#86add9"
},
"dace.sdfv.errorNodeBackgroundColor": {
"description": "Background color for nodes with errors",
"type": "string",
"default": "#ff1010"
},
"dace.sdfv.errorNodeForegroundColor": {
"description": "Text color for nodes with errors",
"type": "string",
"default": "#ffffff"
},
"dace.sdfv.diffAddedColor": {
"label": "Added elements in a diff",
"type": "string",
"default": "#5dba4c"
},
"dace.sdfv.diffChangedColor": {
"label": "Changed elements in a diff",
"type": "string",
"default": "#ffcc54"
},
"dace.sdfv.diffRemovedColor": {
"label": "Removed elements in a diff",
"type": "string",
"default": "#ff6d45"
},
"dace.sdfv.taskletInputColor": {
"label": "Tasklet input tokens",
"type": "string",
"default": "#000000"
},
"dace.sdfv.taskletOutputColor": {
"label": "Tasklet output tokens",
"type": "string",
"default": "#000000"
},
"dace.sdfv.taskletSymbolColor": {
"label": "Tasklet symbol tokens",
"type": "string",
"default": "#ff1010"
},
"dace.sdfv.taskletNumberColor": {
"label": "Tasklet number tokens",
"type": "string",
"default": "#000000"
},
"dace.sdfv.taskletHighlightedColor": {
"label": "Tasklet highlighted tokens",
"type": "string",
"default": "#008000"
},
"dace.sdfv.selectedColor": {
"label": "Selected elements",
"type": "string",
"default": "#cc3030"
},
"dace.sdfv.highlightedColor": {
"label": "Highlighted elements",
"type": "string",
"default": "#ffa500"
},
"dace.sdfv.hoveredColor": {
"label": "Hovered elements",
"type": "string",
"default": "#008000"
}
}
},
{
"id": "general",
"title": "General",
"order": 0,
"properties": {
"dace.general.autoRefreshOnDocumentChange": {
"type": "boolean",
"default": false,
"description": "Automatically update SDFG editor contents if file contents have changed"
},
"dace.general.autoOpenSdfgs": {
"type": "string",
"default": "Ask",
"enum": [
"Always",
"Ask",
"Never"
],
"enumDescriptions": [
"Automatically open any newly generated SDFG",
"Ask when a new SDFG is generated, whether or not it should be opened",
"Never automatically open newly generated SDFGs, and don't ask"
]
},
"dace.general.autoOpenInstrumentationReports": {
"type": "string",
"default": "Ask",
"enum": [
"Always",
"Ask",
"Never"
],
"enumDescriptions": [
"Automatically load all newly generated instrumentation reports",
"Ask when a new instrumentation report is generated, whether or not it should be loaded",
"Never automatically load newly generated instrumentation reports, and don't ask"
]
},
"dace.backend.interpreterPath": {
"type": "string",
"default": "",
"description": "Python interpreter path to use for the DaCe backend. Leave blank to use your default Python interpreter, or the one provided by your selected environment."
},
"dace.backend.port": {
"type": "number",
"default": -1,
"description": "Set a fixed port to use for the DaCe backend. Setting this to -1 randomly picks an unused port when launching the backend."
},
"dace.optimization.customTransformationsPaths": {
"type": "array",
"default": [],
"description": "Paths to search for custom transformations"
}
}
}
],
"breakpoints": [
{
"language": "python"
},
{
"language": "cpp"
}
],
"languages": [
{
"id": "sdfg",
"extensions": [
".sdfg",
".sdfgz"
],
"aliases": [
"SDFG",
"sdfg"
],
"icon": {
"dark": "media/resources/icons/sdfg.svg",
"light": "media/resources/icons/sdfg.svg"
},
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "sdfg",
"scopeName": "source.sdfg",
"path": "./syntaxes/SDFG.tmLanguage.json"
}
],
"customEditors": [
{
"viewType": "sdfgCustom.sdfv",
"displayName": "SDFG Viewer",
"selector": [
{
"filenamePattern": "*.sdfg"
}
],
"priority": "default"
},
{
"viewType": "compressedSdfgCustom.sdfv",
"displayName": "SDFG Viewer (compressed)",
"selector": [
{
"filenamePattern": "*.sdfgz"
}
],
"priority": "default"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "transformation-explorer",
"title": "SDFG Optimization",
"icon": "media/resources/icons/dace-hollow.svg"
}
]
},
"views": {
"transformation-explorer": [
{
"id": "transformationList",
"type": "webview",
"name": "Transformations",
"icon": "media/resources/icons/dace-hollow.svg",
"contextualTitle": "SDFG Transformation Explorer"
},
{
"id": "transformationHistory",
"type": "webview",
"name": "Transformation History",
"icon": "media/resources/icons/dace-hollow.svg",
"contextualTitle": "SDFG Transformation History"
},
{
"id": "sdfgAnalysis",
"type": "webview",
"name": "SDFG Analysis",
"icon": "media/resources/icons/dace-hollow.svg",
"contextualTitle": "SDFG Analysis"
},
{
"id": "sdfgOutline",
"type": "webview",
"name": "SDFG Outline",
"icon": "media/resources/icons/dace-hollow.svg",
"contextualTitle": "SDFG Outline"
},
{
"id": "daceInterface",
"type": "webview",
"name": "DaCe Backend",
"icon": "media/resources/icons/dace-hollow.svg",
"contextualTitle": "DaCe Python Backend"
}
],
"debug": [
{
"id": "sdfgBreakpoints",
"type": "webview",
"name": "SDFG Breakpoints",
"contextualTitle": "SDFG Breakpoints"
}
]
},
"viewsWelcome": [
{
"view": "transformationList",
"contents": "No active SDFG"
},
{
"view": "transformationHistory",
"contents": "No active SDFG"
},
{
"view": "sdfgAnalysis",
"contents": "No active SDFG"
},
{
"view": "sdfgOutline",
"contents": "No active SDFG"
}
],
"commands": [
{
"command": "sdfg.debug.run",
"title": "Run the current SDFG",
"category": "SDFV",
"enablement": "!inDebugMode",
"icon": "$(play)"
},
{
"command": "sdfg.debug.profile",
"title": "Profile the current SDFG",
"category": "SDFV",
"enablement": "!inDebugMode",
"icon": "$(watch)"
},
{
"command": "sdfg.goto.sdfg",
"title": "Open the SDFG file",
"category": "SDFV",
"icon": "$(preview)"
},
{
"command": "sdfg.goto.cpp",
"title": "Open the C++ file",
"category": "SDFV",
"icon": "$(code)"
},
{
"command": "sdfg.goto.py",
"title": "Open the source file",
"category": "SDFV",
"icon": "$(code)"
},
{
"command": "sdfg.sourcefiles",
"title": "All source files",
"category": "SDFV",
"icon": "$(code)"
},
{
"command": "sdfg.compile",
"title": "Compile the SDFG file",
"category": "SDFV",
"icon": {
"dark": "media/resources/icons/dark/build.svg",
"light": "media/resources/icons/light/build.svg"
}
},
{
"command": "transformationList.addCustomFromDir",
"title": "Load Custom Transformations From Folder",
"icon": "$(file-directory-create)"
},
{
"command": "transformationList.addCustom",
"title": "Load Custom Transformations",
"icon": "$(file-add)"
},
{
"command": "transformationList.sync",
"title": "Refresh Transformations",
"icon": {
"dark": "media/resources/icons/dark/refresh.svg",
"light": "media/resources/icons/light/refresh.svg"
}
},
{
"command": "transformationHistory.sync",
"title": "Refresh Transformation History",
"icon": {
"dark": "media/resources/icons/dark/refresh.svg",
"light": "media/resources/icons/light/refresh.svg"
}
},
{
"command": "sdfgAnalysis.sync",
"title": "Refresh Analysis",
"icon": {
"dark": "media/resources/icons/dark/refresh.svg",
"light": "media/resources/icons/light/refresh.svg"
}
},
{
"command": "sdfgBreakpoints.sync",
"title": "Refresh SDFG Breakpoints",
"icon": {
"dark": "media/resources/icons/dark/refresh.svg",
"light": "media/resources/icons/light/refresh.svg"
}
},
{
"command": "sdfgOutline.sync",
"title": "Refresh Outline",
"icon": {
"dark": "media/resources/icons/dark/refresh.svg",
"light": "media/resources/icons/light/refresh.svg"
}
},
{
"command": "sdfg.sync",
"title": "Refresh SDFG"
},
{
"command": "sdfg.previewTransformation",
"title": "Preview"
},
{
"command": "sdfg.applyTransformations",
"title": "Apply"
},
{
"command": "sdfg.previewHistoryPoint",
"title": "Preview"
},
{
"command": "sdfg.applyHistoryPoint",
"title": "Revert To"
},
{
"command": "dace.config",
"title": "DaCe: Open .dace.config"
},
{
"command": "dace.debug.clearState",
"title": "DaCe: Clear debug state"
}
],
"menus": {
"commandPalette": [
{
"command": "sdfg.debug.run",
"when": "resourceLangId == sdfg"
},
{
"command": "sdfg.debug.profile",
"when": "resourceLangId == sdfg"
},
{
"command": "sdfg.sync",
"when": "resourceLangId == sdfg"
},
{
"command": "sdfg.goto.sdfg",
"when": "resourceLangId == python"
},
{
"command": "sdfg.goto.cpp",
"when": "resourceLangId == python"
},
{
"command": "sdfg.previewTransformation",
"when": "false"
},
{
"command": "sdfg.applyTransformations",
"when": "false"
},
{
"command": "sdfg.previewHistoryPoint",
"when": "false"
},
{
"command": "sdfg.previewHistoryPoint",
"when": "false"
}
],
"editor/title": [
{
"command": "sdfg.debug.run",
"when": "resourceLangId == sdfg",
"group": "1_run@10"
},
{
"command": "sdfg.debug.profile",
"when": "resourceLangId == sdfg",
"group": "1_run@20"
},
{
"command": "sdfg.sync",
"when": "resourceLangId == sdfg",
"group": "1_run@30"
},
{
"command": "sdfg.goto.sdfg",
"when": "sdfg.showMenu.goto.sdfg == true",
"group": "1_run@10"
},
{
"command": "sdfg.goto.cpp",
"when": "sdfg.showMenu.goto.cpp == true",
"group": "1_run@20"
},
{
"command": "sdfg.goto.py",
"when": "sdfg.showMenu.goto.py == true",
"group": "1_run@30"
},
{
"command": "sdfg.sourcefiles",
"when": "sdfg.showMenu.goto.py == true",
"group": "1_run@40"
},
{
"command": "sdfg.compile",
"group": "navigation@0",
"when": "resourceLangId == sdfg && isWorkspaceTrusted"
}
],
"editor/context": [
{
"command": "sdfg.goto.sdfg",
"when": "sdfg.showMenu.goto.sdfg == true",
"group": "1_run@10"
},
{
"command": "sdfg.goto.cpp",
"when": "sdfg.showMenu.goto.cpp == true",
"group": "1_run@20"
},
{
"command": "sdfg.goto.py",
"when": "sdfg.showMenu.goto.py == true",
"group": "1_run@30"
},
{
"command": "sdfg.sourcefiles",
"when": "sdfg.showMenu.goto.py == true",
"group": "1_run@40"
}
],
"view/title": [
{
"command": "transformationList.addCustom",
"when": "view == transformationList && isWorkspaceTrusted",
"group": "navigation"
},
{
"command": "transformationList.addCustomFromDir",
"when": "view == transformationList && isWorkspaceTrusted",
"group": "navigation"
},
{
"command": "transformationList.sync",
"when": "view == transformationList",
"group": "navigation"
},
{
"command": "transformationHistory.sync",
"when": "view == transformationHistory",
"group": "navigation"
},
{
"command": "sdfgAnalysis.sync",
"when": "view == sdfgAnalysis",
"group": "navigation"
},
{
"command": "sdfgBreakpoints.sync",
"when": "view == sdfgBreakpoints",
"group": "navigation"
},
{
"command": "sdfgOutline.sync",
"when": "view == sdfgOutline",
"group": "navigation"
}
]
}
},
"scripts": {
"clean": "rimraf dist",
"vscode:prepublish": "npm run clean && npm run webpack-prod",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"webpack": "npm run clean && webpack --mode development",
"webpack-prod": "npm run clean && webpack --mode production",
"webpack-dev": "npm run clean && webpack --mode development --watch",
"postinstall": "patch-package --patch-dir ./packages/sdfv/patches"
},
"devDependencies": {
"@types/dagre": "^0.7.53",
"@types/glob": "^8.0.0",
"@types/jquery": "^3.5.32",
"@types/jquery-editable-select": "^2.2.4",
"@types/mocha": "^10.0.10",
"@types/node": "^24.2.0",
"@types/semver": "^7.7.0",
"@types/uuid": "^10.0.0",
"@types/vscode": "^1.102.0",
"@types/vscode-webview": "^1.57.5",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"@vscode/test-electron": "^2.5.2",
"autoprefixer": "^10.4.21",
"babel-loader": "^10.0.0",
"copy-webpack-plugin": "^13.0.0",
"css-loader": "^7.1.2",
"eslint": "^9.32.0",
"file-loader": "^6.2.0",
"glob": "^8.0.3",
"mocha": "^11.7.1",
"postcss-loader": "^8.1.1",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"sass": "1.77.6",
"sass-loader": "^16.0.5",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.2",
"typedoc": "^0.28.9",
"typescript": "^5.8.0",
"typescript-eslint": "^8.38.0",
"webpack": "^5.101.0",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"@popperjs/core": "^2.11.6",
"@spcl/sdfv": "^1.5.0",
"@vscode/debugadapter": "^1.58.0",
"@vscode/debugprotocol": "^1.58.0",
"@vscode/python-extension": "^1.0.6",
"bootstrap": "^5.3.7",
"browserify-zlib": "^0.2.0",
"dagre": "^0.8.5",
"jquery": "^3.7.1",
"jquery-editable-select": "^2.2.5",