| title | GitHub Copilot code suggestions in your IDE | ||
|---|---|---|---|
| shortTitle | Code suggestions | ||
| allowTitleToDifferFromFilename | true | ||
| intro | Learn about {% data variables.product.prodname_copilot_short %} code suggestions in different IDEs. | ||
| versions |
|
||
| defaultTool | vscode | ||
| topics |
|
||
| contentType | concepts | ||
| category |
|
{% vscode %}
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %} provides two kinds of code suggestions:
- 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.
{% data reusables.copilot.supported-languages %}
{% endvscode %}
{% jetbrains %}
{% data variables.product.prodname_copilot_short %} offers inline suggestions as you type.
{% data reusables.copilot.supported-languages %}
{% endjetbrains %}
{% visualstudio %}
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vs %} provides two kinds of code suggestions:
- 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.
{% data reusables.copilot.supported-languages %}
{% endvisualstudio %}
{% vimneovim %}
{% data variables.product.prodname_copilot %} provides inline suggestions as you type in Vim/Neovim.
{% endvimneovim %}
{% azure_data_studio %}
{% data variables.product.prodname_copilot %} provides you with inline suggestions as you create SQL databases in Azure Data Studio.
{% endazure_data_studio %}
{% xcode %}
{% data variables.product.prodname_copilot %} in Xcode provides two kinds of code suggestions:
- 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 an entire line, or multiple lines, depending on the scope of the potential change. {% data variables.copilot.next_edit_suggestions_caps %} are enabled by default. To disable, see AUTOTITLE.
{% endxcode %}
{% eclipse %}
{% data variables.product.prodname_copilot %} in Eclipse provides two kinds of code suggestions:
- 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.
{% data reusables.copilot.supported-languages %}
{% endeclipse %}
{% data variables.product.prodname_copilot %} checks each suggestion for matches with publicly available code. Matches may be 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.
{% 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 below.
{% vscode %}
{% data reusables.copilot.code-completion-switch-prereqs-vscode %}
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 %}
{% data reusables.copilot.code-completion-switch-prereqs-vs %}
{% data reusables.copilot.code-completion-switch-model-affects %}
{% endvisualstudio %}
{% jetbrains %}
{% data reusables.copilot.code-completion-switch-prereqs-jetbrains %}
{% data reusables.copilot.code-completion-switch-model-affects %}
{% endjetbrains %}
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#
- C++
- Clojure
- CSS
- Dart
- Dockerfile
- Elixir
- Emacs Lisp
- Go
- Haskell
- HTML
- Java
- JavaScript
- Julia
- Jupyter Notebook
- Kotlin
- Lua
- MATLAB
- Objective-C
- Perl
- PHP
- PowerShell
- Python
- R
- Ruby
- Rust
- Scala
- Shell
- Swift
- TeX
- TypeScript
- Vue