With the extension Command Variable you can create part of a property based on the file path
....
"TS_NODE_PROJECT": "${fileDirname}${input:bypath}/tsconfig.json"
....
"inputs": [
{
"id": "bypath",
"type": "command",
"command": "extension.commandvariable.file.fileAsKey",
"args": {
"/somepackage/": "",
"/someotherpackage/": "/.."
}
}
]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…