1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Change "code completion" to "inline suggestions" throughout the docs (#57919)

Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Brigit Murtaugh
2025-11-12 12:26:41 -08:00
committed by GitHub
parent ac8c79c9cc
commit cd2b59ce80
45 changed files with 182 additions and 174 deletions

View File

@@ -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
@@ -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).

View File

@@ -13,13 +13,13 @@ redirect_from:
- /copilot/about-github-copilot/github-copilot-features
- /copilot/get-started/github-copilot-features
contentType: get-started
category:
category:
- Learn about Copilot
---
## {% data variables.product.prodname_copilot %} features
### Code completion
### Inline suggestions
Autocomplete-style suggestions from {% data variables.product.prodname_copilot_short %} in supported IDEs _({% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, Azure Data Studio, Xcode, Vim/Neovim, and Eclipse)_. See [AUTOTITLE](/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot).

View File

@@ -81,7 +81,7 @@ For more information, see [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-
## Next steps
* **Find out more about {% data variables.copilot.copilot_chat %}** - See [AUTOTITLE](/copilot/github-copilot-chat/using-github-copilot-chat-in-your-ide){% ifversion fpt %}.{% endif %}{% ifversion ghec %} and [AUTOTITLE](/copilot/github-copilot-enterprise/copilot-chat-in-github/using-github-copilot-chat-in-githubcom).{% endif %}
* **Get {% data variables.product.prodname_copilot_short %} code completion suggestions in an IDE** - See [AUTOTITLE](/enterprise-cloud@latest/copilot/using-github-copilot/using-github-copilot-code-suggestions-in-your-editor).
* **Get {% data variables.product.prodname_copilot_short %} inline suggestions in an IDE** - See [AUTOTITLE](/enterprise-cloud@latest/copilot/using-github-copilot/using-github-copilot-code-suggestions-in-your-editor).
* **Learn how to write effective prompts** - See [AUTOTITLE](/copilot/using-github-copilot/prompt-engineering-for-github-copilot).
* **Use {% data variables.product.prodname_copilot_short %} on your mobile device** - See [AUTOTITLE](/copilot/github-copilot-chat/copilot-chat-in-github-mobile/using-github-copilot-chat-in-github-mobile).
* **Use {% data variables.product.prodname_copilot_short %} on the command line** - See [AUTOTITLE](/copilot/github-copilot-in-the-cli/using-github-copilot-in-the-cli).
@@ -181,7 +181,7 @@ After you've installed the {% data variables.product.prodname_copilot %} extensi
![Screenshot of the "Insert at Cursor" icon in the chat view.](/assets/images/help/copilot/insert-at-cursor-vscode.png)
## Get your first code completion suggestion
## Get your first inline suggestion
The following example uses JavaScript, however other languages will work similarly. {% data reusables.copilot.supported-languages %}
@@ -234,7 +234,7 @@ After you've installed the {% data variables.product.prodname_copilot %} extensi
1. Select a line of code in the editor.
1. In the {% data variables.copilot.copilot_chat_short %} window, type `explain this line` then press <kbd>Enter</kbd>.
## Get your first code completion suggestion
## Get your first inline suggestion
The following example uses JavaScript, however other languages will work similarly. {% data reusables.copilot.supported-languages %}
@@ -290,7 +290,7 @@ After you've installed the {% data variables.product.prodname_copilot %} plugin,
1. Select a line of code in the editor.
1. In the {% data variables.copilot.copilot_chat_short %} window, type `explain this line` then press <kbd>Enter</kbd>.
## Get your first code completion suggestion
## Get your first inline suggestion
The following example uses JavaScript, however other languages will work similarly. {% data reusables.copilot.supported-languages %}
@@ -348,7 +348,7 @@ After you've installed the {% data variables.product.prodname_copilot %} plugin,
1. Select a line of code in the editor.
1. In the {% data variables.copilot.copilot_chat_short %} window, type `explain this line` then press <kbd>Enter</kbd>.
## Get your first code completion suggestion
## Get your first inline suggestion
The following example uses Swift, however other languages will work similarly.
@@ -407,7 +407,7 @@ After you've installed the {% data variables.product.prodname_copilot %} plugin,
1. Select a line of code in the editor.
1. In the {% data variables.copilot.copilot_chat_short %} window, type `explain this line` then press <kbd>Enter</kbd>.
## Get your first code completion suggestion
## Get your first inline suggestion
The following example uses Java, however other languages will work similarly.