1.打开vscode,进入文件->首选项->设置菜单
2.搜索shell,
3.找到 Terminal>Integrated>Automation Shall:Windows,复制terminal.integrated.shell.windows
在setings.json里更改
4、更改结果,2中是git中bash的路径,
5、下面是我的bash路径,在上图中要更改"“为”\",并且在后面加"\bash.exe"
1.打开vscode,进入文件->首选项->设置菜单
2.搜索shell,
3.找到 Terminal>Integrated>Automation Shall:Windows,复制terminal.integrated.shell.windows
在setings.json里更改
4、更改结果,2中是git中bash的路径,
5、下面是我的bash路径,在上图中要更改"“为”\",并且在后面加"\bash.exe"