更改CodeBuddy的默认terminal为Git Bash

更改CodeBuddy的默认terminal为Git Bash

背景

使用Craft模式编写代码,AI经常需要自动打开terminal自主操作,默认的terminal 是prompt,环境受限制,改为Git Bash。

操作一

  1. 打开terminal
  2. 配置terminal设置
  3. 打开settings.json
  4. 编辑
json 复制代码
{
    "CodeBuddy.preferredLanguage": "zh-cn",
    "terminal.integrated.profiles.windows": {
        "Git Bash": {
            "path": "C:\\Program Files\\Git\\bin\\bash.exe",
            "source": "Git Bash"
        }
    },
    "terminal.integrated.defaultProfile.windows": "Git Bash"
}

操作二

craft模式,一句prompt

bash 复制代码
把本IDE的默认终端改成git bash,并打开新terminal 进行测试
相关推荐
凯新生物9 小时前
聚乙二醇二生物素,Biotin-PEG-Biotin在生物检测中的应用
scala·bash·laravel·perl
sylvia_081511 小时前
git add 后pull 放弃本地所有修改
git
五阿哥永琪11 小时前
Git 开发常用命令速查手册
大数据·git·elasticsearch
柒壹漆12 小时前
用Python制作一个USB Hid设备数据收发测试工具
开发语言·git·python
爱吃番茄鼠骗13 小时前
git命令使用教程
git
黑牛先生16 小时前
【Git】解决远程仓库备注错误问题
git
小马过河R16 小时前
Codebuddy使用CloudBase MCP辅助AI编码基于Spec工作流开发的坦克大战小游戏
人工智能·团队开发·ai编程·codebuddy
一勺菠萝丶17 小时前
执行 install.sh 报错 `env: ‘bash\r‘: No such file or directory` 怎么解决?
开发语言·bash
rockmelodies17 小时前
Git冲突解决实用指南
git·git冲突
bj_zhb17 小时前
Git 回退到某个 commit
git·github