【问题标题】:Why am I getting an error in VS code for the terminal.integrated.shell.windows path?为什么终端.integrated.shell.windows 路径的 VS 代码出现错误?
【发布时间】:2021-05-27 19:43:27
【问题描述】:

我在可视化代码中收到以下错误:

"terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"

添加 js 文件时出现错误。我需要改变路径吗?如果是,是什么?

【问题讨论】:

    标签: json visual-studio-code settings


    【解决方案1】:

    尝试使用

    "terminal.integrated.defaultProfile.windows": "Git Bash",

    如果您仍然遇到问题,请像这样从命令面板中选择默认终端

    VSCode 现在会自动检测 Git-bash 和其他终端,因此您无需指定路径。

    【讨论】:

      猜你喜欢
      • 2021-10-17
      • 2018-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-30
      • 2023-02-06
      • 2014-07-31
      相关资源
      最近更新 更多