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
- 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.enablesetting, with one entry per language and*for all:"github.copilot.enable": { "*": true, "plaintext": false } - Snoozed? Each click on Snooze pauses suggestions for five more minutes. Click Cancel Snooze, or run
Cancel Snooze Inline Suggestions. - 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. - 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.
- Up to date? Run
Code: Check for Updatesand update the Copilot extensions. GitHub's docs say older clients can't talk to the Copilot servers. - Can it reach GitHub? Run
GitHub Copilot: Chat Diagnosticsand look for failed checks.
Causes and fixes
| Cause | How to spot it | Fix |
|---|---|---|
| Turned off for this language | Box unchecked in the Copilot menu | Check it, or edit github.copilot.enable |
| Metered connection | Suggestions stop on a hotspot or a connection VS Code treats as metered | Copilot sends no automatic requests there; Trigger Inline Suggestion still works |
| Content exclusion | Icon crossed out on some files only | Set by repository admins or organization owners; changes can take up to 30 minutes to reach an open editor, or reload it |
| AI features hidden | chat.disableAIFeatures is on | Set it back to false where it was set (user or workspace settings); VS Code keeps that choice across updates |
| Bring-your-own-key only | Chat works with your own model key, inline suggestions never appear | Inline 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 incident | githubstatus.com shows an incident | Wait for it to clear |
Read the Copilot logs
- Command Palette →
Developer: Set Log Level→ set GitHub Copilot and GitHub Copilot Chat to Trace. - Type in a file until a suggestion should appear.
Output: Show Output Channels→ GitHub Copilot, and read the errors around that moment.- 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
- Claude Code not working in VS Code
- Cursor: High Load (ERROR_RESOURCE_EXHAUSTED)
- Codex not working on Windows
Sources
Read 30 Nov 2026. These tools change often: if a step no longer matches, the linked page wins.
- VS Code docs: Copilot FAQ (inline suggestions not working): code.visualstudio.com/docs/agents/agent-troubleshooting/faq
- VS Code docs: Inline suggestions: code.visualstudio.com/docs/editing/ai-powered-suggestions
- VS Code docs: Troubleshoot Copilot (logs, network diagnostics): code.visualstudio.com/docs/agents/agent-troubleshooting/troubleshooting
- GitHub Docs: Troubleshooting common issues with GitHub Copilot: docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues
- GitHub Docs: Excluding content from GitHub Copilot: docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
- GitHub status page: www.githubstatus.com
- CLAUDE.md security check: find risky instructions in agent rules files
- Exposed API key checker: find API keys committed to a repo or shipped to the browser
- reviewready CLI: one command that checks an AI app repo before it ships