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

相关推荐
林_学30 分钟前
扔掉了本地 IDE,开发部署只要 3 分钟。
ide
白露与泡影34 分钟前
放弃 IntelliJ IDEA,转 VS Code 了。。
java·ide·intellij-idea
TT哇1 小时前
基础的IDEA基本使用,如:debug流程、常用快捷键
java·ide·intellij-idea
Motion_zq1 小时前
vscode使用i18n-ally插件,实现自动翻译(配置百度key)
ide·vscode·机器翻译
爱吃羊的老虎1 小时前
从零开始安装到精通的 Jupyter Notebook 完整教程
ide·python·jupyter
arthur.dy.lee1 小时前
在pycharm中使用powershell7解决conda,ohmyposh报错的问题
ide·pycharm·conda
Dillon Dong1 小时前
STM32嵌入式:如何使用VSCode EIDE来获取flash块数据并转换成可视化的数据 来判断源头数据是否错误
vscode·stm32·嵌入式硬件
郑州光合科技余经理1 小时前
开发实战:海外版同城o2o生活服务平台核心模块设计
开发语言·git·python·架构·uni-app·生活·智慧城市
golang学习记1 小时前
JetBrains 推出革命性产品:AI IDE (AIR) —— AI编程全新范式!
ide·人工智能
我是海飞2 小时前
Git 本地仓库推送到远程空仓库指南
大数据·git·elasticsearch