Visual studio code 如何让VS代码中的任务在当前终端而不是新窗格中运行?
我有这个任务,Visual studio code 如何让VS代码中的任务在当前终端而不是新窗格中运行?,visual-studio-code,vscode-tasks,Visual Studio Code,Vscode Tasks,我有这个任务, { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Run Jest on Current File", "type": "shell", "command": "yarn
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run Jest on Current File",
"type": "shell",
"command": "yarn",
"options": {
"env": {
"CI": "true"
}
},
"args": ["test", "${file}"],
"problemMatcher": [],
"presentation": {
"echo": false,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": false,
"clear": false
}
}
]
}
我想让它在我打开的当前终端中运行,而不是打开一个新的终端,当我按下任何其他按钮时,它将关闭。如果不必担心专门用于任务的不同终端窗格,那就太好了。任务窗格不使用“我的颜色”主题,因此很难看到哪些内容通过或失败