当VSCode升级至1.57.1(2021.6.17)时,会出现警告提示:

此项已弃用,配置默认 shell 的新推荐方法是在 #terminal.integrated.profiles.windows# 中创建一个终端配置文件,并将其配置文件名称设置为 #terminal.integrated.defaultProfile.windows# 中的默认值。此操作当前将优先于新的配置文件设置,但将来会发生更改。

【2021】]vscode git bash终端配置:terminal.integrated.profiles.windows

新版配置如下:

    "terminal.integrated.profiles.windows": {
        "Git-Bash": {
            "path": "D:\\program files\\Git\\bin\\bash.exe",
            "args": [],
            "icon": "terminal-bash"
        },
    },
    "terminal.integrated.defaultProfile.windows": "Git-Bash"

【2021】]vscode git bash终端配置:terminal.integrated.profiles.windows

 使用

【2021】]vscode git bash终端配置:terminal.integrated.profiles.windows

 

 

  

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2021-04-13
  • 2021-09-10
  • 2021-09-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-06-21
  • 2022-12-23
  • 2021-04-01
相关资源
相似解决方案