load keyboard ui through vscode

This commit is contained in:
Jack Humbert
2023-04-04 16:26:44 -04:00
parent 7093a41c6c
commit fe59b4e5d6
7 changed files with 100 additions and 60 deletions
+15 -15
View File
@@ -2,10 +2,10 @@
"version": "2.0.0",
"tasks": [
{
"label": "Load Keyboard & Refresh Outline",
"label": "Load Keyboard",
"dependsOrder": "sequence",
"dependsOn":[
"Load Keyboard",
"Only Load Keyboard",
"Configure CMake"
],
"group": {
@@ -14,9 +14,9 @@
}
},
{
"label": "Load Keyboard",
"label": "Only Load Keyboard",
"type": "shell",
"command": "cmake -Bbuild -DQMK_KEYBOARD_FOLDER=${input:all_keyboards}",
"command": "cmake -D QMK_KEYBOARD_FOLDER=\"${input:all_keyboards}\" -D QMK_KEYMAP_FOLDER=\"${input:keymap}\" -P ${workspaceFolder}/cmake/ConfigureKeyboard.cmake",
"problemMatcher": []
},
{
@@ -72,15 +72,6 @@
// }
],
"inputs": [
{
"id": "keyboard",
"description": "Keyboard:",
"type": "pickString",
"options":[
"planck/rev5",
"olkb/planck/rev3"
]
},
{
"id": "keyboard_target",
"type": "command",
@@ -97,8 +88,17 @@
"command": "shellCommand.execute",
"args": {
"command": "type build\\all_keyboards",
"description": "Keyboard:"
"description": "Keyboard:",
"default": ""
},
}
},
{
"id": "keymap",
"description": "Keymap:",
"type": "pickString",
"options":[
"default"
]
},
]
}