diff --git a/assets/images/help/copilot/duplication-detection.png b/assets/images/help/copilot/duplication-detection.png new file mode 100644 index 0000000000..054e25c60f Binary files /dev/null and b/assets/images/help/copilot/duplication-detection.png differ diff --git a/assets/images/help/copilot/telemetry-option.png b/assets/images/help/copilot/telemetry-option.png new file mode 100644 index 0000000000..9de25e7f13 Binary files /dev/null and b/assets/images/help/copilot/telemetry-option.png differ diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-jetbrains.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-jetbrains.md index 6708acba2f..91d49a2d4e 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-jetbrains.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-jetbrains.md @@ -38,3 +38,5 @@ You can specify which languages you want to enable or disable {% data variables. 1. In JetBrains, under the **File** menu, click **Settings**. 1. Under **Languages & Frameworks**, click **{% data variables.product.prodname_copilot %}**. 1. Under "Disabled languages", select the languages you want to disable {% data variables.product.prodname_copilot %} for. + +{% data reusables.copilot.dotcom-settings %} \ No newline at end of file diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-neovim.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-neovim.md index 48993f843c..797c14ef75 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-neovim.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-neovim.md @@ -15,3 +15,5 @@ For guidance on configuring {% data variables.product.prodname_copilot %} in Neo :help copilot + +{% data reusables.copilot.dotcom-settings %} diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md index 116ac4d126..bfe5544388 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md @@ -59,3 +59,5 @@ You can specify which languages you want to enable or disable {% data variables. 1. Display the **Copilot** section in the **Extensions** tab of the Visual Studio Code settings page. For more information, see "[Enabling and disabling inline suggestions](#enabling-and-disabling-inline-suggestions)." 1. Under "Enable or disable Copilot for specified languages", click **Edit in settings.json**. 1. In the settings.json file, add or remove the languages for which you want to enable or disable {% data variables.product.prodname_copilot %}. For example, to enable Python in {% data variables.product.prodname_copilot %}, add `"python": true` to the JSON list. + +{% data reusables.copilot.dotcom-settings %} diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md index cb9a7efe14..d28fd6e4a6 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md @@ -47,3 +47,5 @@ If you use ReSharper, {% data variables.product.prodname_copilot %} may work bes 1. In the "Options" dialog, under **Environment**, click **IntelliSense** and then click **General**. ![Screenshot of the IntelliSense option in the "Options" dialog](/assets/images/help/copilot/vs-options-intellisense.png) 1. Under "General" select **Visual Studio** and then click **Save**. + +{% data reusables.copilot.dotcom-settings %} diff --git a/data/reusables/copilot/dotcom-settings.md b/data/reusables/copilot/dotcom-settings.md new file mode 100644 index 0000000000..68c350d5fd --- /dev/null +++ b/data/reusables/copilot/dotcom-settings.md @@ -0,0 +1,19 @@ +## Configuring {% data variables.product.prodname_copilot %} + +Once you have an active {% data variables.product.prodname_copilot %} trial or subscription, in the settings page of your {% data variables.product.prodname_dotcom %} personal account, you can adjust specific {% data variables.product.prodname_copilot %} settings relating to the suggestions {% data variables.product.prodname_copilot %} offers, and how your {% data variables.product.prodname_copilot %} telemetry data is used. + +### Enabling and disabling duplication detection + +{% data reusables.user-settings.access_settings %} +{% data reusables.user-settings.copilot-settings %} +1. Under **Suggestions matching public code**, select the dropdown menu and click **Allow** to allow suggestions matching public code, or **Block** to block suggestions matching public code. + ![Screenshot of duplication detection option](/assets/images/help/copilot/duplication-detection.png) +{% data reusables.copilot.save-settings %} + +### Enabling and disabling telemetry + +{% data reusables.user-settings.access_settings %} +{% data reusables.user-settings.copilot-settings %} +1. To allow or prevent {% data variables.product.prodname_dotcom %} using your telemetry data, next to **Allow {% data variables.product.prodname_dotcom %} to use my telemetry for product improvements**, select or deselect the checkbox. + ![Screenshot of telemetry option](/assets/images/help/copilot/telemetry-option.png) +{% data reusables.copilot.save-settings %} \ No newline at end of file diff --git a/data/reusables/copilot/save-settings.md b/data/reusables/copilot/save-settings.md new file mode 100644 index 0000000000..d67bf91c40 --- /dev/null +++ b/data/reusables/copilot/save-settings.md @@ -0,0 +1 @@ +1. To confirm your new settings, click **Save**. \ No newline at end of file diff --git a/data/reusables/user-settings/copilot-settings.md b/data/reusables/user-settings/copilot-settings.md new file mode 100644 index 0000000000..f5a67478d5 --- /dev/null +++ b/data/reusables/user-settings/copilot-settings.md @@ -0,0 +1 @@ +1. In the left sidebar, click **Copilot**. \ No newline at end of file