VS Code でタスク実行
こちらを参考にpython実行タスクを組んでました。
VS Code
のアップデートのせいか、タスクが ctrl + shift + B
で実行できなくなっていました。
そこで、tasks.json
を以下のように編集しました。
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"taskName": "python",
"type": "process",
"command": "python3",
"args": [
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
}
}
]
}
group.isDefault
をtrue
にするとキーバインドが効くようです。