vscode版本号
步骤一
在vscode首选项打开设置输入shell.window打开settings.json文件
步骤二
设置前如下配置:
向打开的文件进行如下配置(可直接复制替代上面代码)
{
"terminal.integrated.profiles.windows": {
"PowerShell -NoProfile": {
"source": "PowerShell",
"args": [
"-NoProfile"
]
},
"Git-Bash": {
"path": "D:\\Git\\bin\\bash.exe",
"args": []
}
},
"terminal.integrated.defaultProfile.windows": "Git-Bash",
"terminal.integrated.automationProfile.windows": {
},
}
最后设置完关闭vscode再打开即可