GitHub Copilot Not Suggesting Code — How to Fix Missing Inline Suggestions
GitHub Copilot's inline suggestions, also known as ghost text, can suddenly stop appearing during an active coding session in VS Code. This issue affects developers across all experience levels and can be triggered by extension conflicts, authentication lapses, or language-specific settings. If Copilot appears active but no completions show up, this guide walks you through every fix.
Why does this error happen?
How to fix it
Check the Copilot Status Icon in the Status Bar
Look at the bottom status bar in VS Code for the Copilot icon, which resembles a small GitHub logo. If it shows a warning or strikethrough, click it to see the reported status message. An icon indicating 'Copilot is disabled' or a network error here is your fastest diagnostic clue.
Ensure Copilot Is Enabled for the Current Language
Open VS Code Settings and search for 'Copilot enable'. Under the 'GitHub Copilot: Enable' section you will find a list of languages with toggles. Verify that the language you are currently editing — for example, Python, JavaScript, or TypeScript — is set to enabled. If it is toggled off, re-enable it and reload the editor window.
Sign Out and Sign Back Into GitHub in VS Code
Open the Accounts menu in the bottom-left corner of VS Code and sign out of your GitHub account. Once signed out, sign back in and complete the OAuth authorization flow in your browser. An expired or corrupted authentication token is one of the most common silent causes of Copilot suggestions stopping without any visible error.
Reinstall the Copilot Extension
Navigate to the Extensions panel in VS Code, search for 'GitHub Copilot', and uninstall the extension completely. After uninstalling, reload VS Code, then search for and reinstall GitHub Copilot from the Marketplace. This clears any corrupted extension files or misconfigured state that a simple disable and re-enable would not resolve.
💡 Pro Tip
Pin a specific stable version of the GitHub Copilot extension and disable auto-updates temporarily after a working install. This prevents a broken extension update from silently disabling suggestions mid-project — you can re-enable auto-updates once a new version is confirmed stable by the community.
Frequently Asked Questions
Why does GitHub Copilot work in some files but not others?
Does GitHub Copilot stop working if I exceed usage limits?
Can other VS Code extensions interfere with Copilot suggestions?
Quick diagnostic checklist
Before diving into the full fix, run through these quick checks — they resolve the issue in most cases without additional steps:
Common root causes
Understanding why this error occurs helps you prevent it in the future. The most frequent causes are:
- GitHub Copilot extension out of date
- Authentication token expired requiring re-login
- Organization-level policy restricting Copilot access
- Proxy or firewall blocking Copilot API endpoints
- Editor conflicts with other AI completion extensions
Still not working?
If none of the steps above resolved the issue, the next step is to contact GitHub Copilot support directly. When reaching out, include:
- • The exact error message or code you see
- • The steps you already tried from this guide
- • Your account plan and the approximate time the error started
- • Your browser/OS version if it is a web interface issue
About GitHub Copilot
GitHub Copilot is an AI pair programmer developed by GitHub (Microsoft) in collaboration with OpenAI. It provides code suggestions, autocompletion, and natural language-to-code generation directly in VS Code, JetBrains, Neovim, and other editors. It requires a GitHub Copilot Individual or Business subscription.
Browse all GitHub Copilot error guides →