🚀 Get in VS Code!

Your code editor. Redefined with AI.

Get Copilot Free

By using VS Code, you agree to its license and privacy statement.

Choose the model that works for you

Pick the model that works best for your project and team, including GPT 4o and Claude Sonnet.

Dropdown menu in GitHub Copilot Chat displaying AI model options: 'GPT 4o' selected, with other options like 'Claude 3.5 Sonnet (Preview)', 'o1-mini (Preview)', and 'o1-preview (Preview)' Dropdown menu in GitHub Copilot Chat displaying AI model options: 'GPT 4o' selected, with other options like 'Claude 3.5 Sonnet (Preview)', 'o1-mini (Preview)', and 'o1-preview (Preview)'

An expert on your codebase

Copilot locally indexes your codebase to understand what’s relevant and supplements that context to interactions with Copilot.

VS Code Copilot Edits prompt input with a working set of two files. The prompt message mentions #codebase and #file:HistoryView.swift for context. VS Code Copilot Edits prompt input with a working set of two files. The prompt message mentions #codebase and #file:HistoryView.swift for context.

Personalized to your needs

Copilot works the way you do. Customize Copilot's prompts with details about your team's workflows, tools, and projects.

Settings JSON for copilot instructions, the first set to `use React functional components', then including another file for extra instructions 'code-style.md'. Settings JSON for copilot instructions, the first set to `use React functional components', then including another file for extra instructions 'code-style.md'.

Activate Copilot Free in Visual Studio Code

No trial. No credit card required. Just your GitHub account.

Get Copilot Free

Create faster

Describe what you want to build in natural language, and Copilot Edits takes care of the rest. Copilot Edits makes changes across files in your codebase with a UI designed for rapid iteration. It's the fastest way to add new functionality to your apps.

Build with Copilot Edits

Copilot Chat is an expert on your codebase, helping you to answer questions, explain code, and propose fixes. Chat is available wherever you need it - either as a dedicated sidebar panel or directly from within your code so you can stay in context.

Get answers from Copilot Chat
VS Code window showing a code editor with projects.tsx open, alongside a Copilot Edits panel. The chat discusses modifications to make each project a link and add dynamic pages. Two files, projects.tsx and [slug].tsx, are in the working set, with GitHub Copilot suggesting edits. VS Code window showing a code editor with projects.tsx open, alongside a Copilot Edits panel. The chat discusses modifications to make each project a link and add dynamic pages. Two files, projects.tsx and [slug].tsx, are in the working set, with GitHub Copilot suggesting edits.

Code efficiently

Copilot is your AI pair programmer infused directly into the editor. Just start typing, and Copilot will complete your thought by offering a completion on the current line or (sometimes) a whole new block of code. Just like a coworker, you have the flexibility to accept all, some, or none of Copilot's suggestions. Copilot supports a broad range of languages and frameworks.

Pair program with Copilot
Code editor showing a TypeScript file sentiments.ts. It defines an isPositive function that determines if a text sentiment is positive by calling an external API. Copilot completions is suggesting how to complete the implementation. Code editor showing a TypeScript file sentiments.ts. It defines an isPositive function that determines if a text sentiment is positive by calling an external API. Copilot completions is suggesting how to complete the implementation.

Code in any language

VS Code supports almost every major programming language. Several ship in the box, like JavaScript, TypeScript, CSS, and HTML, but extensions for others can be found in the VS Code Marketplace.

JavaScript iconJavaScript
TypeScript iconTypeScript
Python iconPython
C# iconC#
C++ iconC++
HTML iconHTML
Java iconJava
JSON iconJSON
PHP iconPHP
Markdown iconMarkdown
Powershell iconPowershell
YAML iconYAML

Fully customizable

Customize your VS Code UI and layout so that it fits your coding style.

Color themes let you modify the colors in VS Code's user interface to suit your preferences and work environment.

Settings Sync enables you to share your user settings across your VS Code instances with the Settings Sync feature.

Profiles let you create sets of customizations and quickly switch between them or share them with others.

Selecting the GitHub Dark theme with a quick pick Selecting the GitHub Dark theme with a quick pick

Code anywhere

Code wherever you're most productive, whether you're connected to the cloud, a remote repository, or in the browser with VS Code for the Web (vscode.dev).

Built-in Source Control empowers you with Git support out-of-the-box. Many other source control providers are available through extensions.

GitHub Codespaces provides cloud-powered development environments for any activity - whether it's a long-term project, or a short-term task like reviewing a pull request.

vscode.dev in an Edge browser tab vscode.dev in an Edge browser tab

Code with rich features

There's a lot more to an editor. Whether it's using built-in features or rich extensions, there's something for everyone.