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

相关推荐
wdfk_prog9 小时前
Git实战指南:如何从另一个分支同步文件时完整保留Commit提交历史
git
In_life 在生活9 小时前
GIT stash 命令的使用
git
SunkingYang11 小时前
如何通过命令和TortoiseGit工具来撤销最后一次提交,包含提交到缓存区,提交到远程仓库
git·tortoisegit·工作区·暂存区·远程仓库·撤销·最后一次提交
ygqygq211 小时前
让 AI 编程助手更智能:Turbo AI Rules 扩展使用指南
vscode·ai·扩展·rules
爱吃泡芙的小白白13 小时前
如何在现有配置好环境的Pycharm中安装jupyterlab这个工具
ide·python·pycharm·notebook·虚拟环境·jupyterlab
Michael_lcf15 小时前
WebStorm配置与插件
ide·webstorm
南山nash16 小时前
git从入门到熟练
git
Lv117700818 小时前
初识Visual Studio中的 WinForm
开发语言·ide·笔记·c#·visual studio
夜流冰18 小时前
Git - GitForWindows
git
Qhumaing18 小时前
解决因为jupyter notebook修改路径下没有c.NotebookApp.notebook_dir而无法修改目录问题
ide·python·jupyter