在Vscode setting.json中添加:
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"args": [ "-Nologo" ],
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [ ],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},