Installing GitHub Copilot and Tabnine in the same editor usually starts with good intentions. A development team wants to evaluate both AI engines before committing to an enterprise contract, or an engineer wants to leverage Tabnine's privacy-focused local completions alongside GitHub Copilot's cloud-backed multi-line generation.
Out of the box, however, the experience is a mess.
Both extensions hook into the editor's inline completion pipeline. As soon as you pause typing, both extensions fire network or local inference requests. The editor begins flickering gray ghost text back and forth depending on which model responds five milliseconds faster. Hit Tab, and you play Russian roulette: did you just accept a twenty-line asynchronous function from GitHub Copilot, or a single variable snippet from Tabnine? In JetBrains IDEs, competing handlers often cancel each other out completely, leaving you with four unwanted spaces.
At 365Finds, our stance is clear: never let two AI models compete for the exact same unconstrained inline ghost-text slot. Coexistence only makes sense when you enforce strict functional boundaries or explicit manual triggers.
Here is how to set up both tools cleanly in Visual Studio Code and JetBrains IDEs without losing your mind or your shortcuts.
Why the Conflict Happens
To fix the collision, you have to understand what both extensions fight over:
- The
TabKey Hijack: Both extensions map their completion acceptance toeditor.action.inlineSuggest.commit(in VS Code) or theTabkeymap handler (in JetBrains). When both claim priority, the editor's keybinding resolver either picks the last registered extension arbitrarily or chokes. - Ghost Text Race Conditions: VS Code supports multiple inline completion providers through its
InlineCompletionsProviderAPI. If both are active, pressingAlt + ]/Option + ]can cycle between their proposals, but automatic rendering creates visual jitter while typing. - Manual Trigger Collisions: Both default to common key chords like
Alt + \orCtrl + Space, overriding standard language server autocompletions.
Strategy 1: The Hybrid Division of Labor (365Finds Recommended)
If you intend to use both tools every day, do not treat them as identical autocomplete engines. Divide their responsibilities:
- GitHub Copilot handles ghost text (macro generation): Let Copilot own the inline gray suggestions and multi-line scaffolding via
Tab. - Tabnine handles the IntelliSense pop-up (micro precision): Restrict Tabnine to classic contextual pop-up menus (
Ctrl + Space) or localized privacy-safe token matching, completely disabling its inline ghost-text overlay.
Configuring VS Code for Hybrid Coexistence
- Open the Tabnine settings hub by clicking the Tabnine icon in the VS Code status bar (bottom right), or run
Tabnine: Open Settingsfrom the Command Palette (Ctrl + Shift + P/Cmd + Shift + P). - In the Tabnine configuration panel, locate Inline Completions and turn them off. Ensure standard Code Completion (IntelliSense dropdown) remains active.
- Open your user
settings.json(Preferences: Open User Settings (JSON)) and ensure GitHub Copilot has unobstructed control over inline suggestions:
{
"editor.inlineSuggest.enabled": true,
"editor.inlineSuggest.suppressSuggestions": false,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false
}
}
With this setup, GitHub Copilot renders inline ghost text as you write. If you prefer a granular, local variable or method suggestion from Tabnine, pressing Ctrl + Space brings up the IntelliSense widget containing Tabnine's scoped suggestions without ghost-text flickering.
Strategy 2: Side-by-Side Evaluation via Dedicated Manual Triggers
If your team is running an A/B benchmark to compare GitHub Copilot and Tabnine directly on identical codebases, automatic triggering must be turned off for at least one—and preferably both—tools.
Letting both trigger automatically during an evaluation skews user perception: whichever assistant has lower latency displays its ghost text first, masking the other's potential quality.
Step 1: Disable Automatic Inline Triggers in VS Code
Add the following to your VS Code settings.json:
{
"editor.inlineSuggest.enabled": true,
"github.copilot.editor.enableAutoCompletions": false
}
Step 2: Assign Mutually Exclusive Shortcuts in keybindings.json
Open keybindings.json via Command Palette (Preferences: Open Keyboard Shortcuts (JSON)) and define explicit, dedicated trigger chords:
[
{
"key": "alt+\\",
"command": "editor.action.inlineSuggest.trigger",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+c",
"command": "github.copilot.generate",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+t",
"command": "tabnine.manualTrigger",
"when": "editorTextFocus"
}
]
When you write a function header, you can deliberately press Ctrl + Alt + C to inspect GitHub Copilot's proposal, clear it with Esc, and press Ctrl + Alt + T to evaluate Tabnine's response against the same context.
Fixing Shortcut Collisions in JetBrains IDEs
In IntelliJ IDEA, WebStorm, or PyCharm, running both plugins creates severe keymap collisions because JetBrains binds Tab to multiple subsystems: live templates, native completion, and AI inlay hints.
- Disable JetBrains Native Full Line Completion:
JetBrains 2024+ includes built-in local machine-learning completions. Running native Full Line code completion alongside both GitHub Copilot and Tabnine adds a third competing engine. Navigate to Settings / Preferences (
Ctrl + Alt + S/Cmd + ,) > Editor > General > Code Completion and uncheck Enable Full Line suggestions. - Resolve the
TabKey Conflict in Keymap: Go to Settings > Keymap, click the search input, and filter byTab. Expand Plugins > GitHub Copilot and Plugins > Tabnine.- If both plugins are bound to
Tab, remove the shortcut from the secondary plugin. - If you prefer manual invocation, rebind Tabnine's Show Inline Completion to
Alt + /orCtrl + Alt + T, leavingTabassigned exclusively to GitHub Copilot'sApply Inlay Completion.
- If both plugins are bound to
- Adjust Tabnine Completion Preferences in JetBrains: Navigate to Settings > Tools > Tabnine. Switch Tabnine's completion display mode from Inline to Pop-up (IntelliSense) if you want GitHub Copilot to handle gray inlay hints.
Alternative: Profile Separation
If configuration tinkering across JSON files feels brittle, modern VS Code provides a cleaner architectural escape hatch: Profiles.
Instead of forcing two competing AI assistants into the same active editor window, create two isolated profiles:
- Open the gear menu (bottom left) -> Profiles -> New Profile...
- Create an
Evaluation-Copilotprofile with GitHub Copilot enabled and Tabnine disabled. - Create an
Evaluation-Tabnineprofile with Tabnine enabled and GitHub Copilot disabled.
You can switch profiles with two clicks, giving each extension full, uncompromised control of Tab and inline suggestion APIs without a single line of custom keybinding logic.
The 365Finds Take
At 365Finds, we find that the desire to run GitHub Copilot and Tabnine simultaneously usually exposes an underlying team divide: engineers love Copilot's multi-line generation velocity, while enterprise security leads favor Tabnine's local compliance and private VPC deployment options.
Trying to run both unmanaged on identical keystrokes delivers the worst of both worlds. The editor lags, completions fight for cursor focus, and developers end up frustrated with both tools. If you must keep both active in the same workspace, make your choice decisive: give GitHub Copilot the inline Tab lane, pin Tabnine to manual pop-ups, and verify your keybindings.json contains no duplicate entries where when clauses evaluate to editorTextFocus simultaneously.