VSCode default Integrated Terminal is not changing

我的梦境 提交于 2021-01-28 05:08:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!