imneov / auto-dev

AutoDev 是一款 Intellij IDEA 的 LLM/AI 辅助编程插件。AutoDev 能够与您的需求管理系统(例如 Jira、Trello、Github Issue 等)直接对接。在 IDE 中,您只需简单点击,AutoDev 会根据您的需求自动为您生成代码。您所需做的,仅仅是对生成的代码进行质量检查。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoDev

AutoDev 是一款高度自动化的 AI 辅助编程工具。AutoDev 能够与您的需求管理系统(例如 Jira、Trello、Github Issue 等)直接对接。在 IDE 中,您只需简单点击,AutoDev 会根据您的需求自动为您生成代码。您所需做的,仅仅是对生成的代码进行质量检查。

Usage

  1. Install
    • method 1. Download plugin from release page: release
    • method 2. Install plugin in your IDE
  2. configure GitHub and OpenAI config

Copilot mode

Click as you want:

Copilot Mode

AutoCRUD mode

  1. add // devti://story/github/1 comments in your code
  2. click AutoDev button in the right top corner of the IDE

Token Configure:

Token Configure

Run Screenshots:

AutoDev

Output Screenshots:

AutoDev

原理

AutoDev 处理过程:

  1. 对接了需求系统,从需求系统中获取到需求文档
  2. 根据需求文档,自动分析需求,并完善需求文档
  3. 根据完善后的需求,寻找最适合的 Endpoint,即 Controller
  4. 根据 Endpoint,自动生成 Controller 代码
  5. 根据 Controller 代码,自动生成 Service 代码
  6. 根据 Service 代码,自动生成 Repository 代码

Todos

  • Languages Support
    • Java
  • DevTi Protocol
    • format 1: devti://story/github/1102
  • Intelli code change
    • Endpoint modify suggestions
    • Controller Suggestion
      • import all Spring Controller imports
      • auto update imports
    • Service Suggestion
    • Repository Suggestion
    • Model Suggestion
  • Code AI
    • Generate code
    • Generate test
    • Add comments
    • Generate document
    • Fix bug...

DevTi Todos:

LoRA Training

  • UserStory Analysis
  • Endpoint Suggestion
  • Code Suggestion

DevTi Server

  • OpenAI Proxy ?

Development

  1. git clone https://github.com/unit-mesh/AutoDev.git
  2. open in IntelliJ IDEA

License

@Thoughtworks AIEEL Team. This code is distributed under the MPL 2.0 license. See LICENSE in this directory.

About

AutoDev 是一款 Intellij IDEA 的 LLM/AI 辅助编程插件。AutoDev 能够与您的需求管理系统(例如 Jira、Trello、Github Issue 等)直接对接。在 IDE 中,您只需简单点击,AutoDev 会根据您的需求自动为您生成代码。您所需做的,仅仅是对生成的代码进行质量检查。

License:Mozilla Public License 2.0


Languages

Language:Kotlin 98.7%Language:Lex 0.9%Language:Java 0.4%