首页 > 其他 > 详细

vscode 设置终端无效

时间:2021-07-12 10:45:41      阅读:84      评论:0      收藏:0      [点我收藏+]

The Windows profiles to present when creating a new terminal via the terminal dropdown. Set to null to exclude them, use the source property to use the default detected configuration. Or, set the path and optional args

vscode setting.json

// ...
"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": {
    "source": "GitBash",
    // "path": ["D:\\Programs\\Git\\bin\\bash.exe"],
    "icon": "terminal-bash"
  }
},
"terminal.integrated.defaultProfile.windows": "GitBash",

vscode 设置终端无效

原文:https://www.cnblogs.com/guangzan/p/14999982.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!