Is there a way to have compound tasks displayed in the status bar?
That's what my task.json looks like:
{
"version": "2.0.0",
"tasks": [
{
"label": "build_edk2_solution",
"type": "shell",
"command": "devenv",
"args": [
"EDK-II.sln",
"/build"
],
"options": {
"cwd": "${workspaceFolder}\\EDK-II"
},
"presentation": {
"echo": false,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": false
}
},
{
"label": "current_solution",
"type": "shell",
"command": "devenv",
"args": [
"${fileBasenameNoExtension}.sln",
"/build"
],
"options": {
"cwd": "${workspaceFolder}\\Applications\\${fileBasenameNoExtension}"
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": false
}
},
{
/**
* There should probably be a way to distinguish between
* build only current file, and build current file
* after rebuilding
* all of the libs.
*/
"label": "Build current solution",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": [
"build_edk2_solution",
"current_solution",
],
"group": "build",
"presentation": {
"echo": false,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": false
}
},
]
}
right now the status bar only displays "build_edk2_solution" and "current_solution", however, I'd actually want to only display the compound task "Build current solution".
I know that hiding those would be possible via "hide": true, but I want to ensure that a certain Task is displayed.
Tasks are only displayed in the status bar if they have a "command" - option, my compound tasks do not need those.
Is there a way to have compound tasks displayed in the status bar?
That's what my task.json looks like:
right now the status bar only displays "build_edk2_solution" and "current_solution", however, I'd actually want to only display the compound task "Build current solution". I know that hiding those would be possible via "hide": true, but I want to ensure that a certain Task is displayed. Tasks are only displayed in the status bar if they have a "command" - option, my compound tasks do not need those.