-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
927 lines (927 loc) · 32.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
{
"name": "yocto-bitbake",
"displayName": "Yocto Project BitBake",
"description": "Extended Yocto Project and BitBake language support",
"author": {
"name": "Savoir-faire Linux",
"email": "[email protected]",
"url": "https://www.savoirfairelinux.com/"
},
"contributors": [
"Eugen Wiens"
],
"license": "MIT",
"version": "2.7.0",
"publisher": "yocto-project",
"icon": "./client/images/icon.png",
"bugs": {
"url": "https://github.com/yoctoproject/vscode-bitbake/issues"
},
"homepage": "https://github.com/yoctoproject/vscode-bitbake",
"repository": {
"type": "git",
"url": "https://github.com/yoctoproject/vscode-bitbake.git"
},
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"workspaceContains:**/bblayers.conf",
"workspaceContains:**/*.bb"
],
"main": "./client/out/extension",
"browser": "./client/out/extension-web",
"contributes": {
"languages": [
{
"id": "bitbake",
"aliases": [
"BitBake",
"bitbake"
],
"extensions": [
".bb",
".bbappend",
".bbclass"
],
"configuration": "./client/language-configuration.json",
"icon": {
"dark": "./client/images/yocto-file-icon.svg",
"light": "./client/images/yocto-file-icon.svg"
}
}
],
"grammars": [
{
"language": "bitbake",
"scopeName": "source.bb",
"path": "./client/syntaxes/bitbake.tmLanguage.json"
}
],
"semanticTokenScopes": [
{
"language": "bitbake",
"scopes": {
"operator.readonly": [
"keyword.other.bitbake-operator.bb"
]
}
}
],
"configuration": {
"type": "object",
"title": "BitBake",
"properties": {
"bitbake.loggingLevel": {
"type": "string",
"enum": [
"error",
"info",
"debug"
],
"default": "error",
"markdownDescription": "Adjust the logging level: `error` for reporting only errors, `info` for displaying information useful to the user, and `debug` for the same information as `info,` but with additional debugging details."
},
"bitbake.parseOnSave": {
"type": "boolean",
"default": true,
"description": "Activate parsing on save. When a recipe is saved, bitbake will automatically be run to parse it."
},
"bitbake.eSDKMode": {
"type": "boolean",
"default": false,
"deprecationMessage": "eSDK mode is now automatically detected. This setting is deprecated and will be removed in a future release.",
"markdownDescription": "Activate eSDK only mode. This tells the extension that devtool is available but not bitbake, which will disable unavailable features. You should point the `bitbake.pathToEnvScript` setting to the environment script of the eSDK."
},
"bitbake.pathToEnvScript": {
"type": "string",
"examples": [
"${workspaceFolder}/sources/poky/oe-init-build-env"
],
"markdownDescription": "Set the path to the environment script to configure the BitBake project. _(Optional)_, see the commandWrapper setting.\n\nExample: `${workspaceFolder}/sources/poky/oe-init-build-env`"
},
"bitbake.pathToBuildFolder": {
"type": "string",
"examples": [
"${workspaceFolder}/build"
],
"description": "Set the build folder for the BitBake project. _(Optional)_, see the commandWrapper setting.\n\nExample: '${workspaceFolder}/build'"
},
"bitbake.pathToBitbakeFolder": {
"type": "string",
"default": "${workspaceFolder}/sources/poky/bitbake",
"description": "Set the path to the BitBake folder. Used to provide Python embedded language features."
},
"bitbake.commandWrapper": {
"type": "string",
"examples": [
"docker run --rm -v ${workspaceFolder}:${workspaceFolder} crops/poky --workdir=${workspaceFolder} /bin/bash -c",
"kas-container --ssh-agent shell -c",
"cqfd run",
"${workspaceFolder}/build.sh --"
],
"markdownDescription": "An optional build tool command to wrap around BitBake commands.\n\nVarious tools provide ways to automatically configure the BitBake environment, or even call it inside containers. This option allows you to use them through this extension by wrapping around the bitbake invocation.\n\nThe resulting commands generated by this extension will be for example:\n\n `$ <commandWrapper> 'bitbake core-image-minimal'`\n\n `$ <commandWrapper> '. <pathToEnvScript> <pathToBuildFolder> && bitbake core-image-minimal'`\n\nSee examples:\n\n`docker run --rm -v ${workspaceFolder}:${workspaceFolder} crops/poky --workdir=${workspaceFolder} /bin/bash -c`\n\n`kas shell -c`\n\n`cqfd run`\n\n`${workspaceFolder}/build.sh --`\n\nNote: Relative paths must be relative to the workingDirectory folder, where the command will be run."
},
"bitbake.workingDirectory": {
"type": "string",
"default": "${workspaceFolder}",
"description": "Set the working directory for running BitBake command."
},
"bitbake.shellEnv": {
"type": "object",
"default": {},
"description": "Environment variables to set before running the BitBake command.",
"examples": [
{
"BB_ENV_PASSTHROUGH": "SSTATE_DIR",
"SSTATE_DIR": "/mnt/yocto-sstate-cache"
}
]
},
"bitbake.sshTarget": {
"type": "string",
"markdownDescription": "Hostname or IP address of the SSH target for deploying recipes or SDK builds to a remote target. _(Optional)_\n\nExample: `[email protected]`\n\nAdditional SSH options must be defined through your SSH configuration file (`~/.ssh/config`).",
"examples": [
]
},
"bitbake.sdkImage": {
"type": "string",
"markdownDescription": "SDK image to use for cross-compilation and debugging.\n\nExample: `core-image-minimal`",
"examples": "core-image-minimal"
},
"bitbake.disableEmbeddedLanguagesFiles": {
"type": "boolean",
"markdownDescription": "Disables temporary files generated for BitBake's embedded languages. This action will turn off most features within Shell and Python regions of BitBake code. This is intended for users who don't want temporary files to be saved on their drive, or do not want to see the diagnostics of these temporary files polluting their 'PROBLEMS' tab. Please note a reload of VS Code might be required after activating or deactivating this setting for the full change to take effect.",
"default": false
},
"bitbake.buildConfigurations": {
"type": "array",
"description": "Array of alternative configurations for starting bitbake. It can be useful to handle multiple build folders for multiple targets (MACHINE configurations). If an option is not defined, the value from the main configuration will be used.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"markdownDescription": "Name of the configuration."
},
"pathToEnvScript": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `pathToEnvScript`. See the `bitbake.pathToEnvScript` setting."
},
"pathToBuildFolder": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `pathToBuildFolder`. See the `bitbake.pathToBuildFolder` setting."
},
"commandWrapper": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `commandWrapper`. See the `bitbake.commandWrapper` setting."
},
"workingDirectory": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `workingDirectory`. See the `bitbake.workingDirectory` setting."
},
"shellEnv": {
"type": "object",
"markdownDescription": "Sub-configuration specific setting to replace the main `shellEnv`. See the `bitbake.shellEnv` setting."
},
"sshTarget": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `sshTarget`. See the `bitbake.sshTarget` setting."
},
"sdkImage": {
"type": "string",
"markdownDescription": "Sub-configuration specific setting to replace the main `sdkImage`. See the `bitbake.sdkImage` setting."
}
},
"required": [
"name"
]
}
},
"bitbake.disableConfigModification": {
"type": "boolean",
"default": false,
"description": "Turn on this setting to stop this extension from modifying the VS Code configuration of the workspace. Note that this will also disable some features related to embedded Python and Shell code."
}
}
},
"configurationDefaults": {
"[shellscript]": {
"files.trimTrailingWhitespace": false
},
"[python]": {
"files.trimTrailingWhitespace": false
}
},
"taskDefinitions": [
{
"type": "bitbake",
"properties": {
"recipes": {
"description": "Bitbake recipe(s)",
"type": "array",
"items": {
"type": "string"
}
},
"task": {
"type": "string",
"description": "Bitbake task to run (build by default)"
},
"options": {
"type": "object",
"description": "Additional options to pass to the bitbake command",
"properties": {
"continue": {
"type": "boolean",
"description": "Continue as much as possible after an error (-k)"
},
"force": {
"type": "boolean",
"description": "Force the specified targets/task to run (-f)."
},
"parseOnly": {
"type": "boolean",
"description": "Run bitbake in parse-only mode (-p)."
}
}
},
"specialCommand": {
"type": "string",
"description": "Special command to run instead of bitbake. Intended for internal use by the extension.",
"pattern": "^devtool\\s.*$"
}
}
}
],
"problemMatchers": [
{
"name": "bitbake-ParseError",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": [
{
"regexp": "^.*ParseError (at|in) (.+?):(\\d+)?:? (unparsed line: '(.+)')$",
"file": 2,
"line": 3,
"message": 4,
"code": 5,
"column": 0
}
]
},
{
"name": "bitbake-UnableToParse",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "(ERROR): (Unable to parse (.+))$",
"severity": 1,
"file": 3,
"message": 2,
"kind": "File"
}
},
{
"name": "bitbake-Variable",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "(^Parsing recipes...)?(ERROR): (.+?): (.*?) file: (.+) line: (\\d+) (.*)$",
"file": 2,
"line": 5,
"severity": 1,
"message": 6
}
},
{
"name": "bitbake-non-existent-uri",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "(ERROR): (.+?): (.*non-existent-uri: file could not be found)$",
"file": 2,
"severity": 1,
"message": 3
}
},
{
"name": "bitbake-compilation-python-function",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "(ERROR): (.+): (Error in compiling python function) in (.*), line (\\d+):$",
"file": 2,
"severity": 1,
"line": 5,
"message": 3
}
},
{
"name": "bitbake-execution-error",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "(^Parsing recipes...)?(ERROR): (.+?): (.*):?$",
"file": 3,
"severity": 2,
"message": 4
}
},
{
"name": "bitbake-task-error",
"source": "bitbake",
"owner": "bitbake",
"fileLocation": [
"autoDetect",
"${cwd}"
],
"pattern": {
"regexp": "^(ERROR): Task \\((.*):(.*\\) .*)$",
"file": 2,
"message": 3,
"severity": 1
}
}
],
"commands": [
{
"command": "bitbake.rescan-project",
"title": "BitBake: Rescan Project",
"description": "This command rescans the bitbake project.",
"icon": "$(refresh)"
},
{
"command": "bitbake.pick-configuration",
"title": "BitBake: Pick configuration",
"description": "Select the active build configuration from the settings to use for bitbake commands."
},
{
"command": "bitbake.build-recipe",
"title": "BitBake: Build recipe",
"description": "Build a recipe or an image.",
"icon": "$(gear)"
},
{
"command": "bitbake.clean-recipe",
"title": "BitBake: Clean recipe",
"description": "Clean a recipe or an image (bitbake -c clean).",
"icon": "$(exclude)"
},
{
"command": "bitbake.run-task",
"title": "BitBake: Run task for recipe",
"description": "Run a specific task for a bitbake recipe."
},
{
"command": "bitbake.scan-recipe-env",
"title": "BitBake: Scan Recipe",
"description": "Run 'bitbake -e' on the chosen recipe to improve the language services such as hover definition"
},
{
"command": "bitbake.scan-global-env",
"title": "BitBake: Scan global environment",
"description": "Run 'bitbake -e' for the global environment to improve the language features such as hover definition on conf files"
},
{
"command": "bitbake.open-recipe-workdir",
"title": "BitBake: Open recipe's workdir",
"description": "Open a recipe's workdir in VSCode.",
"icon": "$(file-symlink-directory)"
},
{
"command": "bitbake.drop-recipe",
"title": "BitBake: Drop a recipe from the active workspace",
"description": "Stop watching or suggesting a recipe in bitbake commands.",
"icon": "$(close)"
},
{
"command": "bitbake.watch-recipe",
"title": "BitBake: Add a recipe to the active workspace",
"icon": "$(add)",
"description": "Start watching or suggesting a recipe in bitbake commands."
},
{
"command": "bitbake.drop-all-recipes",
"title": "BitBake: Drop all recipes from the active workspace",
"description": "Clear all recipes in the recipes view and from all command suggestions.",
"icon": "$(close-all)"
},
{
"command": "bitbake.parse-recipes",
"title": "BitBake: Parse all recipes",
"description": "This command runs bitbake in parse-only mode."
},
{
"command": "bitbake.start-toaster-in-browser",
"title": "BitBake: Start toaster in browser",
"description": "Start Toaster and reveal it in the browser.",
"icon": "$(preview)"
},
{
"command": "bitbake.stop-toaster",
"title": "BitBake: Stop Toaster",
"description": "This stops Toaster by running `source toaster stop`.",
"icon": "$(stop-circle)"
},
{
"command": "bitbake.clear-workspace-state",
"title": "BitBake: Clear workspace State",
"description": "This clears all the data stored in the workspace state which would persist between sessions. This can potentially solve the crash caused by downgrading the extension to a version that is not able to handle the new workspace state data format."
},
{
"command": "bitbake.examine-dependency-taskexp",
"title": "BitBake: Examine recipe's dependencies with taskexp",
"description": "Examine the recipe's dependencies with taskexp."
},
{
"command": "bitbake.devtool-modify",
"title": "BitBake: Devtool: Modify recipe",
"description": "Open a new devtool workspace to modify a recipe's sources.",
"icon": "$(add)"
},
{
"command": "bitbake.devtool-ide-sdk",
"title": "BitBake: Devtool: Configure VSCode SDK",
"description": "Configure a devtool sources' workspace for cross-compilation and debugging."
},
{
"command": "bitbake.devtool-sdk-fallback",
"title": "BitBake: Devtool: Configure devtool SDK fallback",
"description": "Configure a devtool sources' workspace to use `devtool build` and `devtool deploy-target` if `devtool ide-sdk` is not available."
},
{
"command": "bitbake.devtool-open-workspace",
"title": "BitBake: Devtool: Open Workspace",
"description": "Open a devtool sources workspace in a new VSCode window.",
"icon": "$(file-symlink-directory)"
},
{
"command": "bitbake.devtool-reset",
"title": "BitBake: Devtool: Reset",
"description": "Remove a devtool workspace.",
"icon": "$(trash)"
},
{
"command": "bitbake.devtool-update",
"title": "BitBake: Devtool: Update recipe",
"description": "Update a recipe from a devtool workspace's modifications.",
"icon": "$(save-as)"
},
{
"command": "bitbake.devtool-build",
"title": "Bitbake: Devtool: Build recipe",
"description": "Build a recipe through devtool.",
"icon": "$(gear)"
},
{
"command": "bitbake.devtool-deploy",
"title": "Bitbake: Devtool: Deploy recipe",
"description": "Deploy a devtool package on an SSH target."
},
{
"command": "bitbake.devtool-clean",
"title": "BitBake: Devtool: Clean recipe",
"description": "Clean a recipe using devtool.",
"icon": "$(exclude)"
},
{
"command": "bitbake.terminal-profile",
"title": "BitBake: Open interactive terminal",
"description": "Open an interactive terminal with the bitbake environment."
},
{
"command": "bitbake.recipe-devshell",
"title": "BitBake: Open recipe's devshell",
"description": "Open an interactive BitBake devshell for a recipe."
},
{
"command": "bitbake.collapse-list",
"title": "BitBake: Collapse list",
"description": "Collapse the focused list of recipes or devtool workspaces.",
"icon": "$(collapse-all)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "bitbakeView",
"title": "Bitbake",
"icon": "./client/images/yocto-view-icon.svg"
}
]
},
"views": {
"bitbakeView": [
{
"id": "bitbakeRecipes",
"name": "Recipes Explorer",
"contextualTitle": "Recipes explorer",
"icon": "$(library)",
"when": "bitbake.active"
},
{
"id": "devtoolWorkspaces",
"name": "Devtool Workspaces",
"contextualTitle": "Devtool workspaces",
"icon": "$(symbol-property)",
"when": "bitbake.active"
}
]
},
"submenus": [
{
"id": "bitbake/main",
"label": "BitBake",
"icon": "$(ellipsis)"
},
{
"id": "devtool/main",
"label": "BitBake",
"icon": "$(ellipsis)"
}
],
"menus": {
"bitbake/main": [
{
"command": "bitbake.build-recipe",
"group": "0@bitbake_build@0"
},
{
"command": "bitbake.clean-recipe",
"group": "0@bitbake_build@1"
},
{
"command": "bitbake.run-task",
"group": "0@bitbake_build@2"
},
{
"command": "bitbake.drop-recipe",
"group": "0@bitbake_build@3"
},
{
"command": "bitbake.scan-recipe-env",
"group": "1@bitbake_dev@0",
"when": "resourceExtname == .bb || resourceExtname == .bbappend || resourceExtname == .inc"
},
{
"command": "bitbake.scan-global-env",
"group": "1@bitbake_dev@0",
"when": "resourceExtname == .conf || resourceExtname == .bbclass"
},
{
"command": "bitbake.recipe-devshell",
"group": "1@bitbake_dev@1"
},
{
"command": "bitbake.terminal-profile",
"group": "1@bitbake_dev@2"
},
{
"command": "bitbake.open-recipe-workdir",
"group": "1@bitbake_dev@3"
},
{
"command": "bitbake.start-toaster-in-browser",
"group": "1@bitbake_dev@4"
},
{
"command": "bitbake.examine-dependency-taskexp",
"group": "1@bitbake_dev@5"
},
{
"command": "bitbake.devtool-modify",
"group": "2@bitbake_devtool@0"
}
],
"devtool/main": [
{
"command": "bitbake.devtool-build",
"group": "0@devtool_build@0"
},
{
"command": "bitbake.devtool-clean",
"group": "0@devtool_build@1"
},
{
"command": "bitbake.devtool-deploy",
"group": "0@devtool_build@2"
},
{
"command": "bitbake.devtool-open-workspace",
"group": "1@devtool_dev@0"
},
{
"command": "bitbake.devtool-ide-sdk",
"group": "1@devtool_dev@1"
},
{
"command": "bitbake.devtool-sdk-fallback",
"group": "1@devtool_dev@2"
},
{
"command": "bitbake.terminal-profile",
"group": "1@devtool_dev@3"
},
{
"command": "bitbake.devtool-update",
"group": "1@devtool_finalize@0"
},
{
"command": "bitbake.devtool-reset",
"group": "1@devtool_finalize@1"
}
],
"explorer/context": [
{
"submenu": "bitbake/main",
"group": "bitbake",
"when": "resourceLangId == bitbake"
}
],
"editor/context": [
{
"submenu": "bitbake/main",
"group": "bitbake@0",
"when": "editorLangId == bitbake"
}
],
"editor/title/context": [
{
"submenu": "bitbake/main",
"group": "bitbake",
"when": "resourceLangId == bitbake"
}
],
"view/title": [
{
"command": "bitbake.watch-recipe",
"group": "navigation@0",
"when": "view == bitbakeRecipes"
},
{
"command": "bitbake.rescan-project",
"group": "navigation@1",
"when": "view == bitbakeRecipes"
},
{
"command": "bitbake.collapse-list",
"group": "navigation@2",
"when": "view == bitbakeRecipes"
},
{
"command": "bitbake.drop-all-recipes",
"group": "navigation@3",
"when": "view == bitbakeRecipes"
},
{
"submenu": "bitbake/main",
"group": "navigation@99",
"when": "view == bitbakeRecipes"
},
{
"command": "bitbake.devtool-modify",
"group": "navigation@0",
"when": "view == devtoolWorkspaces"
},
{
"command": "bitbake.rescan-project",
"group": "navigation@1",
"when": "view == devtoolWorkspaces"
},
{
"submenu": "devtool/main",
"group": "navigation@99",
"when": "view == devtoolWorkspaces"
}
],
"view/item/context": [
{
"command": "bitbake.build-recipe",
"group": "inline@0",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.clean-recipe",
"group": "inline@1",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.drop-recipe",
"group": "inline@2",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"submenu": "bitbake/main",
"group": "inline@99",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.devtool-build",
"group": "inline@0",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-update",
"group": "inline@1",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-reset",
"group": "inline@2",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"submenu": "devtool/main",
"group": "inline@99",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.build-recipe",
"group": "0@bitbake_build@0",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.clean-recipe",
"group": "0@bitbake_build@1",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.run-task",
"group": "0@bitbake_build@2",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.drop-recipe",
"group": "0@bitbake_build@3",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.scan-recipe-env",
"group": "1@bitbake_dev@0",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.recipe-devshell",
"group": "1@bitbake_dev@1",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.terminal-profile",
"group": "1@bitbake_dev@2",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.open-recipe-workdir",
"group": "1@bitbake_dev@3",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.examine-dependency-taskexp",
"group": "1@bitbake_dev@4",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.devtool-modify",
"group": "2@bitbake_devtool@0",
"when": "viewItem == bitbakeRecipeCtx"
},
{
"command": "bitbake.devtool-build",
"group": "0@devtool_build@0",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-clean",
"group": "0@devtool_build@1",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-deploy",
"group": "0@devtool_build@2",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-open-workspace",
"group": "1@devtool_dev@0",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-ide-sdk",
"group": "1@devtool_dev@1",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-sdk-fallback",
"group": "1@devtool_dev@2",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.terminal-profile",
"group": "1@devtool_dev@3",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-update",
"group": "1@devtool_finalize@0",
"when": "viewItem == devtoolWorskpaceCtx"
},
{
"command": "bitbake.devtool-reset",
"group": "1@devtool_finalize@1",
"when": "viewItem == devtoolWorskpaceCtx"
}
]
},
"terminal": {
"profiles": [
{
"id": "bitbake.terminal",
"title": "bitbake"
}
]
}
},
"scripts": {
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"fetch": "npm run fetch:poky && npm run fetch:docs && npm run fetch:wasm && npm run fetch:spdx-licenses",
"fetch:docs": "sh scripts/fetch-docs.sh",
"fetch:poky": "sh scripts/fetch-poky.sh",
"fetch:wasm": "bash ./scripts/build-tree-sitter-wasm.sh",
"fetch:spdx-licenses": "sh scripts/fetch-spdx-licenses.sh",
"compile": "tsc -b",
"watch": "tsc -b -w && npm run postcompile",
"vscode:prepublish": "cd server && npm install --omit=dev && cd ../client && npm install --omit=dev && cd ..",
"package": "vsce package",
"clean:server": "rm -fr ./server/node_modules ./server/out ./server/resources server/tsconfig.tsbuildinfo server/.vscode-test server/*.tgz ./server/tree-sitter-bash.wasm ./server/tree-sitter-bitbake.wasm",
"clean:client": "rm -fr ./client/node_modules ./client/out client/tsconfig.tsbuildinfo client/.vscode-test",
"clean:lib": "rm -fr ./lib/node_modules",
"clean": "npm run clean:lib && npm run clean:server && npm run clean:client && rm -fr node_modules integration-tests/out integration-tests/project-folder/build* .vscode-test .eslintcache resources coverage ./out *.vsix tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"jest": "jest",
"test": "npm run jest && npm run test:integration && npm run test:grammar",
"test:integration": "xvfb-run node ./integration-tests/out/runTest.js",
"test:watch": "jest --watchAll",
"test:grammar": "vscode-tmgrammar-test ./client/test/grammars/test-cases/*.bb",
"snap-grammar": "vscode-tmgrammar-snap ./client/test/grammars/snaps/*.bb -u",
"dev:vsix": "npm run clean && npm install && npm run fetch:wasm && npm run fetch:docs && npm run fetch:spdx-licenses && npm run compile && npm run package",
"dev:npm": "npm run clean && npm install && npm run fetch:wasm && npm run fetch:docs && npm run fetch:spdx-licenses && cd server && npm pack"
},
"//": "TODO Bump eslint-plugin-header when rules is compatible with eslint 9",
"//": "See https://github.com/Stuk/eslint-plugin-header/issues/57",
"//": "TODO Bump vsce when symlink regression has been fixed",
"//": "See https://github.com/microsoft/vscode-vsce/pull/1053",
"devDependencies": {
"@eslint/js": "^9.10.0",
"eslint-plugin-header": "github:tonyganchev/eslint-plugin-header#36161b3282e088ad2f19657ab0e377651b6886c2",
"@types/find": "^0.2.4",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.14",
"@types/mocha": "^10.0.8",
"@types/node": "^22.9.0",
"@types/vscode": "^1.92.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^2.3.5",
"eslint": "^9.14.0",
"globals": "^15.10.0",
"jest": "^29.7.0",
"mocha": "^10.7.3",
"ovsx": "^0.9.5",
"ts-jest": "^29.2.5",
"typescript": "^5.6.2",
"typescript-eslint": "^8.12.2",
"vscode-tmgrammar-test": "^0.1.3"
},
"vsce": {
"baseContentUrl": "https://github.com/yoctoproject/vscode-bitbake/raw/HEAD/",
"baseImageUrl": "https://github.com/yoctoproject/vscode-bitbake/raw/HEAD/"
}
}