-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
964 lines (964 loc) · 27.5 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
{
"name": "code-d",
"displayName": "D Programming Language (code-d)",
"description": "auto-complete, snippets, linter and formatter for dlang",
"version": "0.21.0",
"publisher": "webfreak",
"repository": {
"type": "git",
"url": "https://github.com/Pure-D/code-d.git"
},
"icon": "images/dlogo-square.png",
"license": "MIT",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Formatters",
"Other"
],
"activationEvents": [
"onLanguage:d",
"onLanguage:dml",
"workspaceContains:dub.json",
"workspaceContains:dub.sdl",
"onCommand:code-d.switchConfiguration",
"onCommand:code-d.switchArchType",
"onCommand:code-d.switchBuildType",
"onCommand:code-d.switchCompiler",
"onCommand:code-d.killServer",
"onCommand:code-d.restartServer",
"onCommand:code-d.reloadImports",
"onCommand:code-d.stop",
"onCommand:code-d.insertDscanner",
"onCommand:code-d.rdmdCurrent",
"onCommand:code-d.generateCoverageReport",
"onCommand:code-d.showGCCalls",
"onCommand:dub.openSettingsEditor",
"onCommand:dub.closeSettingsEditor",
"onCommand:code-d.createProject",
"onCommand:code-d.addImport",
"onCommand:code-d.searchDocs",
"onCommand:code-d.convertDubRecipe"
],
"main": "./out/src/extension",
"keywords": [
"d",
"dlang",
"d language",
"code-d",
"serve-d",
"d programming"
],
"bugs": {
"email": "[email protected]",
"url": "https://github.com/Pure-D/code-d/issues"
},
"contributes": {
"keybindings": [
{
"command": "code-d.searchDocs",
"key": "ctrl-q ctrl-q"
}
],
"languages": [
{
"id": "d",
"extensions": [
".d",
".di"
],
"aliases": [
"D",
"Dlang"
],
"firstLine": "^#!.*(dub|rdmd)",
"configuration": "./lang-configs/d.json"
},
{
"id": "dpp",
"extensions": [
".dpp",
".d++"
],
"aliases": [
"D++"
],
"configuration": "./lang-configs/d.json"
},
{
"id": "dscript",
"aliases": [
"arsd.DScript"
],
"extensions": [
".dscript",
".ds"
],
"configuration": "./lang-configs/general.json"
},
{
"id": "dml",
"aliases": [
"DlangUI Markup Language"
],
"extensions": [
".dml"
],
"configuration": "./lang-configs/general.json"
},
{
"id": "sdl",
"aliases": [
"SDL",
"Simple Declarative Language"
],
"extensions": [
".sdl"
],
"configuration": "./lang-configs/general.json"
},
{
"id": "diet",
"aliases": [
"Diet"
],
"extensions": [
".dt"
],
"configuration": "./lang-configs/diet.json"
}
],
"grammars": [
{
"language": "d",
"scopeName": "source.d",
"path": "./syntaxes/d.json"
},
{
"language": "dscript",
"scopeName": "source.dscript",
"path": "./syntaxes/d.json"
},
{
"language": "dml",
"scopeName": "source.dml",
"path": "./syntaxes/dml.json"
},
{
"language": "sdl",
"scopeName": "source.sdl",
"path": "./syntaxes/sdl.json"
},
{
"language": "diet",
"scopeName": "source.diet",
"path": "./syntaxes/diet.json"
}
],
"snippets": [
{
"language": "diet",
"path": "./snippets/diet.json"
}
],
"configuration": {
"title": "D",
"type": "object",
"properties": {
"d.servedPath": {
"type": "string",
"scope": "window",
"default": "serve-d",
"description": "Path of the serve-d executable. Path can be omitted if in $PATH or installed using code-d"
},
"d.stdlibPath": {
"scope": "resource",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"defaultSnippets": [
{
"label": "Choose based on platform",
"body": "auto"
},
{
"label": "Linux Default",
"body": [
"/usr/include/dmd/druntime/import",
"/usr/include/dmd/phobos"
]
},
{
"label": "ArchLinux Default",
"body": [
"/usr/include/dlang/dmd"
]
},
{
"label": "Windows Default",
"body": [
"C:\\D\\dmd2\\src\\druntime\\import",
"C:\\D\\dmd2\\src\\phobos"
]
},
{
"label": "OSX Default",
"body": [
"/Library/D/dmd/src/druntime/import",
"/Library/D/dmd/src/phobos"
]
}
],
"description": "Array of paths to phobos and D runtime for automatic inclusion for auto completion"
},
"d.dcdClientPath": {
"title": "DCD Client Path",
"type": "string",
"scope": "resource",
"default": "dcd-client",
"description": "Path of the dcd-client executable. Path can be omitted if in $PATH or installed using code-d"
},
"d.dcdServerPath": {
"title": "DCD Server Path",
"type": "string",
"scope": "resource",
"default": "dcd-server",
"description": "Path of the dcd-server executable. Path can be omitted if in $PATH or installed using code-d"
},
"d.dubPath": {
"type": "string",
"scope": "resource",
"default": "dub",
"description": "Path of the dub executable. Path can be omitted if in $PATH or installed using code-d"
},
"d.dmdPath": {
"type": "string",
"scope": "resource",
"default": "dmd",
"description": "Path of the dmd executable. Path can be omitted if in $PATH"
},
"d.enableLinting": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "If code-d should watch for file saves and report static analysis. Might interfere with other lint plugins or settings."
},
"d.enableSDLLinting": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "If code-d should report errors in your dub.sdl file."
},
"d.enableDubLinting": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "If code-d should build on save to check for compile errors."
},
"d.enableStaticLinting": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "If code-d should use DScanner to statically lint files."
},
"d.enableAutoComplete": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Start dcd-server at startup and complete using dcd-client."
},
"d.enableFormatting": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "If the default formatting keybind should call dfmt on D files."
},
"d.enableDMDImportTiming": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Add code lenses on import statements executing a dmd instance trying to compile that import statement to get the impact on compilation time by this import."
},
"d.enableCoverageDecoration": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Automatically highlight tested/untested converage lines with light red/green backgrounds per line for *.lst files."
},
"d.enableGCProfilerDecorations": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Automatically embed code lenses for all GC allocations based on profilegc.log."
},
"d.neverUseDub": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "If this is true then a custom workspace where you manually provide the import paths will always be used instead of dub. See d.projectImportPaths for setting import paths then. This is discouraged as it will remove most features like packages, building & compiler linting. If this is a standalone project with no external dependencies with a custom build system then this should be true."
},
"d.projectImportPaths": {
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [],
"description": "Setting for import paths in your workspace if not using dub. This will replace other paths. Its recommended to set this in your workspace settings instead of your user settings to keep it separate for each project."
},
"d.dubConfiguration": {
"type": "string",
"scope": "resource",
"description": "Sets the default configuration to use when starting up"
},
"d.dubArchType": {
"type": "string",
"scope": "resource",
"description": "Sets the default arch type to use when starting up"
},
"d.dubBuildType": {
"type": "string",
"scope": "resource",
"description": "Sets the default build type to use when starting up"
},
"d.dubCompiler": {
"type": "string",
"scope": "resource",
"description": "Sets the default compiler to use when starting up"
},
"d.overrideDfmtEditorconfig": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Uses dfmt config options & vscode editor config instead of .editorconfig because of inconsistencies with the vscode editor settings."
},
"d.aggressiveUpdate": {
"type": "boolean",
"scope": "application",
"default": true,
"description": "Update/install outdated & missing tools without confirmation"
},
"d.argumentSnippets": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "When autocompleting functions automatically insert the signature as snippet which can be navigated using tab."
},
"d.completeNoDupes": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Merge all symbols inside auto completion with the same name together."
},
"d.betaStream": {
"type": "boolean",
"scope": "application",
"deprecationMessage": "This option has been replaced with \"d.servedReleaseChannel\":\"nightly\"",
"default": false,
"description": "Always get latest serve-d commit when starting vscode and an update is available."
},
"d.servedReleaseChannel": {
"type": "string",
"scope": "application",
"default": "stable",
"enum": [
"stable",
"beta",
"nightly",
"frozen"
],
"enumDescriptions": [
"Always fetch the latest pre-compiled stable release binaries from the serve-d GitHub repository",
"Always fetch the latest pre-compiled potentially unstable pre-release binaries from the serve-d GitHub repository",
"Always fetch the latest pre-compiled nightly binaries from the serve-d GitHub repository. These are being generated every night (UTC) if something changed and tests passed.",
"Don't do any update checks for serve-d (not recommended if you don't update serve-d outside code-d)"
],
"description": "Release channel (stable, beta, nightly) to automatically download serve-d binaries from. serve-d is the D language server used with code-d and provides all language functionality except syntax highlighting, which is provided by code-d."
},
"d.smartServedUpdates": {
"type": "boolean",
"scope": "application",
"default": true,
"description": "Randomly omits serve-d update checks to save bandwidth, lower startup delay and minimize breakage on new releases with quick fixes. Also avoids to update when working on fridays."
},
"d.scanAllFolders": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Initialize an instance for every dub.sdl and dub.json file in all folders."
},
"d.disabledRootGlobs": {
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [],
"description": "Array of globs for disabling/preventing project instances by the d.scanAllFolders setting."
},
"d.extraRoots": {
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [],
"description": "Array of workspace-relative (or absolute) folders to force start a project instance in."
},
"d.alwaysShowDubStatusButtons": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Switch to always show dub Configuration/Arch Type/Build Type/Compiler buttons in dub projects and not just when a D file is open."
},
"d.alwaysShowCoverageStatus": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Switch to always show coverage status when available through lst files and not just when a D file is open."
},
"d.manyProjectsAction": {
"type": "string",
"scope": "resource",
"default": "ask",
"enum": [
"ask",
"skip",
"load"
],
"enumDescriptions": [
"Open a dialog box each time there are too many projects. (recommended for user-settings)",
"Never load any more projects than the d.manyProjectsThreshold setting specified. (this or \"load\" recommended only per-project)",
"Load all projects even if there are more than the d.manyProjectsThreshold setting specified. (this or \"skip\" recommended only per-project; never recommended for user-settings or large projects with many dub test projects)"
],
"description": "What to do when there are too many project roots to load from. The deepest folder paths are skipped for skip."
},
"d.manyProjectsThreshold": {
"type": "number",
"scope": "resource",
"default": 4,
"minimum": 0,
"description": "For how many projects to start triggering the manyProjectsAction to load or not load further projects."
},
"d.lintOnFileOpen": {
"type": "string",
"scope": "resource",
"default": "project",
"enum": [
"always",
"project",
"never"
],
"enumDescriptions": [
"D-Scanner runs on every file that is opened immediately, also for any internal cross-project or external dependencies.",
"D-Scanner runs on every file only in the current project that is opened immediately. It then only starts on other files when changing something.",
"D-Scanner never runs when opening a file and only starts running when changing something."
],
"description": "Enables dscanner linting when opening a new file."
},
"d.dietContextCompletion": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Enables parsing of //-context= in diet files to import local variables shared with the opened diet template."
},
"dfmt.alignSwitchStatements": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Not yet implemented (on dfmt side)"
},
"dfmt.braceStyle": {
"type": "string",
"scope": "resource",
"enum": [
"allman",
"otbs",
"stroustrup"
],
"enumDescriptions": [
"Curly braces always on separate lines",
"Curly braces on the same line as for example if or while statements. Else on same line as closing curly brace.",
"Curly braces on the same line as for example if or while statements, but a new line after the closing curly brace, even if there is an else"
],
"default": "allman",
"description": "See Wikipedia https://en.wikipedia.org/wiki/Brace_style"
},
"dfmt.outdentAttributes": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Not yet implemented (on dfmt side)"
},
"dfmt.spaceAfterCast": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Insert space after the closing paren of a cast expression."
},
"dfmt.splitOperatorAtLineEnd": {
"type": "boolean",
"scope": "resource",
"default": false,
"description": "Place operators on the end of the previous line when splitting lines."
},
"dfmt.selectiveImportSpace": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Insert space after the module name and before the : for selective imports."
},
"dfmt.compactLabeledStatements": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Place labels on the same line as the labeled switch, for, foreach, or while statement."
},
"dfmt.templateConstraintStyle": {
"type": "string",
"scope": "resource",
"enum": [
"conditional_newline_indent",
"conditional_newline",
"always_newline",
"always_newline_indent"
],
"enumDescriptions": [
"newline only if constraint will wrap, indent constraint",
"newline only if constraint will wrap",
"always add newline",
"always add newline and indent the constraint"
],
"default": "conditional_newline_indent",
"description": "Control the formatting of template constraints. See https://github.com/dlang-community/dfmt/issues/215"
},
"dscanner.ignoredKeys": {
"type": "array",
"scope": "resource",
"items": {
"type": "string",
"enum": [
"dscanner.bugs.backwards_slices",
"dscanner.bugs.if_else_same",
"dscanner.bugs.logic_operator_operands",
"dscanner.bugs.self_assignment",
"dscanner.confusing.argument_parameter_mismatch",
"dscanner.confusing.brexp",
"dscanner.confusing.builtin_property_names",
"dscanner.confusing.constructor_args",
"dscanner.confusing.function_attributes",
"dscanner.confusing.lambda_returns_lambda",
"dscanner.confusing.logical_precedence",
"dscanner.confusing.struct_constructor_default_args",
"dscanner.deprecated.delete_keyword",
"dscanner.deprecated.floating_point_operators",
"dscanner.if_statement",
"dscanner.performance.enum_array_literal",
"dscanner.style.allman",
"dscanner.style.alias_syntax",
"dscanner.style.doc_missing_params",
"dscanner.style.doc_missing_returns",
"dscanner.style.doc_non_existing_params",
"dscanner.style.explicitly_annotated_unittest",
"dscanner.style.has_public_example",
"dscanner.style.imports_sortedness",
"dscanner.style.long_line",
"dscanner.style.number_literals",
"dscanner.style.phobos_naming_convention",
"dscanner.style.undocumented_declaration",
"dscanner.suspicious.auto_ref_assignment",
"dscanner.suspicious.catch_em_all",
"dscanner.suspicious.comma_expression",
"dscanner.suspicious.incomplete_operator_overloading",
"dscanner.suspicious.incorrect_infinite_range",
"dscanner.suspicious.label_var_same_name",
"dscanner.suspicious.length_subtraction",
"dscanner.suspicious.local_imports",
"dscanner.suspicious.missing_return",
"dscanner.suspicious.object_const",
"dscanner.suspicious.redundant_attributes",
"dscanner.suspicious.redundant_parens",
"dscanner.suspicious.static_if_else",
"dscanner.suspicious.unmodified",
"dscanner.suspicious.unused_label",
"dscanner.suspicious.unused_parameter",
"dscanner.suspicious.unused_variable",
"dscanner.suspicious.useless_assert",
"dscanner.unnecessary.duplicate_attribute",
"dscanner.useless.final",
"dscanner.useless-initializer",
"dscanner.vcall_ctor",
"dscanner.syntax"
]
},
"description": "DScanner warnings to ignore in this project."
}
}
},
"menus": {
"explorer/context": [
{
"when": "resourceLangId == d",
"command": "code-d.rdmdCurrent",
"group": "1_modification"
}
],
"editor/title": [
{
"when": "resourceFilename =~ /dub\\.json|dub\\.sdl/",
"command": "code-d.convertDubRecipe",
"group": "navigation"
},
{
"when": "resourceFilename == 'dub.json'",
"command": "dub.openSettingsEditor",
"group": "navigation"
},
{
"when": "resourceScheme == dubsettings",
"command": "dub.closeSettingsEditor",
"group": "navigation"
}
],
"view/title": [
{
"command": "code-d.reloadImports",
"when": "view == dubDependencies",
"group": "navigation"
},
{
"command": "code-d.addDependency",
"when": "view == dubDependencies",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "code-d.removeDependency",
"when": "view == dubDependencies && viewItem == root"
},
{
"command": "code-d.updateDependency",
"when": "view == dubDependencies && viewItem == root"
}
],
"commandPalette": [
{
"command": "code-d.addDependency",
"when": "false"
},
{
"command": "code-d.removeDependency",
"when": "false"
},
{
"command": "code-d.updateDependency",
"when": "false"
},
{
"command": "code-d.viewDubPackage",
"when": "false"
},
{
"command": "code-d.convertDubRecipe",
"when": "resourceFilename =~ /dub\\.json|dub\\.sdl/"
}
]
},
"views": {
"explorer": [
{
"id": "dubDependencies",
"name": "Dub Dependencies",
"when": "d.hasDubProject"
}
]
},
"commands": [
{
"command": "code-d.addDependency",
"title": "Add Dependency",
"category": "code-d",
"icon": {
"light": "images/adddep-light.svg",
"dark": "images/adddep-dark.svg"
}
},
{
"command": "code-d.removeDependency",
"title": "Remove",
"category": "code-d"
},
{
"command": "code-d.updateDependency",
"title": "Update to latest version",
"category": "code-d"
},
{
"command": "code-d.viewDubPackage",
"title": "View Dub Package",
"category": "code-d"
},
{
"command": "code-d.switchConfiguration",
"title": "Switch Configuration",
"category": "code-d"
},
{
"command": "code-d.switchArchType",
"title": "Switch Arch Type",
"category": "code-d"
},
{
"command": "code-d.switchBuildType",
"title": "Switch Build Type",
"category": "code-d"
},
{
"command": "code-d.switchCompiler",
"title": "Switch Compiler",
"category": "code-d"
},
{
"command": "code-d.killServer",
"title": "Kill DCD Server",
"category": "code-d"
},
{
"command": "code-d.restartServer",
"title": "Restart DCD Server",
"category": "code-d"
},
{
"command": "code-d.reloadImports",
"title": "Reload import paths",
"category": "code-d",
"icon": {
"light": "images/refresh-light.svg",
"dark": "images/refresh-dark.svg"
}
},
{
"command": "code-d.insertDscanner",
"title": "Insert default dscanner.ini content",
"category": "code-d"
},
{
"command": "code-d.rdmdCurrent",
"title": "Run document using rdmd",
"category": "code-d"
},
{
"command": "code-d.generateCoverageReport",
"title": "Generate coverage report",
"category": "code-d"
},
{
"command": "code-d.showGCCalls",
"title": "Show GC calls from profilegc.log",
"category": "code-d"
},
{
"command": "dub.openSettingsEditor",
"title": "Open project settings",
"category": "code-d",
"icon": {
"light": "./images/edit-dub-inverse.svg",
"dark": "./images/edit-dub.svg"
}
},
{
"command": "dub.closeSettingsEditor",
"title": "Close project settings",
"category": "code-d",
"icon": {
"light": "./images/edit-source-inverse.svg",
"dark": "./images/edit-source.svg"
}
},
{
"command": "code-d.createProject",
"title": "Create new Project",
"category": "code-d"
},
{
"command": "code-d.sortImports",
"title": "Sort Active Import Block",
"category": "code-d"
},
{
"command": "code-d.implementMethods",
"title": "Implement selected interface/base class",
"category": "code-d"
},
{
"command": "code-d.ignoreDscannerKey",
"title": "Ignore DScanner warnings",
"category": "code-d"
},
{
"command": "code-d.searchDocs",
"title": "Search dpldocs for Phobos & Dependency documentation",
"category": "code-d"
},
{
"command": "code-d.convertDubRecipe",
"title": "Convert between dub.json/dub.sdl",
"category": "code-d",
"icon": {
"light": "./images/dub-convert-inverse.svg",
"dark": "./images/dub-convert.svg"
}
}
],
"jsonValidation": [
{
"fileMatch": "dub.json",
"url": "./json-validation/dub.schema.json"
}
],
"taskDefinitions": [
{
"type": "dub",
"required": [],
"properties": {
"run": {
"type": "boolean",
"default": false,
"description": "Whether to run the executable when running the task or not."
},
"test": {
"type": "boolean",
"default": false,
"description": "Build and run a test build."
},
"root": {
"type": "string",
"default": "",
"description": "Path to an alternative root to not compile the workspace relative to cwd."
},
"cwd": {
"type": "string",
"default": "",
"description": "Working directory where dub should be run relative to the workspace."
},
"overrides": {
"type": "array",
"default": [],
"items": {
"type": "string",
"pattern": "^[-a-zA-Z0-9_.]+/.+$"
},
"description": "--override-config values in format <dependency>/<config> to override the configuration for a certain dependency. For example \"vibe-d:tls/openssl-1.1\""
},
"force": {
"type": "boolean",
"default": false,
"description": "Set to true to add the --force flag to dub."
},
"compiler": {
"type": "string",
"description": "Common name or path to compiler executable"
},
"archType": {
"type": "string",
"description": "Arch type to compile with"
},
"buildType": {
"type": "string",
"description": "Build type to compile with"
},
"configuration": {
"type": "string",
"description": "Configuration to run"
},
"args": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Extra arguments to pass to dub"
},
"_generated": {
"type": "boolean",
"default": false,
"description": "Workaround for vscode not detecting bugs if task definition is the same as dub generated ones"
}
}
}
],
"problemMatchers": [
{
"name": "dmd",
"owner": "d",
"fileLocation": [
"relative",
"${cwd}"
],
"pattern": {
"regexp": "^(.*?)(?:-mixin-\\d+)?\\((\\d+)(?:,\\s*(\\d+))?\\):\\s([Ww]arning|[Ee]rror|[Dd]eprecated|[Dd]eprecation|\\s{4,}):?\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"vscode:uninstall": "node ./out/src/uninstall.js",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "mocha out/ci"
},
"dependencies": {
"adm-zip": "^0.4.13",
"async": "^3.1.0",
"code-d-api": "^0.1.0",
"expand-tilde": "^2.0.2",
"jsdom": "^15.2.0",
"jsonc-parser": "^2.1.1",
"line-by-line": "^0.1.6",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"request": "^2.88.0",
"request-progress": "^3.0.0",
"rimraf": "^3.0.0",
"rmdir": "^1.2.0",
"vscode-languageclient": "^6.0.0-next.1",
"which": "^2.0.1",
"xmldom": "^0.1.27"
},
"devDependencies": {
"@types/expand-tilde": "^2.0.0",
"@types/jsdom": "^12.2.4",
"@types/mocha": "^5.2.7",
"@types/node": "^12.11.1",
"@types/parse5": "^5.0.2",
"@types/which": "^1.3.2",
"mocha": "^6.2.2",
"typescript": "^3.6.4",
"vscode": "^1.1.36",
"vscode-textmate": "^4.3.0"
},
"__metadata": {
"id": "bf217d41-312b-4d39-9536-82fd0d9c6f94",
"publisherDisplayName": "WebFreak",
"publisherId": "e054f80a-50f9-4d80-85c8-6ff87eef6c35"
}
}