Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Toggle Tab CompletionNew to Visual Studio Code? Get it now.
Toggle Tab Completion

Toggle Tab Completion

Stefano Aldegheri

|
23 installs
| (0) | Free
A single button and hotkey to toggle both Github Copilot Tab Completion and Inline Ghost Text.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toggle Tab Completion

A simple but powerful VS Code extension to quickly enable or disable all code completions—both standard tab completions and "ghost text" inline suggestions— for GitHub Copilot with a single command.

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Rating

Overview

Modern code editors and AI assistants provide amazing autocompletion features. However, sometimes you need to focus or prevent suggestions from appearing. Manually toggling two separate settings (editor.tabCompletion and editor.inlineSuggest.enabled) is tedious. This extension solves that by binding both settings to a single, convenient status bar button and hotkey.

Features

  • One-Click Status Bar Toggle: A clear icon in your status bar shows you if completions are active (✔) or inactive (✘). Just click it to toggle.
  • Synchronized Settings: Instantly enables or disables both standard Tab Completion and Ghost Text (inline suggestions) together.
  • Smart Scope Detection: The extension intelligently updates your settings at the Global level and, if a Workspace setting already exists, at the Workspace level.
  • Customizable Hotkey: Comes with a convenient default hotkey (Ctrl+q Ctrl+tab), which can be easily changed in VS Code's Keyboard Shortcuts editor.

Installation

  1. Launch Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  3. Search for Toggle Completion.
  4. Click Install.

Usage

Once installed, you can toggle completions in two ways:

  1. Status Bar: Click the ✔ All Completions or ✘ All Completions text in the status bar (usually in the bottom-right corner).
  2. Command Palette: Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P), search for "Toggle All Completions", and press Enter.
  3. Keyboard Shortcut: Use the default hotkey Ctrl+q Ctrl+tab (or Cmd+q Cmd+tab on macOS).

Customizing the Hotkey

You can change the default keyboard shortcut by going to File > Preferences > Keyboard Shortcuts (or Ctrl+K Ctrl+S) and searching for the command toggle-tab-completion.toggle.

Extension Settings

This extension does not add its own unique settings. Instead, it modifies the following built-in VS Code settings:

  • editor.tabCompletion (values: "on" or "off")
  • editor.inlineSuggest.enabled (values: true or false)

Release Notes

For detailed release notes, please see the CHANGELOG.md file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft