Skip to content

Commit

Permalink
Update Copilot FAQ for account preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrogh committed Nov 7, 2024
1 parent 019a166 commit 8dbc48f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docs/copilot/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,30 @@ Learn more about [billing for GitHub Copilot](https://docs.github.com/billing/ma

### My Copilot subscription is not detected in VS Code

- To use Copilot Chat in Visual Studio Code, you must be signed into Visual Studio Code with the same GitHub ID that has access to GitHub Copilot. If your Copilot subscription is associated with another GitHub account, you might have to sign out of your GitHub account and sign in with another account. Use the **Accounts** menu in the Activity bar for signing out of your current GitHub account.
- To use Copilot Chat in Visual Studio Code, you must be signed into Visual Studio Code with a GitHub ID that has access to GitHub Copilot. If your Copilot subscription is associated with another GitHub account, you might have to sign out of your GitHub account and sign in with another account. Use the **Accounts** menu in the Activity Bar for signing out of your current GitHub account.

- Verify that your Copilot subscription is still active in [GitHub Copilot settings](https://github.com/settings/copilot).

### How can I switch accounts for Copilot

To switch to another GitHub account for using Copilot, first sign out of your GitHub account in VS Code, and then sign in with another account.
To switch to another GitHub account for using Copilot:

1. Sign out of your current GitHub account in VS Code:
1. Open the Extensions view from the Activity Bar ( or use `kb(workbench.view.extensions)`) and enter *GitHub Copilot* in the search box.

Select the **Accounts** menu in the Activity Bar, and then select **Sign out** for the account you're currently signed in with for Copilot.
![Extensions view in VS Code, showing the GitHub Copilot extension.](images/faq/copilot-extensions.png)

![Accounts menu in VS Code, showing the option to sign out of the current GitHub account.](images/setup/vscode-accounts-menu-signout.png)
> [!NOTE]
> There are two Copilot extensions: GitHub Copilot and GitHub Copilot Chat.
1. Sign in to GitHub in VS Code:
1. For the **GitHub Copilot** extension, select the gear icon, and then select **Account Preferences**.

Select the **Accounts** menu in the Activity Bar, and then select **Sign in with GitHub to use GitHub Copilot**.
![Accounts menu in VS Code, showing the option to sign out of the current GitHub account.](images/faq/extension-account-preferences.png)

![Accounts menu in VS Code, showing the option to sign in with GitHub to use GitHub Copilot.](images/setup/vscode-accounts-menu.png)
1. From the Account Preferences Quick Pick, choose an existing account or select **Use a new account...** to sign in with a different GitHub account.

![Accounts menu in VS Code, showing the option to sign in with GitHub to use GitHub Copilot.](images/faq/account-preferences-quick-pick.png)

1. Repeat these steps for the **GitHub Copilot Chat** extension.

## General

Expand Down
3 changes: 3 additions & 0 deletions docs/copilot/images/faq/account-preferences-quick-pick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/copilot/images/faq/copilot-extensions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/copilot/images/faq/extension-account-preferences.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8dbc48f

Please sign in to comment.