zoukankan      html  css  js  c++  java
  • vscode git bash终端配置:“”message": "此项已弃用,配置默认 shell 的新推荐方法是在 `#terminal.integrated.profiles.windows#

    当VSCode升级至1.57.1(2021.6.17)时,会出现警告提示:
    “”message": "此项已弃用,配置默认 shell 的新推荐方法是在 `#terminal.integrated.profiles.windows#

     然后我们去官网https://code.visualstudio.com/docs/editor/integrated-terminal#_configuration会看到如下设置

     我们copy到seetings.json下面 会发现报错

     已经看到提示了改成git Bash 就行了

     有的我看到是Git-Bash我的会报错不知道为什么 反正按照他的写就完事了

     最后发现还是有坑运行终端的时候直接挂了所以最后

     "terminal.integrated.profiles.windows": {
        "Git Bash": {
          "path": "C:\Windows\System32\cmd.exe",
          "args": []
        }
      },
      "terminal.integrated.defaultProfile.windows": "Git Bash",
    这么写才是最佳就没有报错了和挂终端了
    右侧打赏一下 代码改变世界一块二块也是爱
  • 相关阅读:
    [SCOI 2003] 字符串折叠
    [POJ 3252] Round Numbers
    [ZJOI 2010] 数字计数
    [POJ 2282] The Counting Problem
    [POJ 1191] 棋盘分割
    [POJ 3345] Bribing FIPA
    [POJ 2785] 4 Values whose Sum is 0
    [NOIP 2017] 列队
    [NOIP 2017] 宝藏
    基于Qt Gui的Led控制显示程序
  • 原文地址:https://www.cnblogs.com/ht955/p/15005730.html
Copyright © 2011-2022 走看看