Skip to content

Commit b9e283c

Browse files
jules-pfelicitymay
andauthored
Bugfix: Incorrect instructions for Copilot in Xcode (#55581)
Co-authored-by: Jules Porter <[email protected]> Co-authored-by: Felicity Chapman <[email protected]>
1 parent a1be25b commit b9e283c

File tree

6 files changed

+24
-23
lines changed

6 files changed

+24
-23
lines changed

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -330,19 +330,7 @@ You can specify which languages you want to enable or disable {% data variables.
330330
1. Under "Enable or disable {% data variables.product.prodname_copilot_short %} for specified languages," click **Edit in settings.json**.
331331
1. In the _settings.json_ file, add or remove the languages you want to enable or disable {% data variables.product.prodname_copilot %} for. For example, to enable Python in {% data variables.product.prodname_copilot %}, add `"python": true` to the list, ensuring there is a trailing comma after all but the last list item.
332332

333-
```json
334-
{
335-
"editor.inlineSuggest.enabled": true,
336-
"github.copilot.enable": {
337-
"*": true,
338-
"yaml": false,
339-
"plaintext": false,
340-
"markdown": true,
341-
"javascript": true,
342-
"python": true
343-
}
344-
}
345-
```
333+
{% data reusables.copilot.vs-code-settings-json-ex %}
346334

347335
## Revoking {% data variables.product.prodname_copilot %} authorization
348336

@@ -431,22 +419,22 @@ If you don't want to use the default keyboard shortcuts for {% data variables.pr
431419

432420
If you want to use something besides <kbd>Tab</kbd> to accept the first line of a suggestion, you need to disable the "Accept suggestions with Tab" option in the advanced settings in the {% data variables.product.prodname_copilot %} for Xcode application. Additionally, we currently only support the <kbd>Option</kbd> key for the "View full suggestion" action.
433421

434-
1. In the Xcode menu bar, click **Settings**.
422+
1. In the Xcode menu, click **Xcode** then **Settings**.
435423
1. Click **Key Bindings** and search for "{% data variables.product.prodname_copilot_short %}" to find the commands you want to rebind.
436424

437425
## Enabling or disabling {% data variables.product.prodname_copilot %}
438426

439427
You can enable or disable the {% data variables.product.prodname_copilot %} extension from within the application.
440428

441-
1. Open the {% data variables.product.prodname_copilot %} extension application.
429+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
442430
1. At the top of the application window, click **Advanced**.
443431
1. In the "Suggestion Settings" section, use the "Request suggestions while typing" toggle to enable or disable the extension.
444432

445433
## Automatically updating {% data variables.product.prodname_copilot %} for Xcode
446434

447435
You can configure the {% data variables.product.prodname_copilot %} extension to automatically check for updates.
448436

449-
1. Open the {% data variables.product.prodname_copilot %} extension application.
437+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
450438
1. Select **Automatically check for updates**.
451439

452440
After updating the extension, Xcode must be restarted for the changes to take effect.

content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ Two permissions are required to be able to use the extension: "Accessibility" an
206206
207207
The "Xcode Source Editor Extension" permission needs to be enabled manually.
208208
209-
1. Open the {% data variables.product.prodname_copilot %} extension application.
210-
1. Click **Extension Permission** and click **Xcode Source Editor**.
209+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
210+
1. Click **Extension Permission**.
211211
1. Enable {% data variables.product.prodname_copilot %} and click **Done**.
212212
213213
After granting the required permissions, restart Xcode. You will see a new item in the "Editor" menu called "{% data variables.product.prodname_copilot %}".
@@ -218,7 +218,7 @@ Before you can use the {% data variables.product.prodname_copilot %} extension f
218218
219219
>[!NOTE] {% data reusables.copilot.sign-in-ghecom %} See [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom?tool=xcode#authenticating-from-xcode).
220220
221-
1. Open the {% data variables.product.prodname_copilot %} extension application.
221+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
222222
1. Click **Login to {% data variables.product.github %}** and follow the prompts to authorize the extension.
223223
224224
{% endxcode %}

content/copilot/troubleshooting-github-copilot/viewing-logs-for-github-copilot-in-your-environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ To check if GitHub Copilot is operational, run the following command in Vim/Neov
163163

164164
The log files for the {% data variables.product.prodname_copilot %} extension for Xcode are stored in `~/Library/Logs/GitHubCopilot/`. The most recent file is named `github-copilot-for-xcode.log`.
165165

166-
1. Open the {% data variables.product.prodname_copilot %} extension application.
166+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
167167
1. At the top of the application window, click **Advanced**.
168168
1. In the "Logging" section, click **Open Copilot Log Folder**.
169169

170170
## Enabling verbose logs
171171

172172
You can enable verbose logging to help troubleshoot issues with the {% data variables.product.prodname_copilot %} extension for Xcode.
173173

174-
1. Open the {% data variables.product.prodname_copilot %} extension application.
174+
1. Open the {% data variables.product.prodname_copilot %} for Xcode application.
175175
1. At the top of the application window, click **Advanced**.
176176
1. In the "Logging" section, next to "Verbose Logging", toggle the switch to the right.
177177

content/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ To use multi-model {% data variables.product.prodname_copilot_chat_short %}, you
245245

246246
{% data reusables.copilot.chat-model-limitations-ide %}
247247

248-
1. To open the chat view, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then click **Open Chat**.
248+
1. To open the chat view, click **Editor** in the menu bar, then click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** then **Open Chat**. {% data variables.product.prodname_copilot_chat_short %} opens in a new window.
249249
1. In the bottom right of the chat view, select the **CURRENT-MODEL** {% octicon "triangle-down" aria-hidden="true" %} dropdown menu, then click the AI model of your choice.
250250

251251
{% endxcode %}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ To use {% data variables.product.prodname_copilot %} for Xcode, you must install
446446

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

449-
1. To open the chat view, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then click **Open Chat**.
449+
1. To open the chat view, click **Editor** in the menu bar, then click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** then **Open Chat**. {% data variables.product.prodname_copilot_chat_short %} opens in a new window.
450450

451451
1. Enter a prompt in the prompt box. For example prompts, see [AUTOTITLE](/copilot/using-github-copilot/guides-on-using-github-copilot/getting-started-with-prompts-for-copilot-chat).
452452

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
```json
2+
{
3+
"editor.inlineSuggest.enabled": true,
4+
"github.copilot.enable": {
5+
"*": true,
6+
"yaml": false,
7+
"plaintext": false,
8+
"markdown": true,
9+
"javascript": true,
10+
"python": true
11+
}
12+
}
13+
```

0 commit comments

Comments
 (0)