VSCode, 请在windows下使用git bash终端

用vscode在windows下调测代码,运行时默认打开的终端是windows的cmd,很不受我待见。毕竟习惯了linux,习惯了windows下的git bash风格。怎么办?

search,search,research。

先确保windows上安装了git bash。

再在vscode中搜索git bash扩展安装上。

最后,设置 git bash为默认shell。

|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1 2 3 4 5 6 7 8 9 10 | "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Git-Bash": { "path": "C:\\Program Files\\Git\\bin\\bash.exe" }, }, "terminal.integrated.defaultProfile.windows": "Git-Bash", |

更详细信息请参考下面文档

Windows 环境下在 VSCode 中使用 Git Bash 终端 | stevending1st

相关推荐
任磊abc1 小时前
vscode无法检测到typescript环境解决办法
ide·vscode·typescript
Cosmoshhhyyy1 小时前
mac环境下安装git并配置密钥等
git·macos
hfut02881 小时前
【vscode使用说明】
vscode·编辑器·vim
yuwei0211 小时前
git大全解
git
weixin_307779133 小时前
VS Code配置MinGW64编译GNU 科学库 (GSL)
开发语言·c++·vscode·算法
ala咪5 小时前
切换VSCODE 中的默认 shell
vscode
小林的技术分享6 小时前
版本控制系统-Git 学习 《progit》电子书学习记录 第一章 (仅隔个人学习记录用)
git
BIBI20496 小时前
自定义 VSCode 标题栏以区分不同版本
ide·vscode·编辑器
weixin_456904277 小时前
Git登录配置的详细方法
git
:-)7 小时前
idea配置maven国内镜像
java·ide·maven·intellij-idea