更改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 进行测试
相关推荐
stevenzqzq1 天前
git 常用操作
大数据·git
Curvatureflight1 天前
Git工作流最佳实践:从混乱到优雅
git
wu~9701 天前
GitHub永不遗忘,使用git push -f来覆盖的提交依旧保留
git·github
Vermouth_001 天前
git clone的时候提示access denied
git
xuchaoxin13751 天前
bash中的字符串处理@输出和格式化打印@echo@printf
chrome·bash
qq_437657271 天前
清楚本地的git并重新登录
git
jiang_changsheng1 天前
工作流agent汇总分析 2
java·人工智能·git·python·机器学习·github·语音识别
xuchaoxin13751 天前
bash@特殊字符@环境变量符号@特殊参数@参数扩展和替换@字符串处理用法总结
开发语言·bash
dingdingfish1 天前
Bash 学习 - 第2章:Definitions
bash·definition
顶点多余1 天前
版本控制器-git
linux·git