开源辅助编程工具。

Phodal Huang 31128215d4 refactor(core): add exception handling for regex compilation 2 days ago
.github fc62feaff8 chore: disable action to add to Vcs.Log.ChangesBrowser.Popup for #240 1 week ago
.idea c30f32ae21 refactor: make buildPlugin with package works #236 3 weeks ago
.run 54a01cc5c2 refactor: AppSettingsComponent only show UI for UI state provided and export current UI state. 1 year ago
core 31128215d4 refactor(core): add exception handling for regex compilation 2 days ago
cpp cd8252df51 lint: fix warining for base method 6 months ago
csharp b71e8c3360 feat(csharp): remove CsharpContextPrompter and refactor CSharpClassContextBuilder to use DefaultContextPrompter #151 6 months ago
docs 2ba6787054 Update auto-arkui.md 1 month ago
example 8b7db54eb3 feat(ext-context): add auto-test API endpoint with user stories 4 months ago
exts ebf54ba2c6 chore: disable placeholder for #240 1 week ago
goland 20a1fd0130 chore: fix go Compatibility issue 2 weeks ago
gradle c30f32ae21 refactor: make buildPlugin with package works #236 3 weeks ago
java 7a84fec8bb chore: ignore failured test for new IDEA platform 2 weeks ago
javascript 01164dd4ae refactor/javascript: optimize TypeScript refactoring tool #181 4 months ago
kotlin e3083420e9 refactor(logging): add error logging in KotlinRefactoringTool 3 months ago
local-bundle eb07fafe93 docs(local-bundle): add README and refactor action class 5 months ago
pycharm 7a84fec8bb chore: ignore failured test for new IDEA platform 2 weeks ago
rust 358f045c26 feat(python): add PythonContextTest class and related imports 5 months ago
scala 95002f64df test(testing): update test configurations and dependencies 2 weeks ago
src a884459b6c feat(build.gradle.kts): add IntelliJ platform plugins and tasks #236 3 weeks ago
.adr.json 55a103eb6c feat(autodev-pair): init AutoDev Pair documentation and tool window 9 months ago
.gitignore a8eb5a7de6 chore: update PythonCore by version #236 3 weeks ago
CHANGELOG.md da94f828df docs: update changelog 2 months ago
CNAME 6e0709c870 docs: update CNAME 1 year ago
LICENSE 95e85389b8 docs: add licenses 1 year ago
README.md c56339051f Update README.md 3 weeks ago
build.gradle.kts 95002f64df test(testing): update test configurations and dependencies 2 weeks ago
gradle-222.properties 955c977ea6 chore(gradle): update PythonCore plugin version in gradle properties #234 3 weeks ago
gradle-233.properties a8eb5a7de6 chore: update PythonCore by version #236 3 weeks ago
gradle-241.properties a6b698712d chore: update until build to 243 3 weeks ago
gradle.properties fc62feaff8 chore: disable action to add to Vcs.Log.ChangesBrowser.Popup for #240 1 week ago
gradlew 59f9e86849 Initial commit 1 year ago
gradlew.bat 59f9e86849 Initial commit 1 year ago
settings.gradle.kts 9886af317a chore: disable cshap in source code 3 weeks ago

README.md

logo

AutoDev for Intellij

Build Powered By

🧙‍AutoDev: The AI-powered coding wizard with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Customizable prompts 🎨 and a magic Auto Dev/Testing/Document/Agent feature 🧪 included! 🚀

VSCode Version: https://github.com/unit-mesh/auto-dev-vscode

Quick Start →

DevIns — AI Agent language for AutoDevelopment → which you can use follow syntax as bridges for Human-AI-IDE:

/write:src/main/java/cc/unitmesh/Controller.java#L1-L12

```java
public class Controller {
    public void method() {
        System.out.println("Hello, World!");
    }
}
```

With built-in syntax highlighting and auto-completion, you can use DevIns as next-generation AI Agent language.

AutoDev Architecture

Here is the AutoDev architecture:

AutoDev Feature Overview

Overview

Features:

  • Languages support: Java, Kotlin, JavaScript/TypeScript, Rust, Python, Golang, C/C++/OC, or others...
  • Auto development mode
    • AutoCRUD (Spring framework). With DevTi Protocol (like devti://story/github/1102) will auto generate Model-Controller-Service-Repository code.
    • AutoSQL (required Database plugin). Context-aware SQL generation.
    • AutoPage (React). Context-aware Web Page generation.
    • AutoArkUI (HarmonyOS). Auto generate HarmonyOS ArkUI code.
    • AutoTesting. create unit test intention, auto run unit test and try to fix test.
    • AutoDocument. Auto generate document.
  • Copilot mode
    • AutoDev will help you find bug, explain code, trace exception, generate commits, and more.
    • Pattern specific. Based on your code context like (Controller, Service import), AutoDev will suggest the best code to you.
    • Related code. Based on recent file changes, AutoDev will call calculate similar chunk to generate the best code.
  • Chat with AI. Chat with selection code and context-aware code.
  • Customize.
    • Custom specification of prompt. For example, Controller, Service, Repository, Model, etc.
    • Custom intention action. You can add your own intention action.
    • Custom LLM Server. You can customize your LLM Server in Settings -> Tools -> AutoDev
    • Custom Living documentation. Customize your own living documentation, like annotation.
    • Team AI. Customize your team prompts in codebase, and distribute to your team.
    • Prompt override. You can override AutoDev's prompt in your codebase.
  • SDLC
    • VCS. Generate/improve commit message, release note, and more.
    • Code Review. Generate code-review content.
    • Smart Refactoring. AI based Rename, refactoring with code smell, refactoring suggetion and more.
    • Dockerfile. Based on your project, generate Dockerfile.
    • CI/CD config. Based on build tool, generate CI/CD config file, like .github/workflows/build.yml.
    • Terminal. In Terminal ToolWindow, you can use custom input to generate shell/command
  • Custom AI Agent
    • Executable AI Agent language: DevIns.
    • Custom AI Agent. You can integrate your own AI Agent into AutoDev.
  • Model
    • Built-in LLM Fine-tune
    • UnitEval evaluate llm result
    • UnitGen generate code-llm fine-tune data.

AutoDev fine-tune models:

download from HuggingFace

name model download (HuggingFace) model download (OpenBayes)
DeepSeek 6.7B AutoDev Coder AutoDev Coder](https://openbayes.com/console/phodal/models/rCmer1KQSgp/9/overview)

Language Features

Language Support

We follow Chapi AST analysis engine for language support tier.

Features Java Python Go Kotlin JS/TS C/C++ C# Scala Rust ArkTS
Chat Language Context
Structure AST
Doc Generation
Precision Test Generation
Precision Code Generation
AutoCRUD

Extensions

see in exts

Demo

DevIns Language demo (Bilibili) - 中文

Watch the video

Video demo (YouTube) — English

Watch the video

Video demo (Bilibili) - 中文

Watch the video

Useful Links

Who is using AutoDev?

Welcome to add your company here.

  • Thoughtworks, a leading technology consultancy.

License

Regarding the matter discussed in the LICENSE issue at the project's outset, we want to address the complexity of JetBrain plugin development. In the process, we referenced certain code and API designs from the JetBrains Community version and the JetBrains AI Assistant plugin. JetBrains understandably reserves the right to view this as potential infringement on their intellectual property.

Therefore, as of April 2024, AutoDev is no longer available on the JetBrains Plugin Marketplace. However, for older versions' AutoDev, you can access downloads from our Releases page.

Additionally, we extend a warm invitation to participate in the development of the VSCode version. Your contributions are greatly appreciated.

Known License issues: JetBrain plugin development is no walk in the park! Oops, we cheekily borrowed some code from the JetBrains Community version and the super cool JetBrains AI Assistant plugin in our codebase. But fret not, we are working our magic to clean it up diligently! 🧙‍♂️✨.

Those codes will be removed in the future, you can check it in src/main/kotlin/com/intellij/temporary, if you want to use this plugin in your company, please remove those codes to avoid any legal issues.

This code is distributed under the MPL 2.0 license. See LICENSE in this directory.