Visual Studio Code app icon

Text and code editors

Visual Studio Code

Free cross-platform code editor from Microsoft with IntelliSense, integrated Git, a debugger and the largest extension marketplace for developers.

WindowsmacOSLinuxFreeware (Microsoft proprietary licence; source under MIT)

Visual Studio Code: a free editor that behaves like an IDE

What it does

Visual Studio Code is a free source-code editor that Microsoft ships for Windows, macOS and Linux. It began as a lightweight Electron application and grew into what most developers now treat as their primary integrated development environment: syntax highlighting for hundreds of languages, IntelliSense completion and refactoring driven by language servers, an integrated debugger, a built-in Git client, a terminal panel and remote development over SSH, WSL or containers. The Windows build installs as a per-user application, registers the code command in the system PATH, and offers an optional context-menu entry so folders can be opened from Explorer. Extensions are installed from a marketplace that covers language support, linters, formatters, test runners, themes and database or cloud tooling, so the installed editor is really a shell that becomes whatever your project needs.

The workflow

A typical session starts by opening a folder rather than a single file, which lets the editor index the workspace and resolve imports correctly. From there the command palette (Ctrl+Shift+P) is the fastest route to almost every action, from changing the language mode to formatting a document. Source control lives in the sidebar: stage hunks, write a commit message, push, and resolve merge conflicts with a three-way editor. Debugging uses a launch configuration stored in the workspace, so breakpoints, environment variables and task chains stay with the project and are shareable with the rest of the team. Settings sync can mirror keybindings, extensions and snippets across machines through a Microsoft or GitHub account.

Practical settings and limits

The editor is tuned for responsiveness by excluding large or generated directories from search and file watching, a setting worth adjusting on monorepos with build output. Notebook-style editing, profiles and workspace trust are all built in. The most common friction points are extension sprawl slowing startup, the memory cost of running many language servers at once, and the fact that some Microsoft-branded extensions - notably the C# Dev Kit and remote development packs - are licensed only for the official build and cannot legally run in third-party rebuilds. Telemetry is on by default and can be disabled in settings. The Windows installer has no bundled toolchain, so compilers, SDKs and language runtimes still have to be installed separately.

Who should choose something else

JetBrains IDEs remain a better fit when you want heavyweight refactoring, framework-aware inspections and an integrated database tool without assembling extensions. Vim, Neovim and Helix suit anyone who wants to live on the keyboard and keep the process small. Zed is worth a look on machines where input latency and GPU-accelerated rendering matter more than the size of the extension catalogue. If your only need is editing a configuration file once a week, the built-in Notepad is enough and this editor is overkill.

Best for
Everyday application, web, scripting and infrastructure work in one editor with debugging and Git built in.
Good to know
Some Microsoft extensions (C# Dev Kit, remote development) are licensed only for the official Microsoft build.

Visual Studio Code is Microsoft's free code editor for Windows. It pairs a fast editor core with language-aware completion, an integrated terminal and source control, with no licence key or account.

How to get started

  1. Download the 64-bit user installer from the official Visual Studio Code site.
  2. Run the setup executable and accept the licence.
  3. Keep the recommended options selected so the editor is added to PATH and to the Explorer context menu.
  4. Launch the editor and reopen any terminal so the code command resolves.
  5. Open a project folder, install the language extensions your stack needs, and sign in only if you want settings sync.

Questions & answers

Is Visual Studio Code really free?

Yes. The editor is free to download and use, including commercially, under Microsoft's product licence. Its source is MIT licensed, though a few Microsoft-branded extensions need the official build.

Which installer should I pick, user or system?

The user installer needs no administrator rights and installs under your profile, which is the right default. Choose the system installer when several accounts on the same PC should share one installation and updates.

Does it work offline?

Editing, debugging and source control over a local repository work without a network connection. Extension installation and settings sync need internet access.

More in text and code editors

View category