12

How do I remove/hide the GitHub Copilot option (circled in red below) from the Visual Studio 2022 menu UI?

Screenshot of GitHub Copilot showing up on the Visual Studio menu bar

There's no option to hide or remove it when I click on the option, either:

Screenshot showing a lack of option to remove or hide the menu option

It's really wide and is messing up my custom layout. I don't use that feature and I don't need it.

3
  • 1
    If you click the button it drops a menu with a "Hide" option inside. Commented Feb 25 at 15:02
  • Do you have the GitHub Copilot extension installed in Visual Studio? The docs indicate that's a requirement to use it, so I would guess just uninstalling it would remove it. (For reference, I'm on VS Enterprise 2022, v17.10.0, and I don't see GitHub Copilot anywhere--I do not have any such extension installed). Commented Feb 25 at 19:52
  • @TylerH: nope, I don't. At least there's no extension that says that in the name. Commented Feb 25 at 20:22

1 Answer 1

34

From the Hiding Copilot Badge section of the Install GitHub Copilot in Visual Studio Microsoft Learn page:

You can hide the GitHub Copilot badge in the Visual Studio IDE by unselecting Tools > Options > Environment > Hide Copilot menu badge.

Screenshot of option to hide copilot badge in Tools > Options

You may also find the Uninstall Copilot section useful, if you don't ever want to use it:

You can remove the GitHub Copilot component from your Visual Studio instance by using the Visual Studio Installer.

  1. Launch the Visual Studio Installer by selecting Tools > Get Tools and Features.
  2. Select Individual components.
  3. Type "copilot" in the search box.
  4. Uncheck GitHub Copilot and select Modify.
  5. Restart Visual Studio, and select Hide Copilot from the Copilot status icon dropdown to hide the badge.
Sign up to request clarification or add additional context in comments.

5 Comments

They purposefully made this more difficult than necessary, since you can't right click on it to hide it.
@KP99 There's some sense in it if that is how you show or hide any other similar UI features. Personally I would have preferred they not bake Copilot functionality into VS at all and leave it relegated to an add-on only, so those who want to use it can do so without mucking up the UI or increasing the installation size of VS for those who don't want it.
Still does not remove the button.
@EmmaHarris You're probably not doing it correctly then.
Thanks :) yes - I had removed it via the VS installer but I had not checked the "Hide copilot badge" in options

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.