更改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 进行测试
相关推荐
德彪稳坐倒骑驴3 小时前
Git常用命令
git
无限进步_3 小时前
【C语言&数据结构】对称二叉树:镜像世界的递归探索
c语言·开发语言·数据结构·c++·git·算法·visual studio
qq_5470261796 小时前
Git 使用指南
git
木风小助理7 小时前
`mapfile`命令详解:Bash中高效的文本至数组转换工具
开发语言·chrome·bash
XiaoHu02077 小时前
Linux多线程(详细全解)
linux·运维·服务器·开发语言·c++·git
*才华有限公司*8 小时前
RTSP视频流播放系统
java·git·websocket·网络协议·信息与通信
juelianhuayao9 小时前
Git错误提交后如何快速删除本次commit
git
chen<>9 小时前
Git原理与应用
大数据·git·elasticsearch·svn
小兔崽子去哪了10 小时前
Git 专题
git
金米kk10 小时前
git pull时报错Your local changes to the following files would…的解决办法
git