AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Why GitHub Copilot Inline Completions Stop Working in VS Code and How to Fix It

장은미 · 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 developer frustrations match the silent disappearance of GitHub Copilot's inline completions. There is no crash alert, no red warning banner, and no modal dialog. You type a function signature, pause expecting the familiar grey ghost text to propose the implementation, and get absolute void.

At 365Finds, we consider this silent failure mode the most irritating design flaw in GitHub Copilot. When an AI tool fails gracefully into complete invisibility, developers waste twenty minutes wondering whether their prompt was ambiguous, their internet dropped, or their keystroke cadence was off. In reality, the issue almost always stems from five predictable bottlenecks in Visual Studio Code: an editor-level toggle suppression, a stale authentication handshake, enterprise content exclusions, conflicting completion extensions, or corporate proxy certificate inspection.

Here is the diagnosis breakdown and the exact sequence to restore your ghost text.


1. Quick Triage: Look at the Status Bar First

Before touching any JSON configuration file, look at the bottom-right status bar of VS Code. The GitHub Copilot icon is your primary dashboard indicator:

Status Bar Icon AppearanceUnderlying StateImmediate Action
Normal iconExtension active and connectedCheck editor settings and shortcut conflicts
Icon with a diagonal slashCompletions disabled globally, for this language, or by policyClick the icon to inspect why completions are disabled
Icon showing a warning or crossed outAuthentication expired or network unreachableInspect Output logs and re-authenticate GitHub account
Missing icon entirelyExtension disabled, crashed, or not loadedVerify extension is installed and enabled in workspace

If the icon shows a diagonal slash, click it immediately. VS Code will present a menu indicating whether GitHub Copilot is disabled globally or disabled specifically for the active language mode (such as markdown or plaintext). If you are on an enterprise plan and see an exclusion tooltip, your organization has blocked Copilot on this repository or file path.


2. Check the Editor Setting: editor.inlineSuggest.enabled

A frequent cause of missing ghost text is that VS Code's native inline suggestion engine was switched off. GitHub Copilot does not render suggestions through standard dropdown widgets; it relies directly on VS Code's inlineSuggest API.

  1. Open VS Code Settings (Ctrl + , on Windows/Linux, Cmd + , on macOS).
  2. Type editor.inlineSuggest.enabled into the search bar.
  3. Ensure the checkbox for Editor: Inline Suggest: Enabled is checked (true).

Next, verify that GitHub Copilot hasn't been disabled for your current language mode in settings.json:

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

If the file you are editing happens to match an entry set to false, GitHub Copilot will refuse to suggest anything in that buffer. Setting "*": true ensures Copilot remains active across programming languages by default.


3. The Stale OAuth Token: Sign Out and Reload

A peculiar issue we frequently observe at 365Finds is the "split-session" bug: GitHub Copilot Chat continues to answer questions in the sidebar, but inline completions silently die.

This happens because the background language server process loses synchronization with VS Code's secure credential storage. The completion worker receives an HTTP 401 or expired token error and enters a zombie state.

To resolve this cleanly:

  1. Click the Accounts icon (the user profile silhouette) in the lower-left corner of VS Code.
  2. Select your GitHub account and click Sign Out.
  3. Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P).
  4. Run: Developer: Reload Window.
  5. Once the editor reloads, click the Accounts icon and sign back into your GitHub account. Ensure your active subscription (Individual, Business, Enterprise, or Copilot Free) is linked to this login.

4. Check for Extension Turf Wars

If you run multiple AI assistants or specialized autocomplete plugins simultaneously, they will fight for control of the inline completion hook.

Running Tabnine, Codeium, Supermaven, AWS Q Developer, or Continue alongside GitHub Copilot often results in race conditions. One extension may preempt the ghost text display or clear the inline buffer before Copilot finishes streaming its prediction.

To test whether extension conflict is the culprit:

  1. Open the Command Palette.
  2. Run Help: Start Extension Bisect or restart VS Code with code --disable-extensions.
  3. If ghost text returns when third-party autocomplete plugins are disabled, you must decide which assistant owns your inline workflow.

365Finds recommends using only one inline completion provider at a time. If you prefer GitHub Copilot for code generation, disable ghost text in competing extensions while keeping their chat or search features active.


5. Enterprise Networks, Firewalls, and SSL Certificates

If you are working inside a corporate network, on a VPN, or behind a security proxy (like Zscaler, Netskope, or Fortinet), GitHub Copilot's background calls may be intercepted and terminated.

Because GitHub Copilot's language server runs on Node.js inside the extension host, it validates SSL certificates against trusted certificate authorities. When a corporate proxy performs TLS inspection using self-signed or local certificates, Node.js throws errors such as unable to verify the first certificate or self signed certificate in certificate chain.

How to diagnose network blockers:

  1. Open the Output panel in VS Code (View > Output or Ctrl + Shift + U / Cmd + Shift + U).
  2. In the dropdown selector in the top-right corner of the Output view, choose GitHub Copilot.
  3. Look for connection timeouts (ETIMEDOUT), connection resets (ECONNRESET), or HTTP 403 / 499 statuses.

How to address proxy friction:


6. Enterprise Content Exclusion Rules

If you are using a Copilot Business or Copilot Enterprise license managed by your company, administrators can configure Content Exclusion policies.

When a repository or file path matches an exclusion pattern, GitHub Copilot is prohibited from reading buffer contents and generating completions. When this happens:

In this scenario, no amount of reloading, reinstalling, or settings modification will fix the issue on your machine; only an organization administrator can modify the content exclusion repository list.


365Finds Troubleshooting Summary

SymptomPrimary CauseProven Fix
No ghost text, status icon normaleditor.inlineSuggest.enabled is falseEnable inline suggestions in VS Code settings
Chat works, inline ghost text deadStale OAuth session in language serverSign out of GitHub account, Developer: Reload Window, sign in
Icon crossed out with exclusion tooltipEnterprise organization content exclusionRepository excluded by organization admin policy
Output log shows unable to verify certificateCorporate MITM proxy / SSL inspectionAdd corporate root CA to OS trust store; check http.proxyStrictSSL
Delay or ghost text flickeringExtension clash (Tabnine/Codeium/Supermaven)Disable competing inline completion providers
Icon missing completelyExtension host crashed or extension disabledRe-enable extension, update VS Code, reload window

When ghost text vanishes, resist the urge to reinstall VS Code. Check the status bar icon first, switch your Output panel to GitHub Copilot second, and verify editor.inlineSuggest.enabled third. That three-step sequence solves over ninety percent of Copilot inline completion outages.

References