VSCode 默认的集成终端没有改变 [英] VSCode default Integrated Terminal is not changing

查看:31
本文介绍了VSCode 默认的集成终端没有改变的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

settings.json 似乎没问题:

<代码>{window.zoomLevel":-1,files.associations":{"*.testset": "功能"},git.autofetch":真,"C_Cpp.updateChannel": "内部人员","terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"}

但每个新终端仍然是cmd".不是bash"或PS".

解决方案

大多数情况下,这个问题发生在新的更新到来时,解决此问题的最简单方法是:

  1. https://youtu.be/jpwfr6m50sI - 在这里您将看到如何更改默认终端
  2. 卸载你的 vscode 安装上一个(如果你不知道怎么做,请按照这个:如何降级 vscode )

<块引用>

不要犹豫,向vscode团队的GitHub汇报并关注他们的纪录片

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".

解决方案

most of the time this issue happens when new updates come, the easiest ways to solve this is:

  1. https://youtu.be/jpwfr6m50sI - here you will see how to change the default terminal
  2. uninstall your vscode install the previous one (if you don't know how to do this, follow this: How to downgrade vscode )

Dont hesitate to report to GitHub of vscode team as well as follow their documentaries

这篇关于VSCode 默认的集成终端没有改变的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆