diff --git a/assets/images/help/copilot/configure-code-completions-option-vscode.png b/assets/images/help/copilot/configure-code-completions-option-vscode.png new file mode 100644 index 000000000000..f12100a78188 Binary files /dev/null and b/assets/images/help/copilot/configure-code-completions-option-vscode.png differ diff --git a/assets/images/help/copilot/disable-completions-dialog.png b/assets/images/help/copilot/disable-completions-dialog.png new file mode 100644 index 000000000000..027c51da4443 Binary files /dev/null and b/assets/images/help/copilot/disable-completions-dialog.png differ diff --git a/assets/images/help/copilot/vsc-copilot-chat-icon.png b/assets/images/help/copilot/vsc-copilot-chat-icon.png index 083e2f598e85..260711a9ebe2 100644 Binary files a/assets/images/help/copilot/vsc-copilot-chat-icon.png and b/assets/images/help/copilot/vsc-copilot-chat-icon.png differ diff --git a/content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md b/content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md index f66f16cc6ffc..d7b716d95fc0 100644 --- a/content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md +++ b/content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md @@ -18,7 +18,7 @@ versions: ## About {% data variables.product.prodname_copilot %} in JetBrains IDEs -If you use a JetBrains IDE, {% data variables.product.prodname_copilot %} can autocomplete code as you type. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within your IDE or on {% data variables.product.github %}. This article describes how to configure {% data variables.product.prodname_copilot %} in the IntelliJ IDE, but the user interfaces of other JetBrains IDEs may differ. +If you use a JetBrains IDE, {% data variables.product.prodname_copilot %} can help you with a variety of tasks, including generating code suggestions, explaining how the code in your editor works, and suggesting code fixes. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within your IDE or on {% data variables.product.github %}. This article describes how to configure {% data variables.product.prodname_copilot %} in the IntelliJ IDE, but the user interfaces of other JetBrains IDEs may differ. ## Prerequisites @@ -196,7 +196,7 @@ You can also add a configuration to make the `languageAllowList` readonly in the ## About {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vs %} -If you use {% data variables.product.prodname_vs %}, {% data variables.product.prodname_copilot %} can autocomplete code as you type. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within {% data variables.product.prodname_vs %} or on {% data variables.product.github %}. +If you use {% data variables.product.prodname_vs %}, {% data variables.product.prodname_copilot %} can help you with a variety of tasks, including generating code suggestions, explaining how the code in your editor works, and suggesting code fixes. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within {% data variables.product.prodname_vs %} or on {% data variables.product.github %}. ## Prerequisites @@ -252,15 +252,10 @@ If you use ReSharper, {% data variables.product.prodname_copilot %} may work bes ## About {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} -If you use {% data variables.product.prodname_vscode %}, you can use {% data variables.product.prodname_copilot %} to: -* Generate code -* Learn from the code {% data variables.product.prodname_copilot_short %} generates -* Help you configure your editor +If you use {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_copilot %} can help you with a variety of tasks, including generating code suggestions, explaining how the code in your editor works, and suggesting edits based on your instructions. You can enable or disable {% data variables.product.prodname_copilot %}, and configure advanced settings within {% data variables.product.prodname_vscode %} or on {% data variables.product.github %}. You can learn more about scenarios and setup in the [{% data variables.product.prodname_vscode_shortname %} documentation](https://code.visualstudio.com/docs/copilot/overview#_use-cases-for-github-copilot-in-vs-code). -After you install the {% data variables.product.prodname_copilot %} extension, you can enable or disable it, and you can configure advanced settings within {% data variables.product.prodname_vscode %} or on {% data variables.product.github %}. - ## Keyboard shortcuts for {% data variables.product.prodname_copilot %} You can use the default keyboard shortcuts for {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_copilot %}. Search keyboard shortcuts by command name in the Keyboard Shortcuts editor. @@ -404,7 +399,7 @@ You can rebind the keyboard shortcuts in Vim/Neovim when using {% data variables ## About {% data variables.product.prodname_copilot %} in Xcode -If you use Xcode, {% data variables.product.prodname_copilot %} can autocomplete code as you type. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within Xcode or on {% data variables.product.github %}. +If you use Xcode, {% data variables.product.prodname_copilot %} can help you with a variety of tasks, including generating code suggestions, explaining how the code in your editor works, and suggesting code fixes. After installation, you can enable or disable {% data variables.product.prodname_copilot %}, and you can configure advanced settings within Xcode or on {% data variables.product.github %}. ## Prerequisites diff --git a/content/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat.md b/content/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat.md index 2fac79bd6a3f..bcdd7afeeb96 100644 --- a/content/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat.md +++ b/content/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat.md @@ -34,7 +34,7 @@ To use {% data variables.product.prodname_copilot_chat %}, make sure you are usi ### Troubleshooting authentication issues in {% data variables.product.prodname_vscode %} -If you are experiencing authentication issues after installing the {% data variables.product.prodname_copilot_chat %} extension in {% data variables.product.prodname_vscode %}, you can try the following steps to resolve the issue. +If you are signed in to {% data variables.product.github %} but {% data variables.product.prodname_copilot_short %} is unavailable in {% data variables.product.prodname_vscode %}, it may be due to an authentication problem. Try the following steps to resolve the issue: 1. In the bottom left corner of the {% data variables.product.prodname_vscode %} window, click the **Accounts** icon, hover over your {% data variables.product.prodname_dotcom %} username, and click the **Sign out** button. 1. To reload {% data variables.product.prodname_vscode %}, press F1 to open the command palette, and select **Developer: Reload Window**. diff --git a/content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md b/content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md index 415f5b897028..e580d99c2c32 100644 --- a/content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md +++ b/content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md @@ -28,17 +28,13 @@ shortTitle: Chat in IDE You can ask {% data variables.product.prodname_copilot_chat_short %} to give you code suggestions, explain code, generate unit tests, and suggest code fixes. -{% data reusables.copilot.open-chat-vs-code %} +1. To open the chat view, click the **{% octicon "copilot" aria-hidden="true" %}** icon in the title bar of {% data variables.product.prodname_vscode %}. If the **{% octicon "copilot" aria-hidden="true" %}** icon is not displayed, right-click the title bar and make sure that **Command Center** is selected. - ![Screenshot of the {% data variables.product.prodname_copilot_chat_short %} icon in the Activity Bar.](/assets/images/help/copilot/vsc-copilot-chat-icon.png) - - > [!TIP] - > - > For additional ways to access {% data variables.product.prodname_copilot_chat_short %}, including inline with your code, see [Additional ways to access {% data variables.product.prodname_copilot_chat_short %}](#additional-ways-to-access-copilot-chat) below. + ![Screenshot of the '{% data variables.product.prodname_copilot_chat_short %}' button, highlighted with a dark orange outline.](/assets/images/help/copilot/vsc-copilot-chat-icon.png) 1. Enter a prompt in the prompt box, or click one of the suggested prompts. For an introduction to the kinds of prompts you can use, see [AUTOTITLE](/copilot/using-github-copilot/guides-on-using-github-copilot/getting-started-with-prompts-for-copilot-chat). -1. Evaluate {% data variables.product.prodname_copilot_short %}'s response, and make a follow up request if needed. +1. Evaluate {% data variables.product.prodname_copilot_short %}'s response, and make a follow-up request if needed. The response may contain text, code blocks, buttons, images, URIs, and file trees. The response often includes interactive elements. For example, the response may include a menu to insert a code block, or a button to invoke a {% data variables.product.prodname_vscode %} command. @@ -78,9 +74,6 @@ To see all available chat variables, type `#` in the chat prompt box. See also [ ## Using {% data variables.product.prodname_dotcom %} skills for {% data variables.product.prodname_copilot_short %} -> [!NOTE] -> This functionality is available with the {% data variables.product.prodname_copilot_chat_short %} extension v0.20.3 or later and {% data variables.product.prodname_vscode_shortname %} or {% data variables.product.prodname_vscode_shortname %} Insiders 1.93 or later. - {% data reusables.copilot.using-skills %} {% ifversion ghec %} @@ -108,8 +101,8 @@ You can tell {% data variables.product.prodname_copilot_short %} to answer a que In addition to submitting prompts through the chat view, you can submit prompts in other ways: +* **Quick chat:** To open the quick chat dropdown, enter +++L (Mac) / Ctrl+Shift+Alt+L (Windows/Linux). * **Inline:** To start an inline chat directly in the editor or integrated terminal, enter Command+i (Mac) / Ctrl+i (Windows/Linux). -* **Quick chat:** To open the quick chat dropdown, enter Shift+Command+i (Mac) / Shift+Ctrl+i (Windows/Linux). * **Smart actions:** To submit prompts via the context menu, right click in your editor, select **{% data variables.product.prodname_copilot_short %}** in the menu that appears, then select one of the actions. Smart actions can also be accessed via the sparkle icon that sometimes appears when you select a line of code. See [inline chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_inline-chat), [quick chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_quick-chat), and [chat smart actions](https://code.visualstudio.com/docs/copilot/copilot-chat#_chat-smart-actions) in the {% data variables.product.prodname_vscode %} documentation for more details. diff --git a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md index 6d49a1de863a..6866ddc99d18 100644 --- a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md +++ b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md @@ -256,6 +256,8 @@ The examples in this guide use JavaScript, however other languages will work sim * **Access to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you need either an active {% data variables.product.prodname_copilot_short %} subscription (such as {% data variables.product.prodname_copilot_pro_short %}, {% data variables.product.prodname_copilot_enterprise_short %}, or {% data variables.product.prodname_copilot_business_short %}) or access through {% data variables.product.prodname_copilot_free_short %}, which provides limited functionality. {% data reusables.copilot.subscription-prerequisite %} +* **Sign in to {% data variables.product.github %} in {% data variables.product.prodname_vscode %}**. See [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the {% data variables.product.prodname_vscode_shortname %} documentation.. + * **{% data variables.product.prodname_vscode %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}, you must have {% data variables.product.prodname_vscode %} installed. For more information, see the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download). * **{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %}**. When you set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %} for the first time, the required extensions are installed automatically. You don't need to download or install them manually. For detailed instructions, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the {% data variables.product.prodname_vscode %} documentation. diff --git a/data/reusables/copilot/enabling-or-disabling-in-vsc.md b/data/reusables/copilot/enabling-or-disabling-in-vsc.md index e3068994a42f..3319075efcce 100644 --- a/data/reusables/copilot/enabling-or-disabling-in-vsc.md +++ b/data/reusables/copilot/enabling-or-disabling-in-vsc.md @@ -1,13 +1,11 @@ -## Enabling or disabling {% data variables.product.prodname_copilot %} +## Enabling or disabling {% data variables.product.prodname_copilot %} code completions -You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the {% data variables.product.prodname_vscode %} window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. When enabled, the background color of the icon will match the color of the status bar. When disabled, the background color of the icon will contrast with the color of the status bar. +You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}. -1. To enable or disable {% data variables.product.prodname_copilot %}, click the status icon in the bottom panel of the {% data variables.product.prodname_vscode %} window. +1. To configure code completions, click the arrow next to the **{% octicon "copilot" aria-hidden="true" %}** icon in the title bar of {% data variables.product.prodname_vscode %}, then select **Configure code completions**. - ![Screenshot of the bottom panel in {% data variables.product.prodname_vscode %}. The {% data variables.product.prodname_copilot %} icon is outlined in dark orange.](/assets/images/help/copilot/status-icon-visual-studio-code.png) + ![Screenshot of the option in the {% data variables.product.prodname_copilot %} dropdown. Configure code completions is highlighted in orange.](/assets/images/help/copilot/configure-code-completions-option-vscode.png) -1. If you are disabling {% data variables.product.prodname_copilot %}, you will be asked whether you want to disable suggestions globally, or for the language of the file you are currently editing. +1. In the "Configure {% data variables.product.prodname_copilot_short %} Completions" dialog, select **Enable Completions** or **Disable Completions**. - * To disable suggestions from {% data variables.product.prodname_copilot %} globally, click **Disable Globally**. - * To disable suggestions from {% data variables.product.prodname_copilot %} for the specified language, click **Disable for LANGUAGE**. - ![Screenshot of option to disable {% data variables.product.prodname_copilot %} globally or for the current language.](/assets/images/help/copilot/disable-copilot-global-or-language.png) + ![Screenshot of the "Configure {% data variables.product.prodname_copilot_short %} Completions" dialog. Enable Completions and Disable Completions options are highlighted in orange.](/assets/images/help/copilot/disable-completions-dialog.png) diff --git a/data/reusables/copilot/vscode-prerequisites.md b/data/reusables/copilot/vscode-prerequisites.md index f1c75cb2d762..ad774f3e6e49 100644 --- a/data/reusables/copilot/vscode-prerequisites.md +++ b/data/reusables/copilot/vscode-prerequisites.md @@ -1,3 +1,2 @@ * **Latest version of {% data variables.product.prodname_vscode %}**. See the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download). -* **The {% data variables.product.prodname_copilot %} extension** - Install this from the [{% data variables.product.prodname_vs %} Marketplace](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot). For more information, see [Set up {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}](https://code.visualstudio.com/docs/copilot/setup) in the Microsoft documentation. * **Sign in to {% data variables.product.company_short %} in {% data variables.product.prodname_vscode %}**. If you experience authentication issues, see [AUTOTITLE](/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat#troubleshooting-authentication-issues-in-your-editor).