我是使用 HIE 0.1.0.0 的 VS 代码(1.21.1)的新手 - 使用堆栈安装。我已经能够定义一个测试任务:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "test",
"type": "shell",
"command": "stack build --test",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
我检查了提到的文档,但不太了解。此任务仅适用于我指定的项目;如何使它可用于我碰巧在编辑器中打开的任何项目?如何进一步自动化选择任务?
我假设在某个地方有一组任务可以使用 HIE 运行堆栈 - 有人可以指点我吗?