当前位置:   article > 正文

VScode配置GItbash为终端_vscode git bash

vscode git bash

一、VScode配置Gitbash为终端

  1. 按“ctrl” 和 “,” 组合键盘,进入设置:
    在这里插入图片描述
  2. 在“搜索设置”输入:“terminal.integrated.profiles.windows”,进入json编辑:
    在这里插入图片描述
  3. 将原来的选中,按“/”注释掉,然后输入:
{
    "window.zoomLevel": 3,
    "remote.SSH.remotePlatform": {
        "Unbantu": "linux"
    },
    "typescript.disableAutomaticTypeAcquisition": true,
    "C_Cpp.errorSquiggles": "Enabled",
    "cmake.configureOnOpen": true,
    "terminal.integrated.profiles.windows": {
        "gitBash": {
            "path": "D:\\Git\\bin\\bash.exe",
        }
    }
}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

如图:
在这里插入图片描述

  1. 重启VScode即可在终端发现Gitbash。
    在这里插入图片描述
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/728613
推荐阅读
相关标签
  

闽ICP备14008679号