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.
  • Next edit suggestions (public preview)
    • 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 next edit suggestions, see Configuring GitHub Copilot in your environment.

GitHub Copilot provides suggestions for numerous languages and a wide variety of frameworks, but works especially well for Python, JavaScript, TypeScript, Ruby, Go, C# and C++. GitHub Copilot can also assist in query generation for databases, generating suggestions for APIs and frameworks, and can help with infrastructure as code development.

About code suggestions in JetBrains IDEs

Copilot offers code completion suggestions as you type.

GitHub Copilot provides suggestions for numerous languages and a wide variety of frameworks, but works especially well for Python, JavaScript, TypeScript, Ruby, Go, C# and C++. GitHub Copilot can also assist in query generation for databases, generating suggestions for APIs and frameworks, and can help with infrastructure as code development.

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.
  • Next edit suggestions (public preview)
    • 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 next edit suggestions, see Configuring GitHub Copilot in your environment.

GitHub Copilot provides suggestions for numerous languages and a wide variety of frameworks, but works especially well for Python, JavaScript, TypeScript, Ruby, Go, C# and C++. GitHub Copilot can also assist in query generation for databases, generating suggestions for APIs and frameworks, and can help with infrastructure as code development.

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.

Next steps