Consider the following tasks.json file:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "(Hy) Run pytest",
"type": "shell",
"command": "${config:python.pythonPath} -m pytest",
"group": {
"kind": "test",
"isDefault": true,
},
"presentation": {
"reveal" : "always",
"focus": true
}
},
{
"label": "(Hy) Check syntax",
"type": "shell",
"command": "pipenv run hy ${file}",
"group": {
"kind": "build",
"isDefault": true
},
"presentation" : {
"reveal": "silent",
"focus": true
}
}
]
}
Consider the second task, I would expect VS Code to "focus" on the terminal when errors are present (and thus the task output is being "presented").
I have the following setup:
Version: 1.41.1
Commit: 26076a4
Date: 2019-12-18T15:04:31.999Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.0.0-37-generic
Consider the following tasks.json file:
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "(Hy) Run pytest", "type": "shell", "command": "${config:python.pythonPath} -m pytest", "group": { "kind": "test", "isDefault": true, }, "presentation": { "reveal" : "always", "focus": true } }, { "label": "(Hy) Check syntax", "type": "shell", "command": "pipenv run hy ${file}", "group": { "kind": "build", "isDefault": true }, "presentation" : { "reveal": "silent", "focus": true } } ] }Consider the second task, I would expect VS Code to "focus" on the terminal when errors are present (and thus the task output is being "presented").
I have the following setup:
Version: 1.41.1
Commit: 26076a4
Date: 2019-12-18T15:04:31.999Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.0.0-37-generic