首页 > 解决方案 > 将 git-bash 与 Visual Studio 代码一起使用

问题描述

我通常在 Windows 10 上使用 git-bash.exe,但 Visual Studio 代码似乎使用 bash.exe。bash.exe 似乎非常有限:(

我试图让 bash.exe 变得更有用,或者让 git-bash.exe 在屏幕底部的终端中运行。

有什么建议么?

    // this opens the terminal window at the bottom of code
    // but as I said, seems limited.
    {
        "shell": "C:\\Program Files\\Git\\bin\\bash.exe",
        "label": "Git bash"
    }

    // the problem with this is it opens a new window when
    // run and I would prefer it be at the bottom.
    {
        "shell": "C:\\Program Files\\Git\\git-bash.exe",
        "label": "Git bash"
    },

标签: visual-studio-code

解决方案


推荐阅读