赞
踩
注意不要配置 git-bash.exe 的路径。
如果配置为 git-bash.exe 路径,则会单独打开 git bash 窗口,而不是嵌入 vscode 终端页签中。
{ "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Command Prompt": { "path": [ "${env:windir}\\Sysnative\\cmd.exe", "${env:windir}\\System32\\cmd.exe" ], "args": [], "icon": "terminal-cmd" }, "Git Bash": { // "path": "C:\\Program Files\\Git\\git-bash.exe", "path": "C:\\Program Files\\Git\\bin\\bash.exe", "args": [] } }, "terminal.integrated.defaultProfile.windows": "Git Bash" }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。