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:
@@ -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 %}
|
||||||
|
|||||||
@@ -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 %}
|
||||||
|
|||||||
@@ -47,6 +47,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 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 %}
|
||||||
|
|||||||
@@ -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 %}.
|
||||||
|
|||||||
5
data/reusables/copilot/code-examples-limitations.md
Normal file
5
data/reusables/copilot/code-examples-limitations.md
Normal 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 %}
|
||||||
Reference in New Issue
Block a user