How to troubleshoot missing code suggestions on GitHub Copilot

intermediate 8 min read Updated 2026-03-18
Quick Answer

Missing GitHub Copilot suggestions are usually caused by subscription issues, disabled extensions, or network connectivity problems. Check your subscription status, verify the extension is enabled, and ensure you're connected to the internet to restore code suggestions.

Prerequisites

  • Active GitHub Copilot subscription
  • Compatible code editor (VS Code, JetBrains, etc.)
  • GitHub Copilot extension installed
  • Internet connection

Step-by-Step Instructions

1

Check your GitHub Copilot subscription status

Open your web browser and navigate to github.com/settings/billing. Look for the GitHub Copilot section and verify your subscription is active. If expired or suspended, click Enable GitHub Copilot to renew your subscription.
Individual subscriptions cost $10/month while business subscriptions are $19/user/month
2

Verify the GitHub Copilot extension is enabled

In VS Code, press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open Extensions. Search for GitHub Copilot and ensure it shows Enabled. If disabled, click the Enable button. For JetBrains IDEs, go to File > Settings > Plugins and verify GitHub Copilot is enabled.
Restart your editor after enabling the extension for changes to take effect
3

Check your authentication status

Open the Command Palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac). Type GitHub Copilot: Sign In and press Enter. If already signed in, try GitHub Copilot: Sign Out then sign back in to refresh your authentication token.
Make sure you're signed in with the same GitHub account that has the active Copilot subscription
4

Verify Copilot is not disabled for your file type

Check the bottom status bar of your editor for the GitHub Copilot icon. If it shows a slash or warning symbol, click it to see if Copilot is disabled for the current file type. In the popup, ensure Enable Completions is checked and the file type isn't in the disabled list.
Some organizations disable Copilot for certain file types like .env or configuration files for security reasons
5

Test your internet connection and firewall settings

GitHub Copilot requires internet connectivity to work. Test your connection by opening a terminal and running ping github.com. If your organization uses a firewall, ensure these domains are whitelisted: *.github.com, *.githubusercontent.com, and copilot-proxy.githubusercontent.com.
Corporate networks often block AI services, so check with your IT department about Copilot access
6

Clear the extension cache and reload

In VS Code, open Command Palette and run Developer: Reload Window to restart the editor. If issues persist, try GitHub Copilot: Reset Extension to clear cached data. For JetBrains IDEs, use File > Invalidate Caches and Restart.
Cache corruption can cause intermittent suggestion failures, especially after extension updates
7

Check GitHub Copilot service status

Visit githubstatus.com to check if there are any ongoing issues with GitHub Copilot services. Look specifically for the Copilot section in the service status page. If there's an outage, wait for GitHub to resolve the issue and try again later.
Service outages are rare but can affect all users globally - bookmark the status page for quick reference

Common Issues & Troubleshooting

Suggestions appear but are low quality or irrelevant

Write more descriptive comments and function names to provide better context. Try breaking down complex functions into smaller, well-documented pieces. GitHub Copilot works better with clear intent and good coding practices.

Copilot works in some files but not others

Check if the problematic files are in your .gitignore or have restricted file extensions. Some organizations disable Copilot for sensitive file types like .env, .key, or .secret files.

Extension shows as installed but icon missing from status bar

The extension may have failed to load properly. Try disabling and re-enabling the GitHub Copilot extension, then restart your editor. Check the Output panel and select GitHub Copilot for error messages.

Suggestions were working but suddenly stopped

This often indicates an authentication token has expired. Run GitHub Copilot: Sign Out then GitHub Copilot: Sign In from the Command Palette. Also verify your subscription hasn't been suspended due to billing issues.

Prices mentioned in this guide are pulled from current plan data and may change. Always verify on the official GitHub Copilot website before purchasing.