1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Clarify limitations of code examples with duplication detection enabled (#30918)

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
This commit is contained in:
Jules
2022-09-28 08:18:42 +02:00
committed by GitHub
parent b8b33676a7
commit 23f9409b18
5 changed files with 13 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ To use {% data variables.product.prodname_copilot %} in a JetBrains IDE, you mus
## Seeing your first suggestion ## Seeing your first suggestion
{% data reusables.copilot.code-examples-limitations %}
{% data reusables.copilot.supported-languages %} The following samples are in Java, but other languages will work similarly. {% data reusables.copilot.supported-languages %} The following samples are in Java, but other languages will work similarly.
{% data reusables.copilot.create-java-file %} {% data reusables.copilot.create-java-file %}

View File

@@ -37,6 +37,8 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
## Seeing your first suggestion ## Seeing your first suggestion
{% data reusables.copilot.code-examples-limitations %}
{% data reusables.copilot.supported-languages %} The following samples are in JavaScript, but other languages will work similarly. {% data reusables.copilot.supported-languages %} The following samples are in JavaScript, but other languages will work similarly.
{% data reusables.copilot.create-js-file %} {% data reusables.copilot.create-js-file %}

View File

@@ -47,6 +47,8 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
![Screenshot of {% data variables.product.prodname_vs %} permissions confirmation](/assets/images/help/copilot/vs-confirmation.png) ![Screenshot of {% data variables.product.prodname_vs %} permissions confirmation](/assets/images/help/copilot/vs-confirmation.png)
## Seeing your first suggestion ## Seeing your first suggestion
{% data reusables.copilot.code-examples-limitations %}
{% data reusables.copilot.supported-languages %} The following samples are in C#, but other languages will work similarly. {% data reusables.copilot.supported-languages %} The following samples are in C#, but other languages will work similarly.
{% data reusables.copilot.create-c-file %} {% data reusables.copilot.create-c-file %}

View File

@@ -42,6 +42,8 @@ To use {% data variables.product.prodname_copilot %}, you must first install the
## Getting your first suggestion ## Getting your first suggestion
{% data reusables.copilot.code-examples-limitations %}
{% data reusables.copilot.supported-languages %} The following samples are in JavaScript, but other languages will work similarly. {% data reusables.copilot.supported-languages %} The following samples are in JavaScript, but other languages will work similarly.
1. Open {% data variables.product.prodname_vscode %}. 1. Open {% data variables.product.prodname_vscode %}.

View File

@@ -0,0 +1,5 @@
{% note %}
**Note:** If you have duplication detection enabled for {% data variables.product.prodname_copilot %}, you may receive limited suggestions, or no suggestions, when using the code examples provided. As an alternative, you can start by typing your own code to see suggestions from {% data variables.product.prodname_copilot %}. For more information on duplication detection, see "[Enabling or disabling duplication detection](/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom#enabling-or-disabling-duplication-detection)."
{% endnote %}