赞
踩
本人windows客户端安装了git,然后想在vscode中打开终端,但是在vscode中却找不到gitbash,最后尝试了如下办法解决:
在settings.json文件中添加以下内容:
"terminal.integrated.profiles.windows": {
"gitBash": { //这里的名称开头若是大写不能有空格(如:GitBash)
"path": "D:\\Program Files (x86)\\Git\\bin\\bash.exe", //此处是git本地安装路径
}
},
"terminal.integrated.defaultProfile.windows": "gitBash",
======================================================================================================
还是在settings.json文件中,将terminal.integrated.shellIntegration.enabled 的值改为false,然后重启即可。
默认的样子:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。