Skip to content

Commit

Permalink
GUI: Group BitBake commands in a submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
deribaucourt committed Nov 8, 2023
1 parent 42261f8 commit df523c4
Showing 1 changed file with 17 additions and 27 deletions.
44 changes: 17 additions & 27 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,54 +203,44 @@
"enablement": "false"
}
],
"submenus": [
{
"id": "bitbake/main",
"label": "BitBake"
}
],
"menus": {
"explorer/context": [
"bitbake/main": [
{
"command": "bitbake.clean-recipe",
"group": "bitbake",
"when": "resourceLangId == bitbake"
"group": "bitbake_recipe"
},
{
"command": "bitbake.build-recipe",
"group": "bitbake",
"when": "resourceLangId == bitbake"
"group": "bitbake_recipe"
},
{
"command": "bitbake.run-task",
"group": "bitbake_recipe"
}
],
"explorer/context": [
{
"submenu": "bitbake/main",
"group": "bitbake",
"when": "resourceLangId == bitbake"
}
],
"editor/context": [
{
"command": "bitbake.clean-recipe",
"group": "bitbake",
"when": "editorLangId == bitbake"
},
{
"command": "bitbake.build-recipe",
"group": "bitbake",
"when": "editorLangId == bitbake"
},
{
"command": "bitbake.run-task",
"submenu": "bitbake/main",
"group": "bitbake",
"when": "editorLangId == bitbake"
}
],
"editor/title/context": [
{
"command": "bitbake.clean-recipe",
"group": "bitbake",
"when": "resourceLangId == bitbake"
},
{
"command": "bitbake.build-recipe",
"group": "bitbake",
"when": "resourceLangId == bitbake"
},
{
"command": "bitbake.run-task",
"submenu": "bitbake/main",
"group": "bitbake",
"when": "resourceLangId == bitbake"
}
Expand Down

0 comments on commit df523c4

Please sign in to comment.