【发布时间】:2020-12-23 19:20:39
【问题描述】:
我在 Windows 10 上,我在 vscode 中的默认 shell 是 git bash,它被所有任务使用。
对于特定任务,我想使用 powershell。这可能吗
{
"label": "sometask",
"type": "shell",
"command": "sam build",
"group": "test"
}
【问题讨论】:
-
那么为什么您发布的示例不包括 Powershell,如果这是您想要运行的?你必须告诉任务/json,使用什么。
标签: powershell visual-studio-code vssettings