Closed Merichbier closed 4 months ago
This is to provide input answers based on the output of a command. According to the vscode docs it should work the same way as in the tasks.
Have you ran into any issue when trying it?
Hey, you can close this one, it works like a charm ! Somehow I missed a line when reading the doc :
{
"inputs": [
{
"id": "processID",
"type": "command",
"command": "shellCommand.execute", <--- this one
"args": {
"command": "ps axww --no-headers k comm -o '%p|%c|%p|%a' | sed -e 's/^\\s*//' -e 's/\\s*|\\s*/|/g'",
"fieldSeparator": "|",
"description": "Select the process to attach to"
}
}
]
}
Meaning it is normal tha VS Code was complaining about a missing command
.. Which I thought was the one in the args
.
Sorry for the disturbance and thanks for the amazing plugin !
No worries. I'm glad it's being helpful to you.
Is this only working for Task (I guess so as it only speak about input for task) or does it works also for launch.json ? If not how big of an effort is it (if possible at all) to make it compatible with launch.json ?