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:
- Icon with a diagonal slash: GitHub Copilot is either globally paused or explicitly disabled for the active document's language mode. Clicking the icon opens a quick-pick menu where you can toggle completions back on.
- Icon with a warning or strike-through on a specific file: Check if your organization or repository enforces Content Exclusion. Enterprise administrators can block Copilot from indexing or suggesting code inside specific repositories, branches, or file paths (such as proprietary libraries or regulatory directories). If the icon indicates exclusion, completions are blocked by policy, not broken code.
- Spinning or disconnected indicator: Copilot is failing to negotiate a handshake with the remote telemetry or completion endpoints.
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:
- Open the Command Palette (
Ctrl+Shift+Pon Windows/Linux orCmd+Shift+Pon macOS). - Run
GitHub Copilot: Sign Out. - Next, click the Accounts icon in the bottom-left sidebar (the profile silhouette), locate your GitHub profile, and click Sign Out.
- Open the Command Palette again and run
Developer: Reload Window. - Once reloaded, open any code file, press
Ctrl+Shift+P/Cmd+Shift+P, runGitHub 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:
- 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. - The
*wildcard: Ingithub.copilot.enable, if*is set tofalse, 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:
- Open the Extensions pane (
Ctrl+Shift+XorCmd+Shift+X). - Temporarily disable alternative AI code assistants and heavy IntelliSense wrappers.
- Check your keybindings: search for
editor.action.inlineSuggest.commitin Keyboard Shortcuts (Ctrl+K Ctrl+S/Cmd+K Cmd+S). EnsureTabis 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:
- Open the Output panel (
View > OutputorCtrl+K Ctrl+H). - In the dropdown menu on the right side of the panel, choose GitHub Copilot.
- Look for status codes:
401 Unauthorizedor403 Forbidden: Your subscription has lapsed, your enterprise seat was revoked, or your account was flagged.self-signed certificate in certificate chainorunable to get local issuer certificate: Your corporate proxy is intercepting TLS traffic. Configure"http.proxyStrictSSL": falsein VS Code settings temporarily to confirm, or import your corporate root certificate authority into your operating system trust store.ETIMEDOUTorECONNRESET: 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.