https://github.com/avin/magic-code-completion
AI code completion for JetBrains IDEs
https://github.com/avin/magic-code-completion
ai code-completion developer-tools intellij-idea jetbrains jetbrains-plugin llm
Last synced: 26 days ago
JSON representation
AI code completion for JetBrains IDEs
- Host: GitHub
- URL: https://github.com/avin/magic-code-completion
- Owner: avin
- License: gpl-3.0
- Created: 2026-01-18T19:14:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-01-29T18:42:08.000Z (5 months ago)
- Last Synced: 2026-01-30T05:14:22.426Z (5 months ago)
- Topics: ai, code-completion, developer-tools, intellij-idea, jetbrains, jetbrains-plugin, llm
- Language: Kotlin
- Homepage:
- Size: 368 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magic Code Completion
JetBrains IDEs plugin for AI-assisted code completion using OpenAI-compatible APIs with agentic file reading and multi-edit capabilities.
## How to Use
### Initial Setup
1. Open **Tools → Magic Code Completion** in your IDE
2. Configure API access to your LLM (we recommend using advanced reasoning models for better code quality)
3. Specify glob patterns for files you want the LLM to see - during completion generation, the LLM will see the list of these files and can read them if needed to expand context
### Using the Plugin
1. Place your cursor at the location where you want code completion
2. Press **Alt+I**
3. The plugin sends your current file (with cursor position) and file tree to the LLM
4. The LLM either requests additional file contents or generates code completion immediately
5. Changes are applied automatically
## Why this plugin?
This plugin is a good addition to the AI tools you already have for development.
### Better than standard autocomplete
- 🌳 Sees entire project structure, not just nearby lines
- 📖 Reads relevant files on demand for context-aware completions
- 🧠 Uses advanced reasoning models instead of basic pattern matching
### More convenient than chat agents
- ⌨️ Single hotkey (Alt+I) at cursor position - no switching windows
- 🎯 Focused action: "complete here" vs. vague multi-file chat requests
## Already have a subscription instead of API?
If you already have subscriptions like Codex, Claude Code, GitHub Copilot (and others), you can use them instead of buying separate API access. Use [CLIProxyAPIPlus](https://github.com/router-for-me/CLIProxyAPIPlus) to proxy your subscription into an OpenAI-compatible API.