抛砖引玉: 介绍命令行AI编程工具aider以及emacs集成aider.el

aider更新以后支持 inline comment 以及file watcher 了,感觉非常不错的两个功能。

inline comment的意思就是你可以在你的代码里直接写注释来让AI干活,不需要切换到 terminal buffer 里去写 prompt 来让 ai 干活,类似这样

# refactor this function AI!
def xxx

File watcher 的意思是当检测到当前 project 文件里的注释里有更新的 ai prompt 以后会自动调用 llm 来进行输出。

感兴趣的可以看一下官网的介绍 Aider in your IDE | aider

1 个赞