Integrating Supermaven into JetBrains IDEs—including IntelliJ IDEA, PyCharm, WebStorm, and GoLand—delivers ultra-fast, sub-250ms AI code completions. However, developers frequently encounter severe friction right out of the box: erratic cursor jumping, accidental overwrites when pressing Tab, dual overlapping ghost text, and intermittent UI latency spikes.
These issues are not bugs in Supermaven's core engine. They stem from architectural competition between Supermaven's background daemon (sm-agent) and JetBrains' native completion systems—specifically the built-in Full Line Code Completion engine and legacy lookup keymap defaults.
At 365Finds, our research and practical benchmarking lead to an unambiguous conclusion: Supermaven and JetBrains' native local completion engines cannot peacefully coexist. Attempting to run both degrades editor responsiveness and fractures developer muscle memory. To unlock Supermaven's full speed, engineers must disable JetBrains' local ML models, decouple Tab from traditional lookup replacement, and aggressively prune repository context.
This guide provides the complete, field-tested configuration pipeline to achieve a zero-conflict, low-latency setup across the entire JetBrains product family.
1. Eliminate Dual Ghost Text: Disable JetBrains Full Line Completion
Modern JetBrains IDEs (version 2024.1 and newer) come bundled with Full Line Code Completion, a local deep learning model that predicts code on the user's device using CPU AVX2 instructions. When Supermaven is installed alongside it, both engines attempt to render inline ghost text at the active caret simultaneously.
This simultaneous rendering creates visual artifacts, causes text flickering, and forces the JetBrains Event Dispatch Thread (EDT) to handle heavy local neural net inference while streaming network tokens from Supermaven.
+----------------------------------------------------------------+
| JetBrains Editor Caret |
| ├── JetBrains Local Full Line Model (Heavy CPU / AVX2) | <-- CONFLICT
| └── Supermaven Ghost Text (sm-agent sub-250ms stream) |
+----------------------------------------------------------------+
Configuration Steps
- Open the IDE Settings dialog:
- Windows / Linux:
Ctrl + Alt + S(or File > Settings) - macOS:
Cmd + ,(or IntelliJ IDEA > Settings)
- Windows / Linux:
- Navigate to Editor > General > Code Completion > Inline (in some versions, Editor > General > Inline Completion).
- Under Enable inline completion using language models, uncheck the setting entirely, or specifically uncheck the Local (Full Line) option.
- Alternative / Recommended Clean Sweep: Navigate to Plugins > Installed, search for
Full Line Code Completion, uncheck the plugin, and restart your IDE.
Disabling this bundled feature removes local CPU load, eliminates rendering collisions, and ensures that all inline ghost text originates solely from Supermaven.
2. Reconstruct the Keymap Architecture: The "Tab vs. Enter" Separation
The most disruptive pain point in JetBrains IDEs is the Tab key collision. By default, JetBrains assigns Tab to Choose Lookup Item Replace (which selects an item from the traditional auto-completion dropdown and overwrites existing characters to the right of the cursor). At the same time, Supermaven uses Tab to accept ghost text suggestions.
When a developer types a character, a standard IntelliSense dropdown often flashes for a few milliseconds while Supermaven streams an inline proposal. Pressing Tab triggers a race condition: the IDE may overwrite subsequent code instead of accepting the AI proposal, or it may swallow indentations unpredictably.
Default Keymap Conflict:
┌──────────────┐ Press [Tab] ┌─────────────────────────────────────────┐
│ Caret Active │ ──────────────────> │ JetBrains: Choose Lookup Item Replace │
└──────────────┘ │ Supermaven: Insert Inline Proposal │
└─────────────────────────────────────────┘
↳ Result: Overwritten text & jumpy caret
The 365Finds Recommended Keymap Architecture
We strongly recommend establishing a strict functional boundary:
Enterhandles traditional JetBrains lookup dropdowns (Choose Lookup Item).Tabis reserved exclusively for accepting Supermaven inline proposals.- A dedicated chord (such as
Alt + Right ArroworOption + Right Arrow) is assigned to partial word acceptance.
Implementation Steps
- Open Settings (
Ctrl + Alt + S/Cmd + ,) and select Keymap. - In the top-right search box, search for
Choose Lookup Item Replace. - Right-click the action, select Remove Tab, and confirm.
(Note: Verify that
Choose Lookup Itemremains mapped toEnter, allowing normal dropdown selections without interfering withTab.) - Search for
SupermavenorInsert Inline Proposal.- Ensure Insert Proposal / Accept Suggestion is set to
Tab. - If you want granular control, assign Insert Inline Proposal's Word to
Alt + Right(Windows/Linux) orOption + Right(macOS).
- Ensure Insert Proposal / Accept Suggestion is set to
- Adjust Lookup Popup Trigger Behavior:
- Go to Editor > General > Code Completion > Popup.
- Ensure the option Insert selected suggestion by pressing space, dot, or other context-dependent keys is unchecked. This prevents accidental insertion of half-formed dropdown choices while typing toward a Supermaven suggestion.
| Action | Default Shortcut | 365Finds Recommended Shortcut | Purpose |
|---|---|---|---|
| Accept Supermaven Suggestion | Tab | Tab | Accept complete AI inline proposal |
| Accept Next Word | Unassigned / Contextual | Alt + Right (or Option + Right) | Incrementally accept partial tokens |
| Accept Standard Lookup Item | Enter | Enter | Choose item from native IntelliSense popup |
| Lookup Item Replace | Tab | Removed (or Shift + Tab) | Eliminates caret hijacking on Tab |
3. sm-agent Mechanics and Latency Optimization
Supermaven achieves its performance through a compiled background helper daemon named sm-agent. The JetBrains plugin spawns this binary as a local child process and communicates with it via standard input/output (stdio) streaming JSON-RPC payloads.
A common misconception among developers is that Supermaven has a configurable debounce or response delay slider inside JetBrains settings. It does not. Supermaven is architected for continuous, unthrottled streaming on almost every keystroke.
When engineers experience completion lag, UI micro-stutters, or delayed suggestions, the bottleneck is almost always caused by one of two factors:
- EDT Congestion: The IDE's single UI thread is overwhelmed by competing background indexers or local ML models.
- Context Bloat: The
sm-agentprocess is attempting to scan and index tens of thousands of irrelevant, unignored files across deep directory hierarchies.
Actionable Latency Tuning Steps
A. Configure Project-Level Exclusion Rules
Supermaven reads your workspace to populate its large context window (up to 1 million tokens on Pro plans). If your project contains large build artifacts, compiled bundles, or package dependencies, sm-agent spends excessive cycles traversing file trees.
- Verify
.gitignore: Ensure standard directories (node_modules,dist,target,vendor,.git) are explicitly ignored.sm-agentautomatically respects gitignore rules. - Create
.supermavenignore: In the root of your project repository, create a dedicated.supermavenignorefile to block heavy non-code assets, large datasets, or sensitive credentials from enteringsm-agent's context buffer:
# Build outputs and dependency trees
node_modules/
dist/
build/
target/
.gradle/
vendor/
# Large data and log files
*.log
*.sqlite
*.csv
*.jsonl
*.min.js
*.map
# IDE metadata
.idea/
- Mark Directories as Excluded in JetBrains:
- In the JetBrains Project Tool Window, right-click directories such as
build,dist, orcoverage. - Select Mark Directory as > Excluded.
- This prevents JetBrains' internal indexer from watching these files, drastically reducing background disk I/O and freeing up process bandwidth for
sm-agent.
- In the JetBrains Project Tool Window, right-click directories such as
B. Enterprise Proxy and Network Latency
If you work behind an enterprise firewall or corporate proxy, sm-agent can stall when attempting to reach Supermaven's low-latency streaming endpoints.
- Ensure standard environment variables (
HTTP_PROXY,HTTPS_PROXY,NO_PROXY) are configured at the operating system level, assm-agentruns as a distinct native binary that inherits system-level environment variables rather than JetBrains-only proxy overrides.
4. Scope Control: Filetype and Workspace Filtering
Supermaven is not equally useful in every file buffer. Running AI completions in database consoles, sensitive .env files, or large configuration dumps introduces visual clutter without adding engineering value.
- Language & Status Bar Toggle:
- You can toggle Supermaven globally or for specific languages directly via the Supermaven status bar widget in the bottom-right corner of the IDE window.
- Alternatively, open Settings > Tools > Supermaven to toggle off support for plain text, markdown, or SQL files.
- Account Tier Verification:
- On the Free tier, Supermaven operates with a smaller context window and standard processing queues. If your codebase is large, upgrading to Supermaven Pro unlocks the 1-million-token context window and the largest model tier, reducing token starvation and improving completion accuracy.
Summary & Institutional Verdict
JetBrains IDEs provide some of the deepest static code analysis available, while Supermaven provides unmatched autocomplete speed. However, pairing them requires deliberate architectural intervention.
By executing three precise adjustments:
- Disabling JetBrains Full Line Code Completion to free CPU cycles and eliminate visual ghost collisions;
- Stripping
TabfromChoose Lookup Item Replaceto give Supermaven unambiguous keymap priority; - Deploying
.supermavenignoreand folder exclusions to keepsm-agentfocused strictly on relevant application code;
software engineers can eliminate 100% of cursor stutter and keymap collisions, establishing an uninterrupted, instant AI completion workflow in JetBrains.