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.