Visual studio code VSCode默认集成终端未更改

Visual studio code VSCode默认集成终端未更改,visual-studio-code,Visual Studio Code,我现在使用VSCode已经有一段时间了,直到今天,终端还是按预期工作的。 但现在我无法更改默认的集成终端。无论我在设置中设置了什么,它都是“cmd” settings.json似乎很好: { "window.zoomLevel": -1, "files.associations": { "*.testset": "feature" }, "git.autofetch": true, "C_Cpp.updateChannel": "Insiders", "terminal.integrat

我现在使用VSCode已经有一段时间了,直到今天,终端还是按预期工作的。 但现在我无法更改默认的集成终端。无论我在设置中设置了什么,它都是“cmd”

settings.json似乎很好:

{
"window.zoomLevel": -1,
"files.associations": {
    "*.testset": "feature"
},
"git.autofetch": true,
"C_Cpp.updateChannel": "Insiders",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
}
但每一个新的终端仍然是“cmd”。
不是“bash”或“PS”。

问题出在我的工作区设置中。 “项目.代码工作区”


通过从文件中删除这一行,问题得到了解决。现在我可以更改默认的集成终端。

问题出在我的工作区设置中。 “项目.代码工作区”


通过从文件中删除这一行,问题得到了解决。现在我可以更改默认的集成终端。

它在我的笔记本电脑上工作。。。即使路径中有一个空间。VSCode问我是否真的要运行bash.exe,每次单击+,都会创建一个新的bash窗口。它在我的笔记本电脑上工作。。。即使路径中有一个空间。VSCode询问我是否真的要运行bash.exe,每次单击+,都会创建一个新的bash窗口。
{
    ....
    "settings": {
        "terminal.integrated.shell.windows": "cmd.exe"
    }
}