You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/visual-studio-github-copilot-install-and-states.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Install and manage GitHub Copilot in Visual Studio
3
3
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.
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).
19
19
20
-
21
20
## Install using the Visual Studio Installer
22
21
23
22
1. Launch the Visual Studio Installer.
@@ -47,12 +46,29 @@ Using the dropdown menu, you can easily open the Chat window, access Copilot set
47
46
### Copilot is inactive
48
47
49
48
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
52
68
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.
54
70
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.":::
56
72
57
73
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.
0 commit comments