Skip to content

Commit a4c613c

Browse files
Updating out of date Copilot in VS Code docs (and other 3rd party environments) (#54879)
Co-authored-by: Jules Porter <jules-p@users.noreply.github.com> Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com>
1 parent 58a6cbf commit a4c613c

9 files changed

+17
-30
lines changed
Loading
34.5 KB
Loading

Diff for: assets/images/help/copilot/vsc-copilot-chat-icon.png

-220 KB
Loading

Diff for: content/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ versions:
1818

1919
## About {% data variables.product.prodname_copilot %} in JetBrains IDEs
2020

21-
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.
21+
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.
2222

2323
## Prerequisites
2424

@@ -196,7 +196,7 @@ You can also add a configuration to make the `languageAllowList` readonly in the
196196

197197
## About {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vs %}
198198

199-
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 %}.
199+
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 %}.
200200

201201
## Prerequisites
202202

@@ -252,15 +252,10 @@ If you use ReSharper, {% data variables.product.prodname_copilot %} may work bes
252252

253253
## About {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode %}
254254

255-
If you use {% data variables.product.prodname_vscode %}, you can use {% data variables.product.prodname_copilot %} to:
256-
* Generate code
257-
* Learn from the code {% data variables.product.prodname_copilot_short %} generates
258-
* Help you configure your editor
255+
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 %}.
259256

260257
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).
261258

262-
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 %}.
263-
264259
## Keyboard shortcuts for {% data variables.product.prodname_copilot %}
265260

266261
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
404399

405400
## About {% data variables.product.prodname_copilot %} in Xcode
406401

407-
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 %}.
402+
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 %}.
408403

409404
## Prerequisites
410405

Diff for: content/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To use {% data variables.product.prodname_copilot_chat %}, make sure you are usi
3434

3535
### Troubleshooting authentication issues in {% data variables.product.prodname_vscode %}
3636

37-
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.
37+
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:
3838

3939
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.
4040
1. To reload {% data variables.product.prodname_vscode %}, press <kbd>F1</kbd> to open the command palette, and select **Developer: Reload Window**.

Diff for: content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md

+4-11
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,13 @@ shortTitle: Chat in IDE
2828

2929
You can ask {% data variables.product.prodname_copilot_chat_short %} to give you code suggestions, explain code, generate unit tests, and suggest code fixes.
3030

31-
{% data reusables.copilot.open-chat-vs-code %}
31+
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.
3232

33-
![Screenshot of the {% data variables.product.prodname_copilot_chat_short %} icon in the Activity Bar.](/assets/images/help/copilot/vsc-copilot-chat-icon.png)
34-
35-
> [!TIP]
36-
>
37-
> 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.
33+
![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)
3834

3935
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).
4036

41-
1. Evaluate {% data variables.product.prodname_copilot_short %}'s response, and make a follow up request if needed.
37+
1. Evaluate {% data variables.product.prodname_copilot_short %}'s response, and make a follow-up request if needed.
4238

4339
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.
4440

@@ -78,9 +74,6 @@ To see all available chat variables, type `#` in the chat prompt box. See also [
7874

7975
## Using {% data variables.product.prodname_dotcom %} skills for {% data variables.product.prodname_copilot_short %}
8076

81-
> [!NOTE]
82-
> 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.
83-
8477
{% data reusables.copilot.using-skills %}
8578

8679
{% ifversion ghec %}
@@ -108,8 +101,8 @@ You can tell {% data variables.product.prodname_copilot_short %} to answer a que
108101

109102
In addition to submitting prompts through the chat view, you can submit prompts in other ways:
110103

104+
* **Quick chat:** To open the quick chat dropdown, enter <kbd>⇧</kbd>+<kbd>⌥</kbd>+<kbd>⌘</kbd>+<kbd>L</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>L</kbd> (Windows/Linux).
111105
* **Inline:** To start an inline chat directly in the editor or integrated terminal, enter <kbd>Command</kbd>+<kbd>i</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>i</kbd> (Windows/Linux).
112-
* **Quick chat:** To open the quick chat dropdown, enter <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>i</kbd> (Mac) / <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>i</kbd> (Windows/Linux).
113106
* **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.
114107

115108
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 for: content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md

+2
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ The examples in this guide use JavaScript, however other languages will work sim
256256
257257
* **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 %}
258258
259+
* **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..
260+
259261
* **{% 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).
260262
261263
* **{% 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.
+6-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
## Enabling or disabling {% data variables.product.prodname_copilot %}
1+
## Enabling or disabling {% data variables.product.prodname_copilot %} code completions
22

3-
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.
3+
You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}.
44

5-
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.
5+
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**.
66

7-
![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)
7+
![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)
88

9-
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.
9+
1. In the "Configure {% data variables.product.prodname_copilot_short %} Completions" dialog, select **Enable Completions** or **Disable Completions**.
1010

11-
* To disable suggestions from {% data variables.product.prodname_copilot %} globally, click **Disable Globally**.
12-
* To disable suggestions from {% data variables.product.prodname_copilot %} for the specified language, click **Disable for LANGUAGE**.
13-
![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)
11+
![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 for: data/reusables/copilot/vscode-prerequisites.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
* **Latest version of {% data variables.product.prodname_vscode %}**. See the [{% data variables.product.prodname_vscode %} download page](https://code.visualstudio.com/Download).
2-
* **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.
32
* **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).

0 commit comments

Comments
 (0)