菜单的“文件->首选项->设置”,搜索Terminal
打开后添加如下内容
{
"explorer.confirmDelete": false,
"editor.fontSize": 14,
"terminal.integrated.profiles.windows": {
"PowerShell -NoProfile": {
"source": "PowerShell",
"args": [
"-NoProfile"
]
},
"Git-Bash": {
"path": "D:\\Program Files\\Git\\bin\\bash.exe",
"args": []
}
},
"terminal.integrated.defaultProfile.windows": "Command Prompt",
}
重启vscode 即可将终端替换为anaconda的终端