[FIX] Github Copilot Not Working

[FIX] Github Copilot Not Working


Are facing the problem - GitHub Copilot not working? In this article, we will look at some of the ways through which you can easily solve the problem. Let's get into it!

How to Fix GitHub Copilot Not Working?

Check Notifications

[FIX] Github Copilot Not Working

  1. Open up vs code.
  2. Click on the notifications icon (bell icon), on the bottom-right hand side.
  3. Check if there is any notification from GitHub Copilot, like agree to these terms.
  4. If yes, then click 'agree'.

If this method didn't work for you, check out another method:

Delete Caches

Follow these steps to delete cache files of vs code:
  1. Open up File Explorer.
  2. Then open, %USERPROFILE%/AppData/Roaming/Code/CachedExtensionVSIXs in File Explorer.
  3. Use Ctrl+A to select all files and delete them.
  4. Re-open VS Code.
This method may work for many users. If this didn't work for you, try the next method!

Logout & Login

  1. Open up accounts from the left side panel of vs code window.
  2. Sign-out of your account, through which you are signed in to Copilot.
  3. Sign-in again using that account.

Re-installing Extension

[FIX] Github Copilot Not Working

Follow these steps to re-install the GitHub Copilot extension:
  1. Open up extensions panel (Ctrl+Shift+X).
  2. Find out the Copilot extension.
  3. Click on the three bottom dots and uninstall it.
  4. Close all instances of vs code.

Next, follow these steps to install it again:
  1. Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
  2. Delete all instances of Copilot.
  3. Go to, %USERPROFILE%/AppData/Roaming/Code/CachedExtensionVSIXs.
  4. Use Ctrl+A to select all files and delete them.
  5. Restart vs code and install Copilot.

Conclusion

So these were the various methods through which you can solve, github copilot not working problem. If you have any query, you can comment it down below! Have a nice day!

Post a Comment

Please don't add any spam link in the comment box!

Previous Post Next Post