Skip to content

Commit 29509b4

Browse files
Merge pull request #13760 from anandmeg/copilot-signin
Add multi account info
2 parents df47918 + 22727f9 commit 29509b4

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed
10.8 KB
Loading
34.9 KB
Loading
9.63 KB
Loading
38 KB
Loading

docs/ide/visual-studio-github-copilot-install-and-states.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install and manage GitHub Copilot in Visual Studio
33
description: Learn how to install GitHub Copilot to get GitHub Copilot Completions and Chat in Visual Studio. Use the Copilot badge in the IDE to access options to manage or troubleshoot your Copilot state.
4-
ms.date: 12/18/2024
4+
ms.date: 3/28/2024
55
ms.topic: install-set-up-deploy
66
author: anandmeg
77
ms.author: meghaanand
@@ -17,7 +17,6 @@ ms.custom: [copilot-learning-hub]
1717

1818
In this article, you learn how to install and manage GitHub Copilot in [Visual Studio 2022 version 17.10 or later](/visualstudio/releases/2022/release-notes).
1919

20-
2120
## Install using the Visual Studio Installer
2221

2322
1. Launch the Visual Studio Installer.
@@ -47,12 +46,29 @@ Using the dropdown menu, you can easily open the Chat window, access Copilot set
4746
### Copilot is inactive
4847

4948
If Copilot is installed but in an inactive state, it may be because:
50-
- you're not yet signed into Visual Studio with a GitHub account
51-
- your signed in GitHub account doesn't have an active [Copilot subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)
49+
- You're not yet signed into Visual Studio with a GitHub account
50+
51+
Select **Sign in to use Copilot** in the dropdown from the status icon and [sign in with a GitHub account](work-with-github-accounts.md) that has an active subscription to use Copilot.
52+
53+
Or
54+
55+
Select **Open Chat Window** and then select **Sign up for Copilot Free** to sign up for [Copilot Free](copilot-free-plan.md) or **Sign in** if you already have a Copilot enabled account.
56+
57+
When you're signed in, the Copilot status icon updates to active.
58+
59+
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-inactive-sign-in-copilot-free.png" alt-text="Screenshot of Copilot badge when Copilot is in an inactive state.":::
60+
61+
- Your signed in GitHub account doesn't have an active [Copilot subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)
62+
63+
Sign in with a GitHub account with an active Copilot subscription, or select **Get Copilot for Free** from the status icon dropdown to sign up for Copilot Free.
64+
65+
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-inactive-copilot-free.png" alt-text="Screenshot of Copilot badge when user is signed in but Copilot is inactive.":::
66+
67+
- Your **active** GitHub account doesn't have a Copilot subscrition
5268

53-
Select **Add GitHub Account with a Copilot Subscription** in the dropdown from the status icon to open **Account Settings** and [sign in with a GitHub account](work-with-github-accounts.md) that has an active subscription to use Copilot. When you're signed in, the Copilot status icon updates to active.
69+
If you added multiple GitHub accounts in Visual Studio, ensure the [**active** account](work-with-github-accounts.md#switch-the-active-account) is the one with the active Copilot subscription.
5470

55-
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-inactive.png" alt-text="Screenshot of Copilot badge when Copilot is in an inactive state.":::
71+
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/set-active-github-account.png" alt-text="Screenshot of active GitHub account in Account Settings.":::
5672

5773
If Copilot is inactive as the signed in GitHub account credentials need to be refreshed, select [**Refresh your GitHub credentials**](visual-studio-github-copilot-troubleshoot.md#refresh-your-credentials) from the dropdown to refresh your GitHub account and sign in again.
5874

0 commit comments

Comments
 (0)