其他分享
首页 > 其他分享> > VSCode1.6版本配置命令行终端为Git

VSCode1.6版本配置命令行终端为Git

作者:互联网

旧版的配置方法已被弃用。

详情请参考配置信息

{
    "editor.tabSize": 2,
    "[javascript]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[html]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    "[json]": {
        "editor.defaultFormatter": "HookyQR.beautify"
    },
    // 配置新增的可选终端
    "terminal.integrated.profiles.windows": {
        "PowerShell": {
            "source": "PowerShell",
            "icon": "terminal-powershell"
        },
        "Command Prompt": {
            "path": [
                "${env:windir}\\Sysnative\\cmd.exe",
                "${env:windir}\\System32\\cmd.exe"
            ],
            "args": [],
            "icon": "terminal-cmd"
        },
        "GitBash": {
            "path": "C:\\Git\\bin\\bash.exe"
        }
    },
    "terminal.integrated.defaultProfile.windows": "GitBash"
}

标签:VSCode1.6,Git,beautify,cmd,terminal,exe,editor,命令行,HookyQR
来源: https://www.cnblogs.com/KleinBlue/p/15678020.html