Coder Social home page Coder Social logo

ezhangjun / auto-dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unit-mesh/auto-dev

0.0 0.0 0.0 2.21 MB

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

Home Page: https://ide.unitmesh.cc/

License: Mozilla Public License 2.0

Java 0.22% Kotlin 99.78%

auto-dev's Introduction

AutoDev

Build Version Downloads

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

features:

  • languages support: Java, Kotlin (maybe ?)
  • Auto development mode. With DevTi Protocol (like devti://story/github/1102) will auto generate Controller-Service-Model code.
  • Smart code completion. Based on your code context like (Controller, Service import), AutoDev will suggest you the best code.
  • AI assistant. AutoDev will help you find bug, explain code, trace exception, and more.
  • Custom prompt. You can custom your prompt in Settings -> Tools -> DevTi
  • Custom LLM Server. You can custom your LLM Server in Settings -> Tools -> DevTi
  • Smart architecture. With ArchGuard Co-mate DSL, AutoDev will help you design your architecture.

Usage

  1. Install
    • method 1. Install from JetBrains Plugin Repository: AutoDev
    • method 2. Download plugin from release page: release and install plugin in your IDE
  2. configure GitHub Token (optional) and OpenAI config in Settings -> Tools -> DevTi

Token Configure

CodeCompletion mode

Right click on the code editor, select AutoDev -> CodeCompletion -> CodeComplete

Code completion

Copilot mode

  1. click as you want:

Copilot Mode

AutoCRUD mode

  1. add // devti://story/github/1 comments in your code.
  2. configure GitHub repository for Run Configuration.
  3. click AutoDev button in the comments' left.

Run Screenshots:

AutoDev

Output Screenshots:

AutoDev

Development

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

Custom prompt

{
  "auto_complete": {
    "instruction": "",
    "input": ""
  },
  "auto_comment": {
    "instruction": "",
    "input": ""
  },
  "code_review": {
    "instruction": "",
    "input": ""
  },
  "refactor": {
    "instruction": "",
    "input": ""
  },
  "write_test": {
    "instruction": "",
    "input": ""
  }
}

License

ChatUI based on: https://github.com/Cspeisman/chatgpt-intellij-plugin

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.