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
{{ message }}
Repository navigation
Commit ec94eb6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/contributing/style-guide-and-content-model/style-guide.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -869,6 +869,12 @@ Do not capitalize commonly used features like pull requests, topics, or issues.
869
869
870
870
This section describes additional conventions that are specific to GitHub products.
871
871
872
+
### {% data variables.product.prodname_copilot %}
873
+
874
+
#### {% data variables.product.prodname_copilot_short %} code completion
875
+
876
+
The {% data variables.product.prodname_copilot_short %} feature that suggests code as you are working on a file is called "{% data variables.product.prodname_copilot_short %} code completion" or just "code completion" (singular). Only use "code suggestions" (plural) when referring to multiple instances of code completion suggestions. For example, "When using {% data variables.product.prodname_copilot_short %} code completion..." but "the plan includes 2,000 code completions..."
Copy file name to clipboardExpand all lines: content/copilot/building-copilot-extensions/copilot-extensions-faq.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
@@ -32,7 +32,7 @@ For more information, see [AUTOTITLE](/copilot/building-copilot-extensions/about
32
32
33
33
No, {% data variables.product.prodname_copilot_extensions_short %} are not covered by {% data variables.product.prodname_copilot %}’s indemnity policy. However, this exclusion applies only to issues that arise within extension chat threads.
34
34
35
-
Installing and using extensions does not affect indemnity coverage for any issues that occur while using other {% data variables.product.prodname_copilot_short %} features such as code completions and chat.
35
+
Installing and using extensions does not affect indemnity coverage for any issues that occur while using other {% data variables.product.prodname_copilot_short %} features such as code completion and chat.
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task.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
@@ -10,7 +10,7 @@ topics:
10
10
11
11
## Comparison of AI models for {% data variables.product.prodname_copilot %}
12
12
13
-
{% data variables.product.prodname_copilot %} supports multiple AI models with different capabilities. The model you choose affects the quality and relevance of responses in {% data variables.product.prodname_copilot_chat_short %} and code completions. Some models offer lower latency, while others offer fewer hallucinations or better performance on specific tasks.
13
+
{% data variables.product.prodname_copilot %} supports multiple AI models with different capabilities. The model you choose affects the quality and relevance of responses by {% data variables.product.prodname_copilot_chat_short %} and {% data variables.product.prodname_copilot_short %} code completion. Some models offer lower latency, while others offer fewer hallucinations or better performance on specific tasks.
14
14
15
15
This article helps you compare the available models, understand the strengths of each model, and choose the model that best fits your task. For guidance across different models using real-world tasks, see [AUTOTITLE](/copilot/using-github-copilot/ai-models/comparing-ai-models-using-different-tasks).
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/best-practices-for-using-github-copilot.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,9 @@ shortTitle: Best practices
26
26
27
27
## Choose the right {% data variables.product.prodname_copilot_short %} tool for the job
28
28
29
-
While {% data variables.product.prodname_copilot_short %} code completions and {% data variables.product.prodname_copilot_chat_short %} share some functionality, the two tools are best used in different circumstances.
29
+
While {% data variables.product.prodname_copilot_short %} code completion and {% data variables.product.prodname_copilot_chat_short %} share some functionality, the two tools are best used in different circumstances.
30
30
31
-
**Code completions work best for:**
31
+
**Code completion works best for:**
32
32
33
33
* Completing code snippets, variable names, and functions as you write them
34
34
* Generating repetitive code
@@ -73,9 +73,9 @@ There are several adjustments you can make to steer {% data variables.product.pr
73
73
* If you are using {% data variables.product.prodname_copilot_chat_dotcom_short %}, provide specific repositories, files, symbols, and more as context. See [AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom).
74
74
* If you are using {% data variables.product.prodname_copilot_chat_short %} in your IDE, use keywords to focus {% data variables.product.prodname_copilot_short %} on a specific task or piece of context. See [AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide#using-keywords-in-your-prompt).
75
75
***Rewrite your prompts to generate different responses.** If {% data variables.product.prodname_copilot_short %} is not providing a helpful response, try rephrasing your prompt, or even breaking your request down into multiple smaller prompts.
76
-
***Pick the best available suggestion.** When you are using code completions, {% data variables.product.prodname_copilot_short %} might offer more than one suggestion. You can use keyboard shortcuts to quickly look through all available suggestions. For the default keyboard shortcuts for your operating system, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#keyboard-shortcuts-for-github-copilot).
76
+
***Pick the best available suggestion.** When you are using code completion, {% data variables.product.prodname_copilot_short %} might offer more than one suggestion. You can use keyboard shortcuts to quickly look through all available suggestions. For the default keyboard shortcuts for your operating system, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#keyboard-shortcuts-for-github-copilot).
77
77
***Provide feedback to improve future suggestions.** You can provide feedback in many ways:
78
-
* For code completions, accept or reject {% data variables.product.prodname_copilot_short %}'s suggestion.
78
+
* For code completion, accept or reject {% data variables.product.prodname_copilot_short %}'s suggestion.
79
79
* For individual responses in {% data variables.product.prodname_copilot_chat_short %}, click the thumbs up or thumbs down icons next to the response.
80
80
* For {% data variables.product.prodname_copilot_chat_short %} in your IDE, see [AUTOTITLE](/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide#sharing-feedback) for instructions specific to your environment.
81
81
* For {% data variables.product.prodname_copilot_chat_dotcom_short %}, leave a comment on the [feedback discussion](https://github.com/orgs/community/discussions/110314).
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,7 +251,7 @@ This guide demonstrates how to get coding suggestions from {% data variables.pro
251
251
252
252
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode_shortname %} provides two kinds of suggestions:
253
253
254
-
* **Code completions**. {% data variables.product.prodname_copilot_short %} offers coding suggestions as you type. You can also describe something you want to do using natural language within a comment, and {% data variables.product.prodname_copilot_short %} will suggest the code to accomplish your goal.
254
+
* **Code completion**. {% data variables.product.prodname_copilot_short %} offers coding suggestions as you type. You can also describe something you want to do using natural language within a comment, and {% data variables.product.prodname_copilot_short %} will suggest the code to accomplish your goal.
255
255
* **{% data variables.copilot.next_edit_suggestions_caps %} ({% data variables.release-phases.public_preview %})**. Based on the edits you are making, {% data variables.product.prodname_copilot_short %} will predict the location of the next edit you are likely to make and suggest a completion for it.
256
256
257
257
The examples in this guide use JavaScript, however other languages will work similarly. {% data reusables.copilot.supported-languages %}
@@ -365,7 +365,7 @@ An arrow in the gutter indicates an available edit suggestion. Hover over the ar
365
365
366
366

367
367
368
-
For more details and examples, see [Code completions with {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode_shortname %}](https://aka.ms/gh-copilot-nes-docs) in the {% data variables.product.prodname_vscode %} documentation.
368
+
For more details and examples, see [Code completions with {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/ai-powered-suggestions) in the {% data variables.product.prodname_vscode %} documentation.
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/guides-on-using-github-copilot/choosing-the-right-ai-tool-for-your-task.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The use of AI tools is increasingly becoming a standard part of a software devel
18
18
* {% data variables.product.prodname_copilot_short %} can create issues to help track your ideas.
19
19
* {% data variables.product.prodname_copilot_chat_short %} can help you brainstorm and identify the best technologies for your project.
20
20
***Code creation**:
21
-
* {% data variables.product.prodname_copilot_short %} code completions helps add code as you type.
21
+
* {% data variables.product.prodname_copilot_short %} code completion helps add code as you type.
22
22
* {% data variables.copilot.next_edit_suggestions_caps %} ({% data variables.release-phases.public_preview %}) predicts the next edit you are likely to make and suggests a completion for it.
23
23
* {% data variables.product.prodname_copilot_chat_short %} can answer questions and offer suggestions in a conversational environment.
24
24
* You can assign {% data variables.copilot.copilot_coding_agent %} to an open issue and it will automatically raise a pull request to address the necessary changes.
@@ -46,7 +46,7 @@ Once you've chosen an issue to address, **{% data variables.product.prodname_cop
46
46
47
47
During the creation phase, you'll write and refine the code for your application. This is where you can bring the project to life by implementing features, fixing bugs, and iterating on the codebase.
48
48
49
-
{% data variables.product.prodname_copilot_short %} provides auto-complete style **coding suggestions** as you code in your favorite IDE or on {% data variables.product.github %}, helping you draft and refine your code faster. You can write code directly or describe your intent in natural language using comments in your IDE, and {% data variables.product.prodname_copilot_short %} will generate relevant suggestions.
49
+
{% data variables.product.prodname_copilot_short %} provides auto-complete style **coding suggestions** as you code in your favorite IDE or on {% data variables.product.github %}, helping you draft and refine your code faster. You can write code directly or describe your intent in natural language using comments in your IDE, and {% data variables.product.prodname_copilot_short %} will generate relevant suggestions.
50
50
51
51
With **{% data variables.copilot.next_edit_suggestions %}** ({% data variables.release-phases.public_preview %}), {% data variables.product.prodname_copilot_short %} predicts related edits based on the changes you’re actively making. For example, if you rename a variable or update a function’s parameters, it suggests corresponding updates throughout your code. This helps maintain consistency and reduces the chance of errors.
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat.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
@@ -18,7 +18,7 @@ redirect_from:
18
18
19
19
{% data reusables.copilot.copilot-extensions.copilot-extensions-intro %}
20
20
21
-
> [!NOTE] {% data variables.product.prodname_copilot_extensions %} are not the same as _the {% data variables.product.prodname_copilot %} extension_, which you install in your IDE to use default {% data variables.product.prodname_copilot_short %} functionality like code completions and {% data variables.product.prodname_copilot_chat %}. For more information on _the {% data variables.product.prodname_copilot %} extension_, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment).
21
+
> [!NOTE] {% data variables.product.prodname_copilot_extensions %} are not the same as _the {% data variables.product.prodname_copilot %} extension_, which you install in your IDE to use default {% data variables.product.prodname_copilot_short %} functionality like code completion and {% data variables.product.prodname_copilot_chat %}. For more information on _the {% data variables.product.prodname_copilot %} extension_, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment).
22
22
23
23
You can get started with {% data variables.product.prodname_copilot_extensions_short %} in one of two ways:
24
24
* Build your own {% data variables.product.prodname_copilot_extension_short %}. See [AUTOTITLE](/copilot/building-copilot-extensions/about-building-copilot-extensions).
Copy file name to clipboardExpand all lines: content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ In this guide, you’ll learn how to set up {% data variables.product.prodname_c
18
18
19
19
This guide assumes that you'll use {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode_shortname %}. To get set up, see [Set up Copilot in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/setup-simplified) in the {% data variables.product.prodname_vscode %} documentation.
20
20
21
-
## Step 1: Disable code completions
21
+
## Step 1: Disable code completion
22
22
23
-
First, let's disable code completions. This will give you the opportunity to deepen your understanding of programming concepts by writing more code yourself.
23
+
First, let's disable code completion. This will give you the opportunity to deepen your understanding of programming concepts by writing more code yourself.
24
24
25
25
1. In {% data variables.product.prodname_vscode_shortname %}, open your project.
26
26
1. Create a folder in the root directory called `.vscode`.
@@ -35,7 +35,7 @@ First, let's disable code completions. This will give you the opportunity to dee
35
35
}
36
36
```
37
37
38
-
1. Save the file. {% data variables.product.prodname_copilot_short %} code completions are now disabled for this project in {% data variables.product.prodname_vscode_shortname %}.
38
+
1. Save the file. {% data variables.product.prodname_copilot_short %} code completion is now disabled for this project in {% data variables.product.prodname_vscode_shortname %}.
39
39
40
40
## Step 2: Add learning instructions
41
41
@@ -49,8 +49,8 @@ Now, let's provide {% data variables.product.prodname_copilot_chat_short %} with
49
49
50
50
Do not provide code snippets, even if I ask you for implementation advice in my prompts. Teach me all the basic coding concepts in your answers. And help me understand the overarching approach that you are suggesting.
51
51
52
-
Whenever possible, share links to relevant external documentation and sources of truth.
53
-
52
+
Whenever possible, share links to relevant external documentation and sources of truth.
53
+
54
54
At the end of every response, add "Always check the correctness of AI-generated responses."
Copy file name to clipboardExpand all lines: data/reusables/copilot/enabling-or-disabling-in-vsc.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
## Enabling or disabling {% data variables.product.prodname_copilot %} code completions
1
+
## Enabling or disabling {% data variables.product.prodname_copilot %} code completion
2
2
3
3
You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}.
4
4
5
-
1. To configure code completions, click the arrow next to the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon in the title bar of {% data variables.product.prodname_vscode %}, then select **Configure code completions**.
5
+
1. To configure code completion, click the arrow next to the **{% octicon "copilot" aria-hidden="true" aria-label="copilot" %}** icon in the title bar of {% data variables.product.prodname_vscode %}, then select **Configure code completions**.
6
6
7
7

Copy file name to clipboardExpand all lines: data/reusables/copilot/sku-isolation.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
@@ -4,7 +4,7 @@ As an {% ifversion ghec %}enterprise or {% endif %}organization owner, you can u
4
4
5
5
Configuring {% data variables.product.prodname_copilot_sku_isolation %} will affect the following {% data variables.product.prodname_copilot_short %} features:
6
6
7
-
* Code completions in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, and Vim/NeoVim
7
+
* Code completion in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, and Vim/NeoVim
8
8
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, and JetBrains IDEs
9
9
* {% data variables.product.prodname_copilot_chat_short %} on {% data variables.product.github %}
10
10
* {% data variables.product.prodname_mobile %} Apps
0 commit comments