AI-powered code completion plugin for JetBrains IDEs.
- JDK 21+
- IntelliJ IDEA 2025.2+ (or compatible JetBrains IDE)
-
Clone the repository:
git clone https://github.com/yaroslavborbat/supermaven-jetbrains.git cd supermaven-jetbrains -
Run the plugin in a sandboxed IDE:
./gradlew runIde
This will download the required IDE and start it with the plugin installed.
-
Build the plugin:
./gradlew buildPlugin
-
The plugin archive will be created at:
build/distributions/supermaven-jetbrains-1.0-SNAPSHOT.zip -
Install in your IDE:
- Open your JetBrains IDE
- Go to Settings → Plugins → ⚙️ (gear icon) → Install Plugin from Disk...
- Select the
.zipfile frombuild/distributions/ - Restart the IDE
After installation:
- The plugin will automatically start and download the Supermaven agent
- You'll see a notification to activate Supermaven (Pro or Free version)
- Code completions will appear as you type
| Action | Shortcut |
|---|---|
| Accept completion | Tab |
| Accept word | Ctrl+Right (configurable) |
| Dismiss completion | Escape |
- Supermaven: Use Pro — Open activation page for Pro version
- Supermaven: Use Free Version — Use free tier
- Supermaven: Logout — Log out from Supermaven
src/
├── main/
│ ├── kotlin/supermaven/supermavenjetbrains/
│ │ ├── actions/ # IDE actions (menu items, shortcuts)
│ │ ├── binary/ # Communication with Supermaven agent
│ │ ├── completion/ # Completion rendering and text processing
│ │ ├── config/ # Plugin configuration
│ │ ├── SupermavenService.kt # Main service
│ │ ├── SupermavenProjectActivity.kt # Startup activity
│ │ └── SupermavenToolWindowFactory.kt
│ └── resources/
│ └── META-INF/plugin.xml
# Run plugin in sandbox IDE
./gradlew runIde
# Build plugin archive
./gradlew buildPlugin
# Run tests
./gradlew test
# Verify plugin compatibility
./gradlew verifyPluginMIT