Skip to main content

Copilot code suggestions in your IDE

Learn about Copilot code suggestions in different IDEs.'

About code suggestions in Visual Studio Code

Copilot in Visual Studio Code provides two kinds of code suggestions:

  • Code completion
    • Copilot offers coding suggestions as you type. You can also describe something you want to do using natural language within a comment, and Copilot will suggest the code to accomplish your goal.
  • 다음 편집 제안 (공개 미리 보기)
    • Based on the edits you are making, Copilot 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 다음 편집 제안, see 사용자 환경에서 GitHub Copilot 구성하기.

GitHub Copilot은 다양한 언어와 광범위한 프레임워크에 대한 제안을 제공하지만 Python, JavaScript, TypeScript, Ruby, Go, C# 및 C++에서 특히 잘 작동합니다. GitHub Copilot은(는) 데이터베이스에 대한 쿼리 생성, API 및 프레임워크에 대한 제안 생성을 지원하며 코드 개발로서의 인프라에 도움이 될 수 있습니다.

About code suggestions in JetBrains IDEs

Copilot offers code completion suggestions as you type.

GitHub Copilot은 다양한 언어와 광범위한 프레임워크에 대한 제안을 제공하지만 Python, JavaScript, TypeScript, Ruby, Go, C# 및 C++에서 특히 잘 작동합니다. GitHub Copilot은(는) 데이터베이스에 대한 쿼리 생성, API 및 프레임워크에 대한 제안 생성을 지원하며 코드 개발로서의 인프라에 도움이 될 수 있습니다.

About code suggestions in Visual Studio

Copilot in Visual Studio provides two kinds of code suggestions:

  • Code completion
    • Copilot offers coding suggestions as you type.
  • 다음 편집 제안 (공개 미리 보기)
    • Based on the edits you are making, Copilot 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 다음 편집 제안, see 사용자 환경에서 GitHub Copilot 구성하기.

GitHub Copilot은 다양한 언어와 광범위한 프레임워크에 대한 제안을 제공하지만 Python, JavaScript, TypeScript, Ruby, Go, C# 및 C++에서 특히 잘 작동합니다. GitHub Copilot은(는) 데이터베이스에 대한 쿼리 생성, API 및 프레임워크에 대한 제안 생성을 지원하며 코드 개발로서의 인프라에 도움이 될 수 있습니다.

About code suggestions in Vim/Neovim

GitHub Copilot provides code completion suggestions inline as you type in Vim/Neovim.

About code suggestions in Azure Data Studio

GitHub Copilot provides you with inline suggestions as you create SQL databases in Azure Data Studio.

About code suggestions in Xcode

GitHub Copilot offers code completion suggestions as you type.

About code suggestions in Eclipse

GitHub Copilot offers code completion suggestions as you type.

Code suggestions that match public code

GitHub 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 Copilot code referencing.

About the AI model used for Copilot code completion

Copilot code completion uses the GPT-4o Copilot model. This is a fine-tuned version of the GPT-4o mini model. The GPT-4o Copilot model was trained on a wide range of high quality public GitHub repositories, providing coverage of over 30 programming languages. See Programming languages included in the default model below.

Changing the model used for code completion

You can switch the AI model that's used by Copilot code completion if:

  • An alternative model is currently available
  • You are using the latest releases of VS Code with the latest version of the GitHub Copilot extension

Changing the model only affects Copilot code completion. It does not affect Copilot next edit suggestions.

참고 항목

The list of available models will change over time. When only one code completion model is available, the model picker will only show that model. Preview models and additional code completion models will be added to the picker as they become available.

For details of how to switch the model for Copilot code completion, see Copilot 코드 완성을 위한 AI 모델 변경.

Effects of switching the AI model

Changing the model that's used for Copilot code completion does not affect the model that's used by Copilot next edit suggestions or Copilot 채팅. See Copilot Chat에 대한 AI 모델 변경.

There are no changes to the data collection and usage policy if you change the AI model.

If you are on a Copilot Free plan, all completions count against your completions quota regardless of the model used. See Plans for GitHub Copilot.

The setting to enable or disable suggestions that match public code are applied irrespective of which model you choose. See GitHub Copilot 제안과 일치하는 공용 코드 찾기.

Enabling the model switcher

If you have a Copilot Free or Copilot Pro plan, the model switcher for Copilot code completion is automatically enabled.

Copilot Business 또는 Copilot Enterprise 플랜을 사용하는 경우, 해당 플랜을 제공하는 조직 또는 엔터프라이즈에서 Editor preview features 설정을 활성화해야 합니다. 조직에서 Copilot에 대한 정책 관리 또는 Managing policies and features for Copilot in your enterprise을(를) 참조하세요.

Changing the model used for code completion

You can switch the AI model that's used by Copilot code completion if:

  • An alternative model is currently available
  • You are using Visual Studio 17.14 Preview 2 or later

참고 항목

The list of available models will change over time. When only one code completion model is available, the model picker will only show that model. Preview models and additional code completion models will be added to the picker as they become available.

For details of how to switch the model for Copilot code completion, see Copilot 코드 완성을 위한 AI 모델 변경.

Effects of switching the AI model

Changing the model that's used for Copilot code completion does not affect the model that's used by Copilot next edit suggestions or Copilot 채팅. See Copilot Chat에 대한 AI 모델 변경.

There are no changes to the data collection and usage policy if you change the AI model.

If you are on a Copilot Free plan, all completions count against your completions quota regardless of the model used. See Plans for GitHub Copilot.

The setting to enable or disable suggestions that match public code are applied irrespective of which model you choose. See GitHub Copilot 제안과 일치하는 공용 코드 찾기.

Enabling the model switcher

If you have a Copilot Free or Copilot Pro plan, the model switcher for Copilot code completion is automatically enabled.

Copilot Business 또는 Copilot Enterprise 플랜을 사용하는 경우, 해당 플랜을 제공하는 조직 또는 엔터프라이즈에서 Editor preview features 설정을 활성화해야 합니다. 조직에서 Copilot에 대한 정책 관리 또는 Managing policies and features for Copilot in your enterprise을(를) 참조하세요.

Changing the model used for code completion

You can switch the AI model that's used by Copilot code completion if:

  • An alternative model is currently available
  • You are using the latest release of JetBrains IDEs with the latest version of the GitHub Copilot extension

참고 항목

The list of available models will change over time. When only one code completion model is available, the model picker will only show that model. Preview models and additional code completion models will be added to the picker as they become available.

For details of how to switch the model for Copilot code completion, see Copilot 코드 완성을 위한 AI 모델 변경.

Effects of switching the AI model

Changing the model that's used for Copilot code completion does not affect the model that's used by Copilot next edit suggestions or Copilot 채팅. See Copilot Chat에 대한 AI 모델 변경.

There are no changes to the data collection and usage policy if you change the AI model.

If you are on a Copilot Free plan, all completions count against your completions quota regardless of the model used. See Plans for GitHub Copilot.

The setting to enable or disable suggestions that match public code are applied irrespective of which model you choose. See GitHub Copilot 제안과 일치하는 공용 코드 찾기.

Enabling the model switcher

If you have a Copilot Free or Copilot Pro plan, the model switcher for Copilot code completion is automatically enabled.

Copilot Business 또는 Copilot Enterprise 플랜을 사용하는 경우, 해당 플랜을 제공하는 조직 또는 엔터프라이즈에서 Editor preview features 설정을 활성화해야 합니다. 조직에서 Copilot에 대한 정책 관리 또는 Managing policies and features for Copilot in your enterprise을(를) 참조하세요.

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 Copilot code completion:

  • 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

Next steps