Skip to content

Commit ec94eb6

Browse files
hubwriterCopilot
andauthored
Change "code completions" to "code completion" where appropriate (#55729)
Co-authored-by: Copilot <[email protected]>
1 parent b14957a commit ec94eb6

File tree

11 files changed

+26
-20
lines changed

11 files changed

+26
-20
lines changed

content/contributing/style-guide-and-content-model/style-guide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,12 @@ Do not capitalize commonly used features like pull requests, topics, or issues.
869869
870870
This section describes additional conventions that are specific to GitHub products.
871871
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..."
877+
872878
### {% data variables.product.prodname_actions %}
873879
874880
#### Reusables for first-party actions

content/copilot/building-copilot-extensions/copilot-extensions-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For more information, see [AUTOTITLE](/copilot/building-copilot-extensions/about
3232

3333
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.
3434

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.
3636

3737
## Data and Permissions
3838

content/copilot/using-github-copilot/ai-models/choosing-the-right-ai-model-for-your-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ topics:
1010

1111
## Comparison of AI models for {% data variables.product.prodname_copilot %}
1212

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.
1414

1515
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).
1616

content/copilot/using-github-copilot/best-practices-for-using-github-copilot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ shortTitle: Best practices
2626

2727
## Choose the right {% data variables.product.prodname_copilot_short %} tool for the job
2828

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.
3030

31-
**Code completions work best for:**
31+
**Code completion works best for:**
3232

3333
* Completing code snippets, variable names, and functions as you write them
3434
* Generating repetitive code
@@ -73,9 +73,9 @@ There are several adjustments you can make to steer {% data variables.product.pr
7373
* 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).
7474
* 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).
7575
* **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).
7777
* **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.
7979
* For individual responses in {% data variables.product.prodname_copilot_chat_short %}, click the thumbs up or thumbs down icons next to the response.
8080
* 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.
8181
* For {% data variables.product.prodname_copilot_chat_dotcom_short %}, leave a comment on the [feedback discussion](https://github.com/orgs/community/discussions/110314).

content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ This guide demonstrates how to get coding suggestions from {% data variables.pro
251251
252252
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode_shortname %} provides two kinds of suggestions:
253253
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.
255255
* **{% 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.
256256
257257
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
365365

366366
![Screenshot of the gutter menu in {% data variables.product.prodname_vscode %}. The arrow is outlined in dark orange.](/assets/images/help/copilot/vsc-advanced-code-completion-menu.png)
367367

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.
369369

370370
## Changing the AI model
371371

content/copilot/using-github-copilot/guides-on-using-github-copilot/choosing-the-right-ai-tool-for-your-task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The use of AI tools is increasingly becoming a standard part of a software devel
1818
* {% data variables.product.prodname_copilot_short %} can create issues to help track your ideas.
1919
* {% data variables.product.prodname_copilot_chat_short %} can help you brainstorm and identify the best technologies for your project.
2020
* **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.
2222
* {% 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.
2323
* {% data variables.product.prodname_copilot_chat_short %} can answer questions and offer suggestions in a conversational environment.
2424
* 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
4646

4747
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.
4848

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.
5050

5151
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.
5252

content/copilot/using-github-copilot/using-extensions-to-integrate-external-tools-with-copilot-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ redirect_from:
1818

1919
{% data reusables.copilot.copilot-extensions.copilot-extensions-intro %}
2020

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).
2222
2323
You can get started with {% data variables.product.prodname_copilot_extensions_short %} in one of two ways:
2424
* Build your own {% data variables.product.prodname_copilot_extension_short %}. See [AUTOTITLE](/copilot/building-copilot-extensions/about-building-copilot-extensions).

content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ In this guide, you’ll learn how to set up {% data variables.product.prodname_c
1818

1919
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.
2020

21-
## Step 1: Disable code completions
21+
## Step 1: Disable code completion
2222

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.
2424

2525
1. In {% data variables.product.prodname_vscode_shortname %}, open your project.
2626
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
3535
}
3636
```
3737

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 %}.
3939

4040
## Step 2: Add learning instructions
4141

@@ -49,8 +49,8 @@ Now, let's provide {% data variables.product.prodname_copilot_chat_short %} with
4949

5050
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.
5151

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+
5454
At the end of every response, add "Always check the correctness of AI-generated responses."
5555
```
5656

data/reusables/copilot/enabling-or-disabling-in-vsc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
22

33
You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}.
44

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**.
66

77
![Screenshot of the option in the {% data variables.product.prodname_copilot %} dropdown. Configure code completions is highlighted in orange.](/assets/images/help/copilot/configure-code-completions-option-vscode.png)
88

data/reusables/copilot/sku-isolation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ As an {% ifversion ghec %}enterprise or {% endif %}organization owner, you can u
44

55
Configuring {% data variables.product.prodname_copilot_sku_isolation %} will affect the following {% data variables.product.prodname_copilot_short %} features:
66

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
88
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, and JetBrains IDEs
99
* {% data variables.product.prodname_copilot_chat_short %} on {% data variables.product.github %}
1010
* {% data variables.product.prodname_mobile %} Apps

0 commit comments

Comments
 (0)