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: content/copilot/concepts/agents/coding-agent/about-coding-agent.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ When used effectively, {% data variables.copilot.copilot_coding_agent %} offers
50
50
51
51
### {% data variables.copilot.copilot_coding_agent %} versus agent mode
52
52
53
-
{% data variables.copilot.copilot_coding_agent %} is distinct from the "agent mode" feature available in {% data variables.product.prodname_vs %} and {% data variables.product.prodname_vscode %}. {% data variables.copilot.copilot_coding_agent %} works autonomously in a {% data variables.product.prodname_actions %}-powered environment to complete development tasks assigned through {% data variables.product.github %} issues or {% data variables.copilot.copilot_chat %} prompts, and creates pull requests with the results. In contrast, agent mode in {% data variables.product.prodname_vs %} and {% data variables.product.prodname_vscode %} is part of the {% data variables.copilot.copilot_edits %} feature that allows {% data variables.product.prodname_copilot_short %} to make autonomous edits directly in your local development environment. For more information about agent mode, see [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide?tool=visualstudio#copilot-edits-1).
53
+
{% data variables.copilot.copilot_coding_agent %} is distinct from the "agent mode" feature available in your IDE. {% data variables.copilot.copilot_coding_agent %} works autonomously in a {% data variables.product.prodname_actions %}-powered environment to complete development tasks assigned through {% data variables.product.github %} issues or {% data variables.copilot.copilot_chat %} prompts, and creates pull requests with the results. In contrast, agent mode in your IDE makes autonomous edits directly in your local development environment. For more information about agent mode, see [AUTOTITLE](/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide?tool=visualstudio#copilot-edits-1).
54
54
55
55
### Streamlining software development with {% data variables.copilot.copilot_coding_agent %}
Copy file name to clipboardExpand all lines: content/copilot/get-started/quickstart.md
+88-10Lines changed: 88 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,15 @@ contentType: get-started
24
24
25
25
## Introduction
26
26
27
+
<!-- --------------------- -->
28
+
<!-- Web browser -->
29
+
<!-- --------------------- -->
30
+
27
31
{% webui %}
28
32
29
33
You can use {% data variables.product.prodname_copilot_short %} to get answers to coding-related questions, such as how best to code something, how to fix a bug, or how someone else's code works. For full details of what {% data variables.product.prodname_copilot_short %} can do, see [AUTOTITLE](/copilot/about-github-copilot/what-is-github-copilot).
30
34
31
-
Instructions for using {% data variables.product.prodname_copilot_short %} differ depending on where you are using it. This version of the quickstart is for {% data variables.product.github %}. Click the tabs above for instructions on using {% data variables.product.prodname_copilot_short %} in other environments.
35
+
Instructions for using {% data variables.product.prodname_copilot_short %} differ depending on where you are using it. This version of the quickstart is for using {% data variables.product.prodname_copilot_short %} on the {% data variables.product.github %} website. Click the tabs above for instructions on using {% data variables.product.prodname_copilot_short %} in other environments.
32
36
33
37
{% ifversion fpt %}
34
38
{% data reusables.copilot.quickstart-signup %}
@@ -82,6 +86,10 @@ For more information, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-
82
86
83
87
{% endwebui %}
84
88
89
+
<!-- --------------------- -->
90
+
<!-- Windows terminal -->
91
+
<!-- --------------------- -->
92
+
85
93
{% windowsterminal %}
86
94
87
95
{% data reusables.copilot.quickstart-intro %}
@@ -94,9 +102,7 @@ Instructions for using {% data variables.product.prodname_copilot_short %} diffe
94
102
95
103
## Prerequisites
96
104
97
-
{% ifversion ghec %}
98
105
***Subscription to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_windows_terminal %}, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
99
-
{% endif %}
100
106
***{% data variables.product.prodname_windows_terminal %} Canary**. Terminal Chat is only available in [{% data variables.product.prodname_windows_terminal %} Canary](https://github.com/microsoft/terminal?tab=readme-ov-file#installing-windows-terminal-canary).
101
107
102
108
## Use {% data variables.product.prodname_copilot_short %} in Terminal Chat
@@ -132,6 +138,10 @@ After you've installed {% data variables.product.prodname_windows_terminal %} Ca
132
138
133
139
{% endwindowsterminal %}
134
140
141
+
<!-- --------------------- -->
142
+
<!-- VS Code -->
143
+
<!-- --------------------- -->
144
+
135
145
{% vscode %}
136
146
137
147
{% data reusables.copilot.quickstart-intro %}
@@ -144,9 +154,7 @@ Instructions for using {% data variables.product.prodname_copilot_short %} diffe
144
154
145
155
## Prerequisites
146
156
147
-
{% ifversion ghec %}
148
157
***{% data variables.product.prodname_copilot_short %} subscription** - To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode_shortname %}, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
149
-
{% endif %}
150
158
{% data reusables.copilot.vscode-prerequisites %}
151
159
152
160
## Chat with {% data variables.product.prodname_copilot %}
@@ -190,6 +198,10 @@ The following example uses JavaScript, however other languages will work similar
190
198
191
199
{% endvscode %}
192
200
201
+
<!-- --------------------- -->
202
+
<!-- Visual Studio -->
203
+
<!-- --------------------- -->
204
+
193
205
{% visualstudio %}
194
206
195
207
{% data reusables.copilot.quickstart-intro %}
@@ -202,9 +214,7 @@ Instructions for using {% data variables.product.prodname_copilot_short %} diffe
202
214
203
215
## Prerequisites
204
216
205
-
{% ifversion ghec %}
206
217
***Subscription to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vs %}, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
207
-
{% endif %}
208
218
{% data reusables.copilot.visual-studio-prerequisites %}
209
219
210
220
## Chat with {% data variables.product.prodname_copilot %}
@@ -240,6 +250,10 @@ The following example uses JavaScript, however other languages will work similar
240
250
241
251
{% endvisualstudio %}
242
252
253
+
<!-- --------------------- -->
254
+
<!-- JetBrains -->
255
+
<!-- --------------------- -->
256
+
243
257
{% jetbrains %}
244
258
245
259
{% data reusables.copilot.quickstart-intro %}
@@ -252,9 +266,7 @@ Instructions for using {% data variables.product.prodname_copilot_short %} diffe
252
266
253
267
## Prerequisites
254
268
255
-
{% ifversion ghec %}
256
-
***Subscription to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vs %}, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
257
-
{% endif %}
269
+
***Subscription to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in a JetBrains IDE, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
258
270
***A compatible JetBrains IDE**. {% data variables.product.prodname_copilot_short %} is supported in a large number of JetBrains IDEs. For a full list, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-ides/using-github-copilot-chat-in-your-ide?tool=jetbrains).
259
271
{% data reusables.copilot.jetbrains-plugin-prerequisites %}
260
272
@@ -291,3 +303,69 @@ The following example uses JavaScript, however other languages will work similar
291
303
{% data reusables.copilot.quickstart-nextsteps2 %}
292
304
293
305
{% endjetbrains %}
306
+
307
+
<!-- --------------------- -->
308
+
<!-- XCode -->
309
+
<!-- --------------------- -->
310
+
311
+
{% xcode %}
312
+
313
+
{% data reusables.copilot.quickstart-intro %}
314
+
315
+
Instructions for using {% data variables.product.prodname_copilot_short %} differ depending on where you are using it. This version of the quickstart is for XCode in MacOS. Click the tabs above for instructions on using {% data variables.product.prodname_copilot_short %} in other environments.
316
+
317
+
{% ifversion fpt %}
318
+
{% data reusables.copilot.quickstart-signup %}
319
+
{% endif %}
320
+
321
+
## Prerequisites
322
+
323
+
***Subscription to {% data variables.product.prodname_copilot_short %}**. To use {% data variables.product.prodname_copilot %} in Xcode, you must have an active {% data variables.product.prodname_copilot %} subscription. {% data reusables.copilot.subscription-prerequisite %}
324
+
***Latest version of the {% data variables.product.prodname_copilot %} extension**. For installation instructions, see [AUTOTITLE](/copilot/how-tos/set-up/install-copilot-extension?tool=xcode).
325
+
***Sign in to {% data variables.product.company_short %} in Xcode**. If you experience authentication issues, see [AUTOTITLE](/copilot/troubleshooting-github-copilot/troubleshooting-issues-with-github-copilot-chat#troubleshooting-authentication-issues-in-your-editor).
326
+
327
+
## Chat with {% data variables.product.prodname_copilot %}
328
+
329
+
After you've installed the {% data variables.product.prodname_copilot %} plugin, you can ask {% data variables.product.prodname_copilot_short %} coding-related questions.
330
+
331
+
> [!NOTE] {% data reusables.copilot.chat-access-denied %}
332
+
333
+
1. Open an existing code file.
334
+
1. Click **Editor** in the menu bar, then click **{% data variables.product.prodname_copilot %}** then **Open Chat**.
335
+
336
+
{% data variables.copilot.copilot_chat_short %} opens in a new window.
337
+
338
+
1. In the {% data variables.copilot.copilot_chat_short %} window, select the file to indicate that you want to chat about this file.
339
+
340
+

341
+
342
+
1. Type `what does this file do` then press <kbd>Enter</kbd>.
343
+
344
+
{% data variables.product.prodname_copilot_short %}'s answer is displayed below your question.
345
+
346
+
1. Select a line of code in the editor.
347
+
1. In the {% data variables.copilot.copilot_chat_short %} window, type `explain this line` then press <kbd>Enter</kbd>.
348
+
349
+
## Get your first code completion suggestion
350
+
351
+
The following example uses Swift, however other languages will work similarly.
352
+
353
+
1. Create a new file called `CalculateDays.swift`.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/set-up/install-copilot-extension.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,7 @@ To use {% data variables.product.prodname_copilot %} for Xcode you must have Xco
203
203
1. Make sure you have access to {% data variables.product.prodname_copilot %}. For information, see [AUTOTITLE](/copilot/about-github-copilot#getting-access-to-github-copilot).
204
204
1. Make sure you have a compatible version of Xcode installed. To use {% data variables.product.prodname_copilot %} for Xcode you must have Xcode version 8.0 or above and macOS Monterey (12.0) or above. See [Xcode](https://developer.apple.com/xcode/) on the Apple Developer site.
205
205
1. Download the latest version of the {% data variables.product.prodname_copilot %} for Xcode extension from the [`github/CopilotForXcode` repository](https://github.com/github/CopilotForXcode/releases/latest/download/GitHubCopilotForXcode.dmg) and install it. A background item will be added for the application to be able to start itself when Xcode starts.
206
+
1. Open the **{% data variables.product.prodname_copilot %} for Xcode** application from the Applications folder and step through the on-screen instructions for setting up the extension.
0 commit comments