The open source
AI code editor

Any model for any team

Use AI models like Claude Sonnet out of the box, or bring your own key to access models from Azure, Anthropic, Google, Ollama, OpenAI, and OpenRouter.

Image-modal

An expert on your codebase

Your codebase is indexed locally and remotely (on GitHub) to understand what's relevant, enabling fast, context-aware interactions.

Expert_codebase

AI that works the way your team does

Personalize interactions using custom instructions and reusable prompt files tailored to your workflows, tools, and projects.

instructions

Use AI features in VS Code for free

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

Agent Mode

Tackle complex, multi-step tasks. Agent mode reads your codebase, suggests edits across files, runs terminal commands, and responds to compile or test failures — all in a loop until the job is done. Further refine agent mode to fit your team's workflows with VS Code extensions and Model Context Protocol (MCP) servers.

Build with agent mode
img-01

Next edit suggestions

VS Code predicts your next move as you code. Use the Tab key to accept AI-powered suggestions right in your editor. It intelligently recommends what to change — and where — based on the edits you're already making.

Code with AI-powered suggestions
img-02

Code with extensions

Customize VS Code with AI-powered functionality from extensions and Model Context Protocol servers to use in Chat. Or, build your own extension to power your team's unique scenarios

img-03

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.

Code with AI-powered suggestions
img-04

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.

js

JavaScript

ts

Typescript

py

Python

cs

C#

cpp

C++

html

HTML

java

Java

json

JSON

powershell

Powershell

PHP

PHP

mark

Markdown

YAML

Yaml

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.

img-05