One Platform. All Phases. Every Device.
🧙 AI-powered coding wizard with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying assistant 🐞! Built with Kotlin Multiplatform for cross-platform capabilities. 🚀
This is the Xiuper edition of AutoDev, rewritten from the ground up with Kotlin Multiplatform to deliver a unified platform for all development phases across every device.
- 💬 Chat Mode: Interactive AI assistant with context-aware code understanding
- 🔍 CodeLens: Inline AI actions above functions and classes
- Quick Chat, Explain Code, Optimize Code
- Auto Comment, Auto Test, Auto Method
- 🧪 Auto Test Generation: Generate unit tests with Tree-sitter AST parsing
- 📝 Auto Documentation: Generate JSDoc/DocString comments
- 🔧 Code Actions: Explain, optimize, and fix code with AI
- 🤖 Agent Support: Extensible agent system via MCP (Model Context Protocol)
- 🌐 Multi-LLM Support: OpenAI, Anthropic, Google, DeepSeek, Ollama, OpenRouter
- Install the Extension: Search for "AutoDev Xiuper" in VSCode Marketplace
- Configure LLM Provider: Open Settings → AutoDev → Set your API key and model
- Start Coding: Press
Cmd+Shift+A(Mac) /Ctrl+Shift+A(Windows/Linux) to open chat
{
"autodev.provider": "openai",
"autodev.model": "gpt-4o-mini",
"autodev.apiKey": "your-api-key-here"
}{
"autodev.codelens.enable": true,
"autodev.codelens.displayMode": "expand",
"autodev.codelens.items": [
"quickChat",
"autoTest",
"autoComment"
]
}This version is built with:
- mpp-core: Kotlin Multiplatform core library (shared logic)
- mpp-vscode: VSCode extension (TypeScript + mpp-core via JS bindings)
- Tree-sitter: Accurate code parsing for 8 languages (TS, JS, Python, Java, Kotlin, Go, Rust, etc.)
- MCP Protocol: Model Context Protocol for IDE server integration
mpp-vscode/
├── src/ # TypeScript extension code
│ ├── extension.ts # Main entry point
│ ├── providers/ # CodeLens, Chat providers
│ ├── services/ # IDE Server, Diff Manager
│ └── commands/ # CodeLens commands
├── webview/ # React-based chat UI
├── dist/ # Build output
│ └── wasm/ # Tree-sitter WASM files
└── scripts/ # Build scripts
CodeLens and code parsing support:
- TypeScript/JavaScript (including React/TSX)
- Python
- Java
- Kotlin
- Go
- Rust
- Node.js 18+
- VSCode 1.77+
# Install dependencies
cd mpp-vscode
npm install
# Build
npm run build
# Watch mode
npm run watch
# Package extension
npm run package- Official Docs: https://vscode.unitmesh.cc/
- JetBrains IDE Version: https://github.com/unit-mesh/auto-dev
- Contributing: https://vscode.unitmesh.cc/development
If you are interested in AutoDev, you can join our WeChat group by scanning the QR code above.
(如果群二维码过期,可以添加我的微信号:phodal02,注明 AutoDev,我拉你入群)
| Feature | KMP Edition | Original VSCode |
|---|---|---|
| Chat mode | ✅ | ✅ |
| CodeLens | ✅ | ✅ |
| AutoDoc | ✅ | ✅ |
| AutoTest | ✅ | ✅ |
| Tree-sitter Parsing | ✅ | ✅ |
| MCP Protocol | ✅ | ❌ |
| Cross-platform Core | ✅ (KMP) | ❌ |
| iOS Support (Future) | 🚧 | ❌ |
| Android Support (Future) | 🚧 | ❌ |
- Basic Chat functionality
- CodeLens with Tree-sitter
- Auto Test/Doc/Method
- Multi-LLM support
- Enhanced agent system
- iOS/Android support (via KMP)
- Desktop standalone app
Apache-2.0
Built on the foundation of AutoDev VSCode, reimagined with Kotlin Multiplatform for next-generation cross-platform AI coding assistance.
