VSCode默认的集成终端没有变化

问题描述 投票:1回答:1

我现在使用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”。

visual-studio-code
1个回答
0
投票

问题出在我的工作区设置中。 “project.code工作空间”

{
    ....
    "settings": {
        "terminal.integrated.shell.windows": "cmd.exe"
    }
}

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

© www.soinside.com 2019 - 2024. All rights reserved.