0
点赞
收藏
分享

微信扫一扫

vscode添加gitbash终端(截止2022.2.22前最新版本)

zhyuzh3d 2022-02-22 阅读 88

vscode添加gitbash终端(截止2022.2.22前最新版本)

打开vscode

文件->首选项->设置,打开设置

        右下角点击齿轮==>设置也可以

搜索shell windows

搜索shell windows视图

打开settings.json在里面输入代码

打开settings.json编辑

{
"terminal.integrated.profiles.windows": {
        "gitBash": {
            "path": "E:\\develop\\Git\\bin\\bash.exe", //这里是的的bash路径
        }
    },
    "terminal.integrated.defaultProfile.windows": "gitBash"
     }

保存重启vscode

ctrl+· 来打开终端  
举报

相关推荐

0 条评论