From 8dbc48f621417c049beda361193f9f118b773891 Mon Sep 17 00:00:00 2001 From: Nick Trogh <1908215+ntrogh@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:19:45 +0100 Subject: [PATCH] Update Copilot FAQ for account preferences --- docs/copilot/faq.md | 21 ++++++++++++------- .../faq/account-preferences-quick-pick.png | 3 +++ .../copilot/images/faq/copilot-extensions.png | 3 +++ .../faq/extension-account-preferences.png | 3 +++ 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 docs/copilot/images/faq/account-preferences-quick-pick.png create mode 100644 docs/copilot/images/faq/copilot-extensions.png create mode 100644 docs/copilot/images/faq/extension-account-preferences.png diff --git a/docs/copilot/faq.md b/docs/copilot/faq.md index cf751f9aec..9898a144f2 100644 --- a/docs/copilot/faq.md +++ b/docs/copilot/faq.md @@ -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 diff --git a/docs/copilot/images/faq/account-preferences-quick-pick.png b/docs/copilot/images/faq/account-preferences-quick-pick.png new file mode 100644 index 0000000000..fbf9ac421d --- /dev/null +++ b/docs/copilot/images/faq/account-preferences-quick-pick.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26a470fbf4fb3ed3c5e0ad8296827e834e350dd5ba0df02a562b5765867903a2 +size 46171 diff --git a/docs/copilot/images/faq/copilot-extensions.png b/docs/copilot/images/faq/copilot-extensions.png new file mode 100644 index 0000000000..a2f079c506 --- /dev/null +++ b/docs/copilot/images/faq/copilot-extensions.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:024128eed686dcbe60b74171dd8b3c0e8f0698f059adc963cd9e6e9d1fb870d9 +size 101601 diff --git a/docs/copilot/images/faq/extension-account-preferences.png b/docs/copilot/images/faq/extension-account-preferences.png new file mode 100644 index 0000000000..18d981c5ab --- /dev/null +++ b/docs/copilot/images/faq/extension-account-preferences.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d1184f4fcd60b4514c897e4629de7e17c6168ec982d32ebd4cb7d0c24e351ca +size 285166