Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

How to Remove or Disable GitHub Copilot in Visual Studio Code

The fastest way to get rid of GitHub Copilot in VS Code is one setting: chat.disableAIFeatures. Set it to true in your user settings.json and Copilot chat, inline suggestions and the Copilot extension all switch off:

{
  "chat.disableAIFeatures": true
}

Save the file and the Chat view and the gray ghost-text suggestions disappear. Set it back to false whenever you want them again.

In this tutorial, we’ll remove GitHub Copilot from Visual Studio Code the clean way, then cover the lighter options: turning off only inline suggestions, hiding chat for one project, signing out of GitHub and uninstalling an extension if you have one.

Is There a GitHub Copilot Extension to Uninstall?

Usually not anymore. Before I signed in on a fresh VS Code 1.144.0 install, code --list-extensions listed no Copilot extension at all. The Copilot features ship with VS Code itself, and the Welcome page simply offered Sign in to GitHub:

VS Code Welcome page with the GitHub Copilot walkthrough and the Sign in to GitHub button

That’s why most old “just uninstall it” advice doesn’t work today. The setting above is the real off switch. If you’re still deciding which assistant you even want, here’s how GitHub Copilot differs from Microsoft Copilot.

Disable GitHub Copilot With the Settings Editor

Prefer clicking over editing JSON? The same setting lives in the Settings editor:

  1. Press Ctrl+, to open Settings and stay on the User tab.
  2. Search for chat.disableAIFeatures.
  3. Check the box for that setting. VS Code applies it right away.

At the user level it covers every folder you open. Chat, inline suggestions and the Copilot extension are disabled and hidden, so you won’t see Copilot prompts in the editor anymore.

Turn Off GitHub Copilot for One Workspace Only

Sometimes you only want Copilot gone in one project, say a client repo with strict rules. Put the setting in that folder’s workspace settings instead. Create .vscode/settings.json in the project root:

{
  "chat.disableAIFeatures": true
}

Or open Settings, switch to the Workspace tab and check the same box. Copilot stays on everywhere else. I do this for the SharePoint Framework folders I share with clients; our SPFx development environment setup uses the same .vscode folder.

Turn Off Only Inline Suggestions (Keep Chat)

If the gray ghost text is what bugs you, you don’t have to lose chat. Select the Copilot icon in the Status Bar to open the status dashboard. Mine showed Inline Suggestions as Enabled:

GitHub Copilot status dashboard in VS Code showing Inline Suggestions enabled

Uncheck the inline suggestions option there. To do the same in settings.json for every language, use github.copilot.enable:

{
  "github.copilot.enable": {
    "*": false
  }
}

You can also keep suggestions for code and drop them for prose. This keeps them on everywhere except Markdown and plain text files:

{
  "github.copilot.enable": {
    "*": true,
    "markdown": false,
    "plaintext": false
  }
}

Pro Tip: Need quiet for a few minutes only? Select Snooze in the Copilot menu. Each click adds five minutes, and Cancel Snooze brings suggestions back.

Hide the Copilot Chat View

Chat is the panel that opens with Ctrl+Alt+I. Here’s mine explaining a TypeScript function before I turned anything off:

GitHub Copilot Chat view in VS Code explaining a TypeScript function

There’s no separate chat-only switch in the docs, so chat.disableAIFeatures is the setting that hides it, at user or workspace level. If you use Copilot elsewhere, our comparison of Microsoft 365 Copilot vs Copilot Studio explains which chat you get where.

Sign Out of GitHub Copilot in VS Code

Signing out is handy when the wrong GitHub account is connected or you’re handing the laptop to someone else:

  1. Select the Accounts menu in the Activity Bar (bottom left).
  2. Select Sign out for the GitHub account you’re signed in with.

To sign back in, use Sign in to use Copilot from the Copilot menu in the Status Bar, the Accounts menu, or the GitHub Copilot: Sign in command in the Command Palette.

Note: If that account has no Copilot subscription, signing in enrolls you in Copilot Free with a monthly allowance. You can also use different GitHub accounts per workspace or profile.

Uninstall a GitHub Copilot Extension

If you installed GitHub Copilot or Copilot Chat from the Marketplace in the past, you’ll see it in the Extensions view. Here’s how to remove it:

  1. Press Ctrl+Shift+X to open the Extensions view.
  2. Search for copilot.
  3. Select the Manage gear on the entry, then Uninstall.

Not sure yet? Pick a disable option from the same gear menu, globally or for the current workspace only, and use Enable later. Comparing tools before deciding? Here’s my take on whether Copilot is better than ChatGPT.

Copilot Still Shows Up After You Turn It Off?

  • A workspace setting wins. Workspace settings override user settings, so check the project’s .vscode/settings.json for chat.disableAIFeatures set to false.
  • You’re in another profile. Settings are per profile; set it in the profile you’re using.
  • Only suggestions are gone. github.copilot.enable stops inline suggestions only. Chat needs chat.disableAIFeatures.
  • It’s Windows Copilot, not VS Code. The Copilot app in Windows is separate; see how to uninstall Copilot in Windows 11.

I write most of my SharePoint code in VS Code, so the SPFx tutorials page is where to go next. For a guided path, the SPFx training course covers the full toolchain.

A few more developer guides worth bookmarking:

Frequently Asked Questions

How do I remove GitHub Copilot from Visual Studio Code?

Set chat.disableAIFeatures to true in your user settings, through the Settings editor or settings.json. It hides chat and inline suggestions and disables the Copilot extension. If a Copilot extension also appears in the Extensions view, uninstall it from its Manage gear.

Can I turn off Copilot for just one project?

Yes. Add chat.disableAIFeatures set to true to the project’s .vscode/settings.json, or check it on the Workspace tab of the Settings editor. Other folders keep Copilot.

How do I stop Copilot inline suggestions but keep chat?

Uncheck inline suggestions in the Copilot menu in the Status Bar, or set github.copilot.enable to false for “*” in settings.json. Microsoft covers per-language options in Inline suggestions from GitHub Copilot in VS Code.

Does signing out of GitHub remove Copilot?

No. Sign out from the Accounts menu disconnects your account, but the Copilot menu and sign-in prompts stay. Use chat.disableAIFeatures to hide the features themselves.

How do I turn GitHub Copilot back on?

Set chat.disableAIFeatures back to false, then sign in from the Copilot menu, the Accounts menu or the GitHub Copilot: Sign in command. See Set up GitHub Copilot in VS Code for the sign-in options.