Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -887,12 +887,6 @@ Do not capitalize commonly used features like pull requests, topics, or issues.

This section describes additional conventions that are specific to GitHub products.

### {% data variables.product.prodname_copilot %}

#### {% data variables.product.prodname_copilot_short %} code completion

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

### {% data variables.product.prodname_actions %}

#### Reusables for first-party actions
Expand Down
6 changes: 3 additions & 3 deletions content/copilot/concepts/billing/copilot-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ The following {% data variables.product.prodname_copilot_short %} features can u

## How do request allowances work per plan?

If you use **{% data variables.copilot.copilot_free_short %}**, your plan comes with up to 2,000 code completion requests and up to 50 premium requests per month. All chat interactions count as premium requests.
If you use **{% data variables.copilot.copilot_free_short %}**, your plan comes with up to 2,000 inline suggestion requests and up to 50 premium requests per month. All chat interactions count as premium requests.

If you're on a **paid plan**, you get unlimited code completions and unlimited chat interactions using the included models ({% data variables.copilot.copilot_gpt_5_mini %}, {% data variables.copilot.copilot_gpt_41 %} and {% data variables.copilot.copilot_gpt_4o %}). Rate limiting is in place to accommodate for high demand. See [AUTOTITLE](/copilot/concepts/rate-limits).
If you're on a **paid plan**, you get unlimited inline suggestions and unlimited chat interactions using the included models ({% data variables.copilot.copilot_gpt_5_mini %}, {% data variables.copilot.copilot_gpt_41 %} and {% data variables.copilot.copilot_gpt_4o %}). Rate limiting is in place to accommodate for high demand. See [AUTOTITLE](/copilot/concepts/rate-limits).

Paid plans also receive a monthly allowance of premium requests, which can be used for advanced chat interactions, code completions using premium models, and other premium features. For an overview of the amount of premium requests included in each plan, see [AUTOTITLE](/copilot/about-github-copilot/subscription-plans-for-github-copilot#comparing-copilot-plans).
Paid plans also receive a monthly allowance of premium requests, which can be used for advanced chat interactions, inline suggestions using premium models, and other premium features. For an overview of the amount of premium requests included in each plan, see [AUTOTITLE](/copilot/about-github-copilot/subscription-plans-for-github-copilot#comparing-copilot-plans).

{% data reusables.copilot.premium-request-entity-selection %}

Expand Down
2 changes: 1 addition & 1 deletion content/copilot/concepts/billing/individual-plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can choose from the following plans.

For developers looking to get started with {% data variables.product.prodname_copilot_short %}.

* Includes up to **2,000 code completions** in IDEs per month
* Includes up to **2,000 inline suggestions** in IDEs per month
* Includes up to **50 premium requests** per month
* Designed to give you a limited taste of {% data variables.product.prodname_copilot_short %}'s capabilities
* No subscription or payment required
Expand Down
6 changes: 3 additions & 3 deletions content/copilot/concepts/completions/code-referencing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ category:

{% data reusables.copilot.about-code-referencing %}

### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
### Code referencing for {% data variables.product.prodname_copilot_short %} inline suggestions

{% data reusables.copilot.code-referencing-note %}

Expand All @@ -35,7 +35,7 @@ category:

{% data reusables.copilot.about-code-referencing %}

### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
### Code referencing for {% data variables.product.prodname_copilot_short %} inline suggestions

{% data reusables.copilot.code-referencing-note %}

Expand All @@ -62,7 +62,7 @@ If you, or your organization, have allowed suggestions that match public code, t

{% data reusables.copilot.about-code-referencing %}

### Code referencing for {% data variables.product.prodname_copilot_short %} code completion
### Code referencing for {% data variables.product.prodname_copilot_short %} inline suggestions

{% data reusables.copilot.code-referencing-note %}

Expand Down
26 changes: 13 additions & 13 deletions content/copilot/concepts/completions/code-suggestions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ category:

{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %} provides two kinds of code suggestions:

* **Code completion**
* **Ghost text suggestions**
* {% 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.
* **{% 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. Suggestions may span a single symbol, an entire line, or multiple lines, depending on the scope of the potential change. To enable {% data variables.copilot.next_edit_suggestions %}, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#enabling-next-edit-suggestions).
Expand All @@ -32,7 +32,7 @@ category:

## About code suggestions in JetBrains IDEs

{% data variables.product.prodname_copilot_short %} offers code completion suggestions as you type.
{% data variables.product.prodname_copilot_short %} offers inline suggestions as you type.

{% data reusables.copilot.supported-languages %}

Expand All @@ -44,7 +44,7 @@ category:

{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vs %} provides two kinds of code suggestions:

* **Code completion**
* **Ghost text suggestions**
* {% data variables.product.prodname_copilot_short %} offers coding suggestions as you type.
* **{% 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. Suggestions may span a single symbol, an entire line, or multiple lines, depending on the scope of the potential change. To enable {% data variables.copilot.next_edit_suggestions %}, see [AUTOTITLE](/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-your-environment#enabling-next-edit-suggestions).
Expand All @@ -57,7 +57,7 @@ category:

## About code suggestions in Vim/Neovim

{% data variables.product.prodname_copilot %} provides code completion suggestions inline as you type in Vim/Neovim.
{% data variables.product.prodname_copilot %} provides inline suggestions as you type in Vim/Neovim.

{% endvimneovim %}

Expand All @@ -73,41 +73,41 @@ category:

## About code suggestions in Xcode

{% data variables.product.prodname_copilot %} offers code completion suggestions as you type.
{% data variables.product.prodname_copilot %} offers inline suggestions as you type.

{% endxcode %}

{% eclipse %}

## About code suggestions in Eclipse

{% data variables.product.prodname_copilot %} offers code completion suggestions as you type.
{% data variables.product.prodname_copilot %} offers inline suggestions as you type.

{% endeclipse %}

## Code suggestions that match public code

{% data variables.product.prodname_copilot %} checks each suggestion for matches with publicly available code. Any matches are discarded or suggested with a code reference, based on the setting of the "Suggestions matching public code" policy for your account or organization. See [AUTOTITLE](/copilot/concepts/completions/code-referencing).

## About the AI model used for {% data variables.product.prodname_copilot_short %} code completion
## About the AI model used for {% data variables.product.prodname_copilot_short %} inline suggestions

{% data variables.product.prodname_copilot_short %} code completion uses the {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model. The {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model was trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. See [Programming languages included in the default model](#programming-languages-included-in-the-default-model) below.
{% data variables.product.prodname_copilot_short %} inline suggestions use the {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model. The {% data variables.copilot.copilot_gpt_41 %} {% data variables.product.prodname_copilot_short %} model was trained on a wide range of high quality public {% data variables.product.github %} repositories, providing coverage of over 30 programming languages. See [Programming languages included in the default model](#programming-languages-included-in-the-default-model) below.

{% vscode %}

## Changing the model used for code completion
## Changing the model used for inline suggestions

{% data reusables.copilot.code-completion-switch-prereqs-vscode %}

Changing the model only affects {% data variables.product.prodname_copilot_short %} code completion. It does not affect {% data variables.product.prodname_copilot_short %} next edit suggestions.
Changing the model only affects {% data variables.product.prodname_copilot_short %} ghost text suggestions. It does not affect {% data variables.product.prodname_copilot_short %} next edit suggestions.

{% data reusables.copilot.code-completion-switch-model-affects %}

{% endvscode %}

{% visualstudio %}

## Changing the model used for code completion
## Changing the model used for inline suggestions

{% data reusables.copilot.code-completion-switch-prereqs-vs %}

Expand All @@ -117,7 +117,7 @@ Changing the model only affects {% data variables.product.prodname_copilot_short

{% jetbrains %}

## Changing the model used for code completion
## Changing the model used for inline suggestions

{% data reusables.copilot.code-completion-switch-prereqs-jetbrains %}

Expand All @@ -127,7 +127,7 @@ Changing the model only affects {% data variables.product.prodname_copilot_short

## Programming languages included in the default model

The following programming languages and technologies are included in the training data for the default LLM used for {% data variables.product.prodname_copilot_short %} code completion:
The following programming languages and technologies are included in the training data for the default LLM used for {% data variables.product.prodname_copilot_short %} inline suggestions:

* C
* C#
Expand Down
2 changes: 1 addition & 1 deletion content/copilot/concepts/completions/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Completions for GitHub Copilot
shortTitle: Completions
intro: 'Learn about code completions from {% data variables.product.prodname_copilot %}.'
intro: 'Learn how {% data variables.product.prodname_copilot_short %} can provide inline suggestions and PR descriptions.'
versions:
feature: copilot
topics:
Expand Down
6 changes: 3 additions & 3 deletions content/copilot/concepts/context/content-exclusion.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ category:

You can use content exclusion to configure {% data variables.product.prodname_copilot_short %} to ignore certain files. When you exclude content from {% data variables.product.prodname_copilot_short %}:

* Code completion will not be available in the affected files.
* The content in affected files will not inform code completion suggestions in other files.
* Inline suggestions will not be available in the affected files.
* The content in affected files will not inform inline suggestions in other files.
* The content in affected files will not inform {% data variables.copilot.copilot_chat %}'s responses.
* Affected files will not be reviewed in a {% data variables.product.prodname_copilot_short %} code review.

Expand All @@ -34,7 +34,7 @@ Repository administrators, organization owners, and enterprise owners can config

The {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} plans provide the following level of support for content exclusion.

| Tool | Code completion support | {% data variables.copilot.copilot_chat_short %} support |
| Tool | Inline suggestions support | {% data variables.copilot.copilot_chat_short %} support |
|-------------------------------------------------|:---------------------------------------------:|:----------------------------------------------------------------:|
| {% data variables.product.prodname_vs %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
| {% data variables.product.prodname_vscode %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} |
Expand Down
4 changes: 2 additions & 2 deletions content/copilot/concepts/copilot-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ redirect_from:

{% data reusables.copilot.usage-metrics-preview %}

{% data variables.product.prodname_copilot_short %} usage metrics help enterprise administrators and decision-makers understand how their teams are adopting and using {% data variables.product.prodname_copilot_short %}. By tracking usage patterns across the enterprise, you can measure engagement, identify opportunities to increase value, and make data-driven decisions about enablement and rollout.
{% data variables.product.prodname_copilot_short %} usage metrics help key stakeholders and decision-makers understand how their teams are adopting and using {% data variables.product.prodname_copilot_short %}. By tracking usage patterns across the enterprise, you can measure engagement, identify opportunities to increase value, and make data-driven decisions about enablement and rollout.

Metrics are available through:

Expand Down Expand Up @@ -70,7 +70,7 @@ For example, all usage data for a Monday (which closes at midnight UTC) will be

**Engagement** measures describe how deeply developers use {% data variables.product.prodname_copilot_short %} once they’ve adopted it. Key engagement metrics show not only frequency of use but also breadth across features. For example, average chat requests per active user measures how often users open and interact with {% data variables.copilot.copilot_chat_short %}. You'd want to see regular and increasing chat use across languages and IDEs.

**Acceptance rate** measures how often developers accept {% data variables.product.prodname_copilot_short %}’s suggestions. This helps you understand whether suggestions are relevant and trusted. For example, a high code completions acceptance rate indicates that suggestions are relevant and useful.
**Acceptance rate** measures how often developers accept {% data variables.product.prodname_copilot_short %}’s suggestions. This helps you understand whether suggestions are relevant and trusted. For example, a high inline suggestions acceptance rate indicates that suggestions are relevant and useful.

**Lines of Code (LoC) metrics** measure the number of lines {% data variables.product.prodname_copilot_short %} suggested, added, or deleted in the editor, providing a directional view of {% data variables.product.prodname_copilot_short %}’s tangible output. For example, "Lines added" shows how much code was actually accepted and inserted into the editor.

Expand Down
2 changes: 1 addition & 1 deletion content/copilot/concepts/tools/ai-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The use of AI tools is increasingly becoming a standard part of a software devel
* **{% data variables.copilot.copilot_chat_short %}** can help you brainstorm and identify the best technologies for your project.
* **{% data variables.copilot.copilot_chat_short %}** can create issues to help track your ideas.
* **Code creation**:
* **{% data variables.product.prodname_copilot_short %} code completion** helps add code as you type.
* **{% data variables.product.prodname_copilot_short %} inline suggestions** help add code as you type.
* **{% 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.
* **{% data variables.copilot.copilot_chat_short %}** can answer questions and offer suggestions in a conversational environment.
* 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.
Expand Down
8 changes: 4 additions & 4 deletions content/copilot/get-started/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ category:

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

While {% data variables.product.prodname_copilot_short %} code completion and {% data variables.copilot.copilot_chat_short %} share some functionality, the two tools are best used in different circumstances.
While {% data variables.product.prodname_copilot_short %} inline suggestions and {% data variables.copilot.copilot_chat_short %} share some functionality, the two tools are best used in different circumstances.

**Code completion works best for:**
**Inline suggestions work best for:**

* Completing code snippets, variable names, and functions as you write them
* Generating repetitive code
Expand Down Expand Up @@ -79,9 +79,9 @@ There are several adjustments you can make to steer {% data variables.product.pr
* If you are using {% data variables.copilot.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).
* If you are using {% data variables.copilot.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).
* **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.
* **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).
* **Pick the best available suggestion.** When you are using inline suggestions, {% 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).
* **Provide feedback to improve future suggestions.** You can provide feedback in many ways:
* For code completion, accept or reject {% data variables.product.prodname_copilot_short %}'s suggestion.
* For inline suggestions, accept or reject {% data variables.product.prodname_copilot_short %}'s suggestion.
* For individual responses in {% data variables.copilot.copilot_chat_short %}, click the thumbs up or thumbs down icons next to the response.
* For {% data variables.copilot.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.
* For {% data variables.copilot.copilot_chat_dotcom_short %}, leave a comment on the [feedback discussion](https://github.com/orgs/community/discussions/110314).
Expand Down
Loading
Loading