AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Why GitHub Copilot Stops Triggering in VS Code and How to Fix It

Yu Jinquan · 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

Few things in modern software development feel more disorienting than phantom ghost text vanishing mid-sentence. You hit enter, indent your function, pause for GitHub Copilot to offer the boilerplate, and nothing happens. Just an empty cursor blinking back at you.

At 365Finds, we look at developer tooling through the lens of daily cognitive momentum. The real problem with GitHub Copilot dropping completions in Visual Studio Code is not that it fails—software breaks all the time. The real problem is that it fails silently. There is no pop-up dialog, no aggressive red banner, and rarely an audible warning. The engine simply goes dark, leaving you guessing whether the cloud is down, your local authentication expired, or your IDE settings quietly toggled off.

In our tracking across teams and setups, 365Finds finds that widespread server-side outages account for less than five percent of completion drops. The remaining ninety-five percent boil down to five specific friction points: cached session desynchronization, global vs. language-specific inline toggle mismatches, aggressive extension conflicts, corporate TLS/proxy inspection, and repository content exclusions.

Here is the exact diagnostic sequence we recommend to restore inline suggestions immediately.


Step 1: Decode the Status Bar and Content Exclusions

Do not touch your settings file until you glance at the bottom-right corner of the VS Code Status Bar. That tiny Copilot icon tells you what the extension thinks its environment looks like:

If the icon looks normal but suggestions still do not trigger, proceed to the session layer.


Step 2: Clear the Silent Authentication Stall

The single most common culprit behind a suddenly inert GitHub Copilot is an expired or orphaned GitHub OAuth token. VS Code often claims your GitHub account is connected under the Accounts icon, while the Copilot language client backend has lost its authorized session.

Restarting VS Code rarely fixes this because the corrupted token persists in your system keychain. We prefer a deliberate credential flush:

  1. Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS).
  2. Run GitHub Copilot: Sign Out.
  3. Next, click the Accounts icon in the bottom-left sidebar (the profile silhouette), locate your GitHub profile, and click Sign Out.
  4. Open the Command Palette again and run Developer: Reload Window.
  5. Once reloaded, open any code file, press Ctrl+Shift+P / Cmd+Shift+P, run GitHub Copilot: Sign In, and complete the browser authentication flow.

At 365Finds, we have seen this two-minute cycle resolve the majority of mysterious "it worked yesterday afternoon but stopped this morning" tickets.


Step 3: Verify the VS Code Inline Suggest Engine

GitHub Copilot does not render its suggestions independently; it feeds suggestions into VS Code's core inline suggestion ("ghost text") architecture. If native inline suggestions are disabled, Copilot generates nothing.

Open your settings (Ctrl+, or Cmd+,) or inspect your settings.json directly. Ensure these parameters are set properly:

{
  "editor.inlineSuggest.enabled": true,
  "github.copilot.enable": {
    "*": true,
    "plaintext": false,
    "markdown": false,
    "scminput": false
  }
}

Two subtle traps often trip developers up here:

  1. Specific language overrides: If you have a block like "[python]": { "editor.inlineSuggest.enabled": false } tucked away from an old test or another extension, it silently silences Copilot in that language.
  2. The * wildcard: In github.copilot.enable, if * is set to false, every language not explicitly whitelisted will refuse to request completions.

Step 4: Isolate Keyboard and Extension Collisions

Does Copilot suggest code, but pressing Tab indents the line instead of accepting the suggestion? Or do completions flash for a microsecond and disappear before you can read them?

That is an extension collision.

At 365Finds, we regularly encounter setups where developers install two or three AI coding extensions side-by-side—such as pairing GitHub Copilot with Tabnine, Supermaven, or local Ollama-based completers. These tools hook into the exact same inline completion provider APIs. The result is an internal race condition where one extension dismisses the inline ghost text of the other.

To diagnose:

  1. Open the Extensions pane (Ctrl+Shift+X or Cmd+Shift+X).
  2. Temporarily disable alternative AI code assistants and heavy IntelliSense wrappers.
  3. Check your keybindings: search for editor.action.inlineSuggest.commit in Keyboard Shortcuts (Ctrl+K Ctrl+S / Cmd+K Cmd+S). Ensure Tab is not overridden by an aggressive snippet expansion or formatting utility.

Step 5: Diagnose Corporate Proxies, Firewalls, and Logs

If you are working on a managed laptop, a corporate VPN, or behind an enterprise firewall with deep packet inspection (SSL bumping), Copilot often triggers an unhandled network rejection. It cannot reach GitHub's completion cluster at copilot-proxy.githubusercontent.com or authentication servers.

Instead of guessing your network state, look directly at the extension logs:

  1. Open the Output panel (View > Output or Ctrl+K Ctrl+H).
  2. In the dropdown menu on the right side of the panel, choose GitHub Copilot.
  3. Look for status codes:
    • 401 Unauthorized or 403 Forbidden: Your subscription has lapsed, your enterprise seat was revoked, or your account was flagged.
    • self-signed certificate in certificate chain or unable to get local issuer certificate: Your corporate proxy is intercepting TLS traffic. Configure "http.proxyStrictSSL": false in VS Code settings temporarily to confirm, or import your corporate root certificate authority into your operating system trust store.
    • ETIMEDOUT or ECONNRESET: A local firewall, VPN kill switch, or ad-blocker (like Pi-hole or Little Snitch) is dropping outbound requests to GitHub endpoints.

Run Developer: Set Log Level in the Command Palette and switch to Trace if the Output panel is silent. GitHub Copilot writes its HTTP requests and token exchange lifecycle there line by line.

References