我想在VS Code中创建任务,但我需要实际文件的路径.这里有一些选择吗?我的任务:
{
"version": "0.1.0",
"command": "${workspaceRoot}/run.sh",
"isShellCommand": true,
"options": {
"cwd": "${hereINeedPathToActualFile}"
},
"args": ["${file}"],
"showOutput": "always"
}
Run Code Online (Sandbox Code Playgroud)
非常感谢