Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Copilot inline suggestions
Fix · GitHub Copilot · VS Code

Copilot inline suggestions not working in VS Code

Fix: click the Copilot icon in the Status Bar. If inline suggestions are unchecked for this language, or snoozed, switch them back on. Then run Trigger Inline Suggestion from the Command Palette. If a suggestion appears, Copilot works and something is only blocking the automatic ones.

What you see

Usually no error at all: the grey ghost text just stops appearing as you type. The clues are in the Copilot icon in the Status Bar:

  • A diagonal line through the icon means a content exclusion covers this file. Hover over it to see which setting applies.
  • A message that you don't have a Copilot plan, or there was an error connecting to the GitHub API points at sign-in or subscription.
  • A Cancel Snooze button in the Copilot menu means suggestions are paused.

Fix it, in this order

  1. On for this language? The Copilot Status Bar menu has checkboxes for all files and for the active file's language. The same switch lives in the github.copilot.enable setting, with one entry per language and * for all:
    "github.copilot.enable": {
      "*": true,
      "plaintext": false
    }
  2. Snoozed? Each click on Snooze pauses suggestions for five more minutes. Click Cancel Snooze, or run Cancel Snooze Inline Suggestions.
  3. Signed in with the right account? You need the GitHub account that holds the Copilot plan (Accounts menu in the Activity Bar). If the plan isn't detected: sign out, run Developer: Reload Window, sign back in, and check the plan is active at github.com/settings/copilot.
  4. Copilot Free limit reached? The Copilot status dashboard shows the share of this month's inline suggestions used. The allowance resets monthly; chat keeps working while inline suggestions are used up. Paid plans have no inline-suggestion cap.
  5. Up to date? Run Code: Check for Updates and update the Copilot extensions. GitHub's docs say older clients can't talk to the Copilot servers.
  6. Can it reach GitHub? Run GitHub Copilot: Chat Diagnostics and look for failed checks.

Causes and fixes

CauseHow to spot itFix
Turned off for this languageBox unchecked in the Copilot menuCheck it, or edit github.copilot.enable
Metered connectionSuggestions stop on a hotspot or a connection VS Code treats as meteredCopilot sends no automatic requests there; Trigger Inline Suggestion still works
Content exclusionIcon crossed out on some files onlySet by repository admins or organization owners; changes can take up to 30 minutes to reach an open editor, or reload it
AI features hiddenchat.disableAIFeatures is onSet it back to false where it was set (user or workspace settings); VS Code keeps that choice across updates
Bring-your-own-key onlyChat works with your own model key, inline suggestions never appearInline suggestions need the Copilot service: sign in with GitHub
Rate limited"request is rate-limited"Wait a few minutes; it can happen with allowance left
Service incidentgithubstatus.com shows an incidentWait for it to clear

Read the Copilot logs

  1. Command Palette → Developer: Set Log Level → set GitHub Copilot and GitHub Copilot Chat to Trace.
  2. Type in a file until a suggestion should appear.
  3. Output: Show Output Channels → GitHub Copilot, and read the errors around that moment.
  4. Set the log level back afterwards: trace output is large.

Still failing?

  • If Chat Diagnostics passes but suggestions still fail, compare your firewall, proxy and VPN against GitHub's list of Copilot domains; a clean report only rules out the connections it tested.
  • Logs can contain source code and file paths. Remove anything sensitive before sharing them, and never include tokens.
  • If rate limiting keeps coming back, GitHub's docs say to contact GitHub Support.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

How do I turn Copilot inline suggestions back on for one language?

Click the Copilot icon in the Status Bar and check the option for the active file's language, or set that language to true in the github.copilot.enable setting.

I reached the Copilot Free inline suggestion limit. Can I still use chat?

Yes. VS Code's FAQ says the inline suggestion and chat allowances are separate and both reset every month.

Do Copilot inline suggestions work with a bring-your-own-key model?

No. VS Code's docs say inline suggestions need the GitHub Copilot service and aren't available through bring-your-own-key models.

Why does Copilot stop suggesting on my phone hotspot?

When VS Code treats the connection as metered, Copilot doesn't start automatic suggestion requests. Run Trigger Inline Suggestion to ask for one.

Related errors

Sources

Read 30 Nov 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools