AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How to Configure Supermaven in JetBrains IDEs: Eliminating Keymap Conflicts and Optimizing Latency

Nicolas Henriet · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

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

  1. Open the IDE Settings dialog:
    • Windows / Linux: Ctrl + Alt + S (or File > Settings)
    • macOS: Cmd + , (or IntelliJ IDEA > Settings)
  2. Navigate to Editor > General > Code Completion > Inline (in some versions, Editor > General > Inline Completion).
  3. Under Enable inline completion using language models, uncheck the setting entirely, or specifically uncheck the Local (Full Line) option.
  4. 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:

Implementation Steps

  1. Open Settings (Ctrl + Alt + S / Cmd + ,) and select Keymap.
  2. In the top-right search box, search for Choose Lookup Item Replace.
  3. Right-click the action, select Remove Tab, and confirm. (Note: Verify that Choose Lookup Item remains mapped to Enter, allowing normal dropdown selections without interfering with Tab.)
  4. Search for Supermaven or Insert 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) or Option + Right (macOS).
  5. 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.
ActionDefault Shortcut365Finds Recommended ShortcutPurpose
Accept Supermaven SuggestionTabTabAccept complete AI inline proposal
Accept Next WordUnassigned / ContextualAlt + Right (or Option + Right)Incrementally accept partial tokens
Accept Standard Lookup ItemEnterEnterChoose item from native IntelliSense popup
Lookup Item ReplaceTabRemoved (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:

  1. EDT Congestion: The IDE's single UI thread is overwhelmed by competing background indexers or local ML models.
  2. Context Bloat: The sm-agent process 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.

  1. Verify .gitignore: Ensure standard directories (node_modules, dist, target, vendor, .git) are explicitly ignored. sm-agent automatically respects gitignore rules.
  2. Create .supermavenignore: In the root of your project repository, create a dedicated .supermavenignore file to block heavy non-code assets, large datasets, or sensitive credentials from entering sm-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/
  1. Mark Directories as Excluded in JetBrains:
    • In the JetBrains Project Tool Window, right-click directories such as build, dist, or coverage.
    • 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.

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.


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.

  1. 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.
  2. 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:

  1. Disabling JetBrains Full Line Code Completion to free CPU cycles and eliminate visual ghost collisions;
  2. Stripping Tab from Choose Lookup Item Replace to give Supermaven unambiguous keymap priority;
  3. Deploying .supermavenignore and folder exclusions to keep sm-agent focused 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.

References