问题
I'm using VSCode for some time now and until today the Terminal was working as expected. But now I can't change the default Integrated Terminal. It's allways "cmd" no matter what I set up in the settings.
The settings.json seems to be fine:
{
"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"
}
But every new terminal is still "cmd". Not "bash" or "PS".
回答1:
The issue was in my workspace settings. "project.code-workspace"
{
....
"settings": {
"terminal.integrated.shell.windows": "cmd.exe"
}
}
By removing this line from the file, the problem was fixed. Now I can change the default Integrated Terminal.
来源:https://stackoverflow.com/questions/55456815/vscode-default-integrated-terminal-is-not-changing