-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
1078 lines (1078 loc) · 35.3 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": "blitzmax",
"version": "2.26.2",
"publisher": "Hezkore",
"displayName": "BlitzMax",
"description": "BlitzMax for Visual Studio Code.",
"author": {
"name": "Hezkore",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"BlitzMax",
"BlitzMax NG",
"bmx",
"multi-root ready"
],
"icon": "media/icon.png",
"categories": [
"Programming Languages",
"Formatters",
"Debuggers",
"Snippets",
"Linters",
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/Hezkore/vscode-blitzmax-support"
},
"bugs": {
"url": "https://github.com/Hezkore/vscode-blitzmax-support/issues"
},
"scripts": {
"vscode:prepublish": "tsc -p ./src && webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./src",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./src",
"compile-web": "webpack --config ./build/web-extension.webpack.config.js",
"watch-web": "webpack --watch --config ./build/web-extension.webpack.config.js",
"package-web": "webpack --mode production --devtool hidden-source-map --config ./build/web-extension.webpack.config.js",
"package": "vsce package",
"publish": "vsce publish"
},
"engines": {
"vscode": "^1.58.0"
},
"dependencies": {
"await-notify": "1.0.1",
"vscode-debugadapter": "^1.48.0",
"vscode-languageclient": "^7.0.0"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^16.6.1",
"@types/vscode": "^1.58.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "4.29.1",
"@vscode/test-web": "^0.0.8",
"eslint": "7.26.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"ts-loader": "9.4.2",
"typescript": "^4.3.5",
"vsce": "1.88.0",
"vscode-debugadapter-testsupport": "^1.47.0",
"vscode-test": "1.5.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
},
"main": "./out/extension",
"browser": "./out/web/extension",
"activationEvents": [
"workspaceContains:/.bmx",
"onLanguage:blitzmax",
"onDebugResolve:bmx",
"onDebugDynamicConfigurations:bmx",
"onView:blitzmax-documentation",
"onCommand:blitzmax.rebuildDoc",
"onCommand:blitzmax.buildModules",
"onCommand:blitzmax.rebuildAllModules",
"onCommand:blitzmax.version",
"onCommand:blitzmax.searchDocs",
"onCommand:blitzmax.quickHelp",
"onCommand:blitzmax.resetBuildOptions",
"onCommand:blitzmax.changeDefaultBuildTask",
"onCommand:blitzmax.toggleBuildOption",
"onCommand:blitzmax.pickBlitzMaxPath",
"onCommand:blitzmax.setSourceFile",
"onCommand:blitzmax.build",
"onCommand:blitzmax.buildAndRun",
"onCommand:blitzmax.buildAndDebug",
"onCommand:blitzmax.homepage",
"onCommand:blitzmax.settings"
],
"contributes": {
"configurationDefaults": {
"[blitzmax]": {
"files.autoGuessEncoding": true,
"files.encoding": "utf8",
"editor.insertSpaces": false,
"editor.showFoldingControls": "always",
"editor.snippetSuggestions": "top"
}
},
"walkthroughs": [
{
"id": "config bmx",
"title": "Configuring BlitzMax",
"description": "Get started with BlitzMax.",
"steps": [
{
"id": "install mac",
"title": "Installing BlitzMax for MacOS",
"description": "Visit blitzmax.org to download BlitzMax NG.\n[Download BlitzMax NG](command:blitzmax.homepage)",
"when": "isMac",
"media": {
"markdown": "walkthroughs/install_macos.md"
},
"completionEvents": [
"onCommand:blitzmax.homepage"
]
},
{
"id": "install windows",
"title": "Installing BlitzMax for Windows",
"description": "Visit blitzmax.org to download BlitzMax NG.\n[Download BlitzMax NG](command:blitzmax.homepage)",
"when": "isWindows",
"media": {
"markdown": "walkthroughs/install_windows.md"
},
"completionEvents": [
"onCommand:blitzmax.homepage"
]
},
{
"id": "install linux",
"title": "Installing BlitzMax for Linux",
"description": "Visit blitzmax.org to download BlitzMax NG.\n[Download BlitzMax NG](command:blitzmax.homepage)",
"when": "isLinux",
"media": {
"markdown": "walkthroughs/install_linux.md"
},
"completionEvents": [
"onCommand:blitzmax.homepage"
]
},
{
"id": "set path",
"title": "Selecting Your BlitzMax Path",
"description": "Selecting your BlitzMax path.\n[Select Path](command:blitzmax.pickBlitzMaxPath)",
"media": {
"markdown": "walkthroughs/path.md"
},
"completionEvents": [
"onSettingChanged:blitzmax.base.path"
]
},
{
"id": "maxide",
"title": "Switch from MaxIDE / BLide",
"description": "Making the switch",
"media": {
"markdown": "walkthroughs/maxide.md"
}
},
{
"id": "build options",
"title": "Changing Build Options",
"description": "Changing your BlitzMax build options.\n[View Build Options](command:blitzmax-build-options.focus)",
"media": {
"markdown": "walkthroughs/build_options.md"
},
"completionEvents": [
"onView:blitzmax-build-options"
]
},
{
"id": "building",
"title": "Building & Tasks",
"description": "Building your application.",
"media": {
"markdown": "walkthroughs/build_tasks.md"
}
},
{
"id": "debug and run",
"title": "Debug & Run Without Debug",
"description": "Debugging and running your application.",
"media": {
"markdown": "walkthroughs/debug_run.md"
}
},
{
"id": "docs",
"title": "Documentation",
"description": "Accessing the BlitzMax documentation.",
"media": {
"markdown": "walkthroughs/docs.md"
}
},
{
"id": "projects",
"title": "Folders & Workspaces",
"description": "How to manage your project.",
"media": {
"markdown": "walkthroughs/projects.md"
}
},
{
"id": "optional",
"title": "Optional Features",
"description": "Installing optional features.",
"media": {
"markdown": "walkthroughs/optional.md"
}
},
{
"id": "tips",
"title": "Tips & Tricks",
"description": "Work efficiently.",
"media": {
"markdown": "walkthroughs/tips.md"
}
},
{
"id": "faq",
"title": "FAQ & Troubleshooting",
"description": "",
"media": {
"markdown": "walkthroughs/faq.md"
}
}
]
}
],
"breakpoints": [
{
"language": "blitzmax"
}
],
"snippets": [
{
"language": "blitzmax",
"path": "./snippets/blitzmax.json"
}
],
"keybindings": [
{
"command": "blitzmax.quickHelp",
"key": "f1",
"mac": "f1",
"when": "editorTextFocus && editorLangId == blitzmax"
}
],
"configuration": {
"type": "object",
"title": "BlitzMax",
"properties": {
"blitzmax.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the BlitzMax language server."
},
"blitzmax.base.path": {
"type": "string",
"description": "Absolute path to BlitzMax root.",
"scope": "machine-overridable"
},
"blitzmax.pref.showProblemsOnBuildError": {
"type": "boolean",
"default": true,
"description": "Display the problems view on build task errors."
},
"blitzmax.pref.jumpToProblemOnBuildError": {
"type": "boolean",
"default": true,
"description": "Jump to the first problem on build task errors."
},
"blitzmax.pref.showBuildProgress": {
"type": "boolean",
"default": true,
"description": "Show build progress notification for build tasks."
},
"blitzmax.pref.showBuildColors": {
"type": "boolean",
"default": true,
"description": "Color output from build tasks."
},
"blitzmax.lsp.path": {
"type": "string",
"markdownDescription": "Relative or absolute path to the [LSP](https://github.com/search?q=topic%3ABlitzMax+topic%3Alsp).",
"default": "./bin/bls",
"scope": "machine-overridable"
},
"blitzmax.lsp.multi": {
"type": "boolean",
"markdownDescription": "Run a separate instance of the [LSP](https://github.com/search?q=topic%3ABlitzMax+topic%3Alsp) per workspace folder.",
"default": false,
"scope": "machine-overridable"
},
"blitzmax.lsp.args": {
"type": "array",
"markdownDescription": "[LSP](https://github.com/search?q=topic%3ABlitzMax+topic%3Alsp) specfic arguments.",
"scope": "machine-overridable"
},
"blitzmax.lsp.hotReload": {
"type": "boolean",
"default": false,
"markdownDescription": "Restart [LSP](https://github.com/search?q=topic%3ABlitzMax+topic%3Alsp) if changes to the [LSP](https://github.com/search?q=topic%3ABlitzMax+topic%3Alsp) binary are detected. \n*(only supported on Linux)*",
"scope": "machine-overridable"
},
"blitzmax.help.customStyle": {
"type": "boolean",
"default": true,
"description": "Use custom CSS style for help documentation."
},
"blitzmax.formatter.path": {
"type": "string",
"markdownDescription": "Relative or absolute path to external [code formatter](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter).",
"default": "./bin/formatter",
"scope": "machine-overridable"
},
"blitzmax.formatter.args": {
"type": "array",
"markdownDescription": "[Code formatter](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter) specfic arguments.",
"default": [
"-stdin",
"-stdout"
]
},
"blitzmax.formatter.onType": {
"type": "array",
"markdownDescription": "[Code formatter](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter) arguments when using VS Code option `Format On Type`.",
"default": [
"-quick"
]
},
"blitzmax.formatter.useRange": {
"type": "boolean",
"markdownDescription": "Use range arguments instead of sending text selection when [formatting code](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter).",
"default": true
},
"blitzmax.formatter.range.start": {
"type": "string",
"markdownDescription": "[Code formatter](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter) arguments for start of format range.",
"default": "-start"
},
"blitzmax.formatter.range.end": {
"type": "string",
"markdownDescription": "[Code formatter](https://github.com/search?q=topic%3ABlitzMax+topic%3Aformatter) arguments for end of format range.",
"default": "-end"
},
"blitzmax.syntax.colorFunctions": {
"type": "array",
"description": "An array of all the functions that sets a color",
"default": [
"setcolor",
"setclscolor",
"requestcolor",
"setmaskcolor"
]
}
}
},
"commands": [
{
"command": "blitzmax.settings",
"title": "Open the BlitzMax extension settings",
"category": "BlitzMax"
},
{
"command": "blitzmax.homepage",
"title": "Visit the BlitzMax NG homepage",
"category": "BlitzMax"
},
{
"command": "blitzmax.rebuildDoc",
"title": "Rebuild Documentation",
"category": "BlitzMax"
},
{
"command": "blitzmax.buildModules",
"title": "Build Modules",
"category": "BlitzMax"
},
{
"command": "blitzmax.rebuildAllModules",
"title": "Rebuild All Modules",
"category": "BlitzMax"
},
{
"command": "blitzmax.version",
"title": "Display BlitzMax Version",
"category": "BlitzMax"
},
{
"command": "blitzmax.quickHelp",
"title": "Quick Help",
"category": "BlitzMax"
},
{
"command": "blitzmax.searchDocs",
"title": "Search documentation",
"category": "BlitzMax"
},
{
"command": "blitzmax.resetBuildOptions",
"title": "Reset BlitzMax build options to default settings",
"category": "BlitzMax"
},
{
"command": "blitzmax.changeDefaultBuildTask",
"title": "Select Default Build Task",
"category": "BlitzMax",
"icon": "$(gear)"
},
{
"command": "blitzmax.toggleBuildOption",
"title": "Toggle BlitzMax build option",
"category": "BlitzMax",
"icon": "$(add)"
},
{
"command": "blitzmax.pickBlitzMaxPath",
"title": "Pick your BlitzMax path",
"category": "BlitzMax"
},
{
"command": "blitzmax.pickBlitzMaxFormatterPath",
"title": "Pick your BlitzMax formatter path",
"category": "BlitzMax"
},
{
"command": "blitzmax.setSourceFile",
"title": "Set As Default Build Task Source File",
"category": "BlitzMax"
},
{
"command": "blitzmax.build",
"title": "Build Application",
"category": "BlitzMax",
"icon": {
"light": "media/build_light.svg",
"dark": "media/build_dark.svg"
}
},
{
"command": "blitzmax.buildAndRun",
"title": "Build & Run Application",
"category": "BlitzMax",
"icon": {
"light": "media/build_run_light.svg",
"dark": "media/build_run_dark.svg"
}
},
{
"command": "blitzmax.buildAndDebug",
"title": "Build & Debug Application",
"category": "BlitzMax",
"icon": {
"light": "media/build_debug_light.svg",
"dark": "media/build_debug_dark.svg"
}
}
],
"viewsContainers": {
"activitybar": [
{
"id": "blitzmax",
"title": "BlitzMax",
"icon": "media/view.svg"
}
]
},
"views": {
"blitzmax": [
{
"id": "blitzmax-build-options",
"name": "Build Options",
"icon": "$(gear)"
},
{
"id": "blitzmax-documentation",
"name": "Documentation",
"icon": "$(book)"
}
]
},
"viewsWelcome": [
{
"view": "blitzmax-build-options",
"contents": "Open a BlitzMax file or folder to edit your BlitzMax build options here.\n[Open File](command:workbench.action.files.openFile)\n[Open Folder](command:vscode.openFolder)\nTo learn more about BlitzMax NG [visit our homepage](https://blitzmax.org/).",
"when": "editorLangId != blitzmax"
},
{
"view": "blitzmax-documentation",
"contents": "Set your BlitMax path and make sure module documentation are built.",
"when": "blitzmax:ready != true"
},
{
"view": "debug",
"contents": "[Run Without Debugging](command:workbench.action.debug.run)"
}
],
"menus": {
"view/title": [
{
"command": "blitzmax.changeDefaultBuildTask",
"when": "view == blitzmax-build-options"
},
{
"command": "blitzmax.resetBuildOptions",
"when": "view == blitzmax-build-options"
}
],
"view/item/context": [
{
"command": "blitzmax.toggleBuildOption",
"when": "view == blitzmax-build-options && viewItem == option",
"group": "inline"
},
{
"command": "blitzmax.changeDefaultBuildTask",
"when": "view == blitzmax-build-options && viewItem == workspaceRoot",
"group": "inline"
}
],
"editor/context": [
{
"when": "editorLangId == blitzmax",
"command": "blitzmax.quickHelp",
"group": "navigation@0"
}
],
"editor/title": [
{
"when": "editorLangId == blitzmax",
"command": "blitzmax.build",
"group": "navigation@-2"
},
{
"when": "editorLangId == blitzmax && blitzmax:debugging",
"command": "blitzmax.buildAndDebug",
"group": "navigation@-1"
},
{
"when": "editorLangId == blitzmax && !blitzmax:debugging",
"command": "blitzmax.buildAndRun",
"group": "navigation@0"
}
],
"explorer/context": [
{
"when": "resourceLangId == blitzmax",
"command": "blitzmax.setSourceFile",
"group": "1_modification"
}
],
"editor/title/context": [
{
"when": "resourceLangId == blitzmax",
"command": "blitzmax.setSourceFile",
"group": "0"
}
]
},
"languages": [
{
"id": "blitzmax",
"icon": {
"light": "./icons/bmx-light.svg",
"dark": "./icons/bmx-dark.svg"
},
"extensions": [
".bmx"
],
"aliases": [
"BlitzMax NG",
"BlitzMax",
"bmx"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "blitzmax",
"scopeName": "source.bmx",
"path": "./syntaxes/blitzmax.json"
}
],
"problemMatchers": [
{
"name": "blitzmax",
"owner": "blitzmax",
"source": "BlitzMax",
"fileLocation": "absolute",
"label": "The standard BlitzMax problem matcher",
"background": {
"beginsPattern": ".",
"endsPattern": "."
},
"pattern": [
{
"regexp": "^Compile (Error|Warning)?: (.*)",
"message": 2,
"severity": 1
},
{
"regexp": "^\\[(.*.bmx);(\\d+);(\\d+)]",
"file": 1,
"line": 2,
"endColumn": 3
}
]
}
],
"debuggers": [
{
"type": "bmx",
"label": "BlitzMax Debug",
"program": "./out/bmxruntime.js",
"languages": [
"blitzmax"
],
"configurationAttributes": {
"launch": {
"required": [
"source",
"make"
],
"properties": {
"bmk": {
"type": "string",
"markdownDescription": "User defined bmk path `i.e. C:/BlitzMaxNG/bin/bmk`"
},
"legacy": {
"type": "boolean",
"description": "Enable BlitzMax Legacy support",
"default": false
},
"make": {
"type": "string",
"markdownDescription": "Type of project \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makeapp)",
"default": "application",
"enum": [
"application",
"module",
"library",
"bootstrap"
],
"markdownEnumDescriptions": [
"Builds an applicatio from a single root source file \n`bmk makeapp)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makeapp)",
"Builds a set of modules \n`bmk makemods)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makemods)",
"On Win3, builds a dynamic linked library (DLL) from the source file \n`bmk makelib)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makelib)",
"Builds a bootstrap package \n`bmk makebootstrap` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makebootstrap)"
]
},
"onlycompile": {
"type": "boolean",
"default": false,
"markdownDescription": "Compile sources only, no building of the application \n`bmk compile` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#compile)"
},
"source": {
"type": "string",
"default": "${file}",
"markdownDescription": "Absolute path to root source file \n`bmk <source>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#command-line-syntax)"
},
"fullcompile": {
"type": "boolean",
"default": false,
"markdownDescription": "Recompiles all source/modules regardless of timestamp \n`bmk -a` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-a)"
},
"appstub": {
"type": "string",
"markdownDescription": "Builds an app using a custom appstub \n`bmk -b <custom appstub module>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-b-custom-appstub-module)"
},
"debug": {
"type": "boolean",
"default": false,
"markdownDescription": "Builds a debug version \n`bmk -d` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-d)"
},
"architecture": {
"type": "string",
"enum": [
"armeabiv7a",
"arm64v8a",
"armeabi",
"arm64",
"arm",
"x86",
"x64"
],
"markdownDescription": "Compiles to the specified architecture \n`bmk -g <architecture>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-g-architecture)"
},
"hidpi": {
"type": "boolean",
"default": false,
"markdownDescription": "Specifies that the application supports high-resolution screens \n`bmk -hi`"
},
"gdb": {
"type": "boolean",
"default": false,
"markdownDescription": "Generates line mappings suitable for GDB debugging \n`bmk -gdb` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-gdb)"
},
"gprof": {
"type": "boolean",
"default": false,
"markdownDescription": "Gprof is a performance analysis tool for Unix applications \n`bmk -gprof`"
},
"threaded": {
"type": "boolean",
"markdownDescription": "Builds multithreaded version \n`bmk -h` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-h)"
},
"universal": {
"type": "boolean",
"default": false,
"markdownDescription": "Creates a Universal build for supported platforms (Mac OS X and iOS) \n`bmk -i` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-i)"
},
"target": {
"type": "string",
"enum": [
"win32",
"linux",
"macos",
"ios",
"android",
"raspberrypi",
"nx"
],
"markdownDescription": "Cross-compiles to the specific target platform \n`bmk -l <target-platform>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-l-target-platform)"
},
"musl": {
"type": "boolean",
"markdownDescription": "Enables musl libc compatibility (Linux NG only) \n`bmk -musl` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-musl)"
},
"nostrictupgrade": {
"type": "boolean",
"markdownDescription": "Don't upgrade strict method void return types, if required \n`bmk -nostrictupgrade` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-nostrictupgrade)"
},
"output": {
"type": "string",
"markdownDescription": "Specifies the output file relative to the workspace foder \n`bmk -o <output-file>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-o-output-file)"
},
"quiet": {
"type": "boolean",
"markdownDescription": "Quiet build \n`bmk -q` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-q)"
},
"quick": {
"type": "boolean",
"markdownDescription": "Do not scan modules for changes \n`bmk -quick` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-quick)"
},
"standalone": {
"type": "boolean",
"markdownDescription": "Generate but do not compile into binary form \n`bmk -standalone` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-standalone)"
},
"static": {
"type": "boolean",
"markdownDescription": "Statically link binary (Linux NG only) \n`bmk -static` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-static)"
},
"apptype": {
"type": "string",
"markdownDescription": "Specifies the application type \n`bmk -t makeapp <app-type>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-t-app-type)",
"enum": [
"console",
"gui"
]
},
"verbose": {
"type": "boolean",
"markdownDescription": "Verbose (noisy) build \n`bmk -v` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-v)"
},
"funcargcasting": {
"type": "string",
"enum": [
"error",
"warning"
],
"markdownEnumDescriptions": [
"Shows error",
"Shows warning"
],
"markdownDescription": "How to handle function argument casting issues \n`bmk -w` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-w)"
},
"framework": {
"type": "string",
"markdownDescription": "Defines to use a specific module as framework \n`bmk -f <framework>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-f-framework)"
},
"nomanifest": {
"type": "boolean",
"markdownDescription": "Do not generate a manifest file for the built application \n`bmk -nomanifest` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-nomanifest)"
},
"single": {
"type": "boolean",
"markdownDescription": "Disabled multi threaded processing in a bmk built with thread support \n`bmk -single` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-single)"
},
"nodef": {
"type": "boolean",
"markdownDescription": "Do not generate .def files useable by created DLLs/shared libraries \n`bmk -nodef` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-nodef)"
},
"nohead": {
"type": "boolean",
"markdownDescription": "Do not generate header files useable by created DLLs/shared libraries \n`bmk -nohead` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-nohead)"
},
"override": {
"type": "boolean",
"markdownDescription": "Sets requirement for overriding methods and functions to append override to their definitions \n`bmk -override` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-override)"
},
"overerr": {
"type": "boolean",
"markdownDescription": "Defines missing override keywords in overridden methods and functions to be handled as error instead of warning \n`bmk -overerr` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-overerr)"
},
"nopie": {
"type": "boolean",
"markdownDescription": "Do not generate PIE binaries (Linux only) \n`bmk -no-pie` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-no-pie)"
},
"upx": {
"type": "boolean",
"markdownDescription": "Compress the created binary with UPX \n`bmk -upx` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-upx)"
},
"conditionals": {
"type": "array",
"markdownDescription": "User defined conditionals, usable via `?myconditional` \n`bmk -ud <user-defined-conditionals>` \n[More info](https://blitzmax.org/docs/en/tools/bcc/#-ud-user-defined-conditionals)"
},
"bmkargs": {
"type": "array",
"description": "User defined arguments passed to the compiler"
},
"appargs": {
"type": "array",
"description": "User defined arguments passed to the application"
}
}
}
},
"initialConfigurations": [
{
"type": "bmx",
"name": "Default BlitzMax debug",
"request": "launch",
"source": "${file}",
"make": "application",
"appargs": []
}
],
"configurationSnippets": [
{
"label": "BlitzMax Debug",
"description": "A new configuration for debugging a BlitzMax .bmx file.",
"body": {
"type": "bmx",
"name": "Default BlitzMax debug",
"request": "launch",
"source": "${file}"
}
}
]
}
],
"taskDefinitions": [
{
"type": "bmx",
"required": [
"source",
"make"
],
"properties": {
"bmk": {
"type": "string",
"markdownDescription": "Used defined bmk path `i.e. C:/BlitzMaxNG/bin/bmk`"
},
"legacy": {
"type": "boolean",
"description": "Enable BlitzMax Legacy support",
"default": false
},
"make": {
"type": "string",
"markdownDescription": "Type of project \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makeapp)",
"default": "application",
"enum": [
"application",
"module",
"library",
"bootstrap"
],
"markdownEnumDescriptions": [
"Builds an applicatio from a single root source file \n`bmk makeapp)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makeapp)",
"Builds a set of modules \n`bmk makemods)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makemods)",
"On Win3, builds a dynamic linked library (DLL) from the source file \n`bmk makelib)` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makelib)",
"Builds a bootstrap package \n`bmk makebootstrap` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#makebootstrap)"
]
},
"onlycompile": {
"type": "boolean",
"default": false,
"markdownDescription": "Compile sources only, no building of the application \n`bmk compile` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#compile)"
},
"source": {
"type": "string",
"default": "${file}",
"markdownDescription": "Absolute path to root source file \n`bmk <source>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#command-line-syntax)"
},
"fullcompile": {
"type": "boolean",
"default": false,
"markdownDescription": "Recompiles all source/modules regardless of timestamp \n`bmk -a` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-a)"
},
"appstub": {
"type": "string",
"markdownDescription": "Builds an app using a custom appstub \n`bmk -b <custom appstub module>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-b-custom-appstub-module)"
},
"debug": {
"type": "boolean",
"default": false,
"markdownDescription": "Builds a debug version \n`bmk -d` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-d)"
},
"architecture": {
"type": "string",
"enum": [
"armeabiv7a",
"arm64v8a",
"armeabi",
"arm64",
"arm",
"x86",
"x64"
],
"markdownDescription": "Compiles to the specified architecture \n`bmk -g <architecture>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-g-architecture)"
},
"hidpi": {
"type": "boolean",
"default": false,
"markdownDescription": "Specifies that the application supports high-resolution screens \n`bmk -hi`"
},
"gdb": {
"type": "boolean",
"default": false,
"markdownDescription": "Generates line mappings suitable for GDB debugging \n`bmk -gdb` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-gdb)"
},
"gprof": {
"type": "boolean",
"default": false,
"markdownDescription": "Gprof is a performance analysis tool for Unix applications \n`bmk -gprof`"
},
"threaded": {
"type": "boolean",
"markdownDescription": "Builds multithreaded version \n`bmk -h` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-h)"
},
"universal": {
"type": "boolean",
"default": false,
"markdownDescription": "Creates a Universal build for supported platforms \n`bmk -i` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-i)"
},
"target": {
"type": "string",
"enum": [
"win32",
"linux",
"macos",
"ios",
"android",
"raspberrypi",
"nx"
],
"markdownDescription": "Cross-compiles to the specific target platform \n`bmk -l <target-platform>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-l-target-platform)"
},
"musl": {
"type": "boolean",
"markdownDescription": "Enables musl libc compatibility (Linux NG only) \n`bmk -musl` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-musl)"
},
"nostrictupgrade": {
"type": "boolean",
"markdownDescription": "Don't upgrade strict method void return types, if required \n`bmk -nostrictupgrade` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-nostrictupgrade)"
},
"output": {
"type": "string",
"markdownDescription": "Specifies the output file relative to the workspace foder \n`bmk -o <output-file>` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-o-output-file)"
},
"quiet": {
"type": "boolean",
"markdownDescription": "Quiet build \n`bmk -q` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-q)"
},
"quick": {
"type": "boolean",
"markdownDescription": "Do not scan modules for changes \n`bmk -quick` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-quick)"
},
"standalone": {
"type": "boolean",
"markdownDescription": "Generate but do not compile into binary form \n`bmk -standalone` \n[More info](https://blitzmax.org/docs/en/tools/bmk/#-standalone)"