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

相关推荐

  1. VSCode, windows使用git bash终端

    2024-07-11 10:24:01       11 阅读
  2. 关于gitBash使用linux命令删除windows的文件

    2024-07-11 10:24:01       48 阅读
  3. windows环境vscode配置gcc编译代码

    2024-07-11 10:24:01       35 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-11 10:24:01       7 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-11 10:24:01       8 阅读
  3. 在Django里面运行非项目文件

    2024-07-11 10:24:01       7 阅读
  4. Python语言-面向对象

    2024-07-11 10:24:01       10 阅读

热门阅读

  1. R 数据重塑

    2024-07-11 10:24:01       7 阅读
  2. 3DMAX安装失败解决办法 安装失败1603

    2024-07-11 10:24:01       10 阅读
  3. 0124__Linux和Unix的Access.conf安全配置

    2024-07-11 10:24:01       6 阅读
  4. Android11 应用启动流程

    2024-07-11 10:24:01       11 阅读
  5. CentOS-6的iso下载地址镜像yum源

    2024-07-11 10:24:01       9 阅读