What happened when you blocked Copilot
When you right-click an extension in VS Code and select "Disable (Workspace)" or "Disable (User)", you are telling VS Code not to load that extension in your current workspace or across all your projects. If you chose "Disable (Workspace)", the block only affects the folder you have open right now. If you chose "Disable (User)", Copilot stops working everywhere you use VS Code on this machine.
The block is not permanent — you can reverse it in seconds. VS Code keeps a record of disabled extensions and lets you turn them back on from the same menu where you disabled them. Whether you hit the disable option by accident or on purpose, the process to restore Copilot is straightforward and takes less than a minute.
Key Takeaways
- Open the Extensions view in VS Code by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac), then search for "Copilot".
- Look for the Copilot extension in the list and click the gear icon next to it to see the disable and enable options.
- Select "Enable" to turn Copilot back on for your current workspace or across all projects, depending on where you disabled it.
- If you disabled it at the user level, you may need to reload VS Code or click the "Reload Required" button that appears after enabling.
- Check the bottom right corner of the window for the Copilot icon to confirm the extension is running again.
Finding the Extensions view and locating Copilot
The fastest way to undo a block is through the Extensions sidebar. Press Ctrl+Shift+X on Windows or Linux, or Cmd+Shift+X on Mac. A panel opens on the left side showing all your installed extensions.
In the search box at the top of the Extensions panel, type "Copilot" or "GitHub Copilot" — the full name of the extension is "GitHub Copilot". You should see it appear in the list below. If you have multiple Copilot-related extensions (like Copilot Chat), search for the specific one you blocked.
Re-enabling Copilot in your workspace
Click on the Copilot extension in the list to open its details panel. On the right side, you will see a gear icon (⚙️) next to the extension name. Click that gear icon to reveal a dropdown menu with options.
If you see "Enable (Workspace)", click it to turn Copilot back on only in the folder you currently have open. If you see "Enable", click it to restore Copilot across all your projects on this machine. The option you see depends on where you originally disabled it.
Re-enabling Copilot globally across all projects
If you disabled Copilot at the user level (meaning it stopped working everywhere), the gear menu will show "Enable" without the "(Workspace)" label. Click that option to restore it globally.
After you enable it, VS Code may show a "Reload Required" button in the bottom right corner or at the top of the editor. Click that button to reload the window and let Copilot start working. If you do not see the button, close and reopen VS Code to complete the process.
Checking if Copilot is actually running
After you enable Copilot, look at the bottom right corner of the VS Code window. You should see a small Copilot icon (usually a circular logo) that is no longer grayed out. If the icon is still grayed out or missing, Copilot has not fully reloaded yet — wait a few seconds or reload the window manually by pressing Ctrl+R (Windows/Linux) or Cmd+R (Mac).
Open a code file and start typing to test whether Copilot suggestions appear. If you see inline suggestions or the Copilot icon becomes active when you type, the extension is working again.
Why you might want to disable Copilot temporarily
People often disable Copilot by accident when they are troubleshooting other issues, or they disable it on purpose to reduce resource usage on slower machines. Disabling at the workspace level is useful if you want Copilot off for one specific project but still active in others — for example, if you are working on code that should not use AI suggestions for security or privacy reasons.
If you find yourself disabling and re-enabling Copilot often, consider using the keyboard shortcut to toggle suggestions instead. Press Ctrl+Alt+\ (Windows/Linux) or Cmd+Alt+\ (Mac) to turn inline suggestions on and off without disabling the extension itself. This approach keeps Copilot installed and ready but silences the suggestions temporarily.
Frequently Asked Questions
Will re-enabling Copilot affect my other settings or extensions?
No. Enabling Copilot only restores that one extension. Your other extensions, keyboard shortcuts, themes, and all other VS Code settings remain unchanged. Re-enabling is a safe operation that reverses only the disable action.
What if I do not see Copilot in the Extensions list?
If Copilot does not appear when you search for it, you may not have it installed. You can install it from the Extensions marketplace by searching "GitHub Copilot" and clicking Install. Note that Copilot requires a GitHub account and an active subscription or free trial to function.
Can I disable Copilot for just one file instead of the whole workspace?
No, VS Code does not offer per-file disable options for extensions. Your choices are workspace-level (current folder) or user-level (all projects). To avoid Copilot suggestions on sensitive code, you can toggle suggestions off temporarily using Ctrl+Alt+\ instead of disabling the extension.
Do I need to sign back into GitHub after re-enabling Copilot?
Usually not. VS Code stores your GitHub authentication, so re-enabling Copilot should restore your access immediately. If Copilot asks you to sign in again, click the sign-in prompt and follow the browser authentication flow.