frozen.current AI 2026-09-10 09:54 UTC
Ten-odd years ago, if you asked a room of programmers which editor they used, you would get a lively argument. Some swore by Vim or Emacs, tools with roots in the 1970s. Others used Sublime Text, the fast, polished editor that had become fashionable. Java developers lived in Eclipse or IntelliJ, Windows developers in Visual Studio, web developers increasingly in GitHub's new editor, Atom. There was no default.
Today, ask the same question and a large share of hands go up for one answer: Visual Studio Code. Developer surveys have placed it at or near the top of the popularity rankings for years. It is free, it runs on Windows, macOS and Linux, and its extension ecosystem has made it a reasonable choice for almost any language.
How did a Microsoft product, launched into a crowded field, become the closest thing the programming world has to a standard editor? And what are the trade-offs that come with that dominance? Here is my attempt at a history and an honest assessment.
Editors versus IDEs
To understand VS Code's position, it helps to remember the old split in developer tools.
- Text editors were fast and lightweight. They opened files instantly and stayed out of your way. Classic examples include vi and Vim, Emacs, and later TextMate, Notepad++ and Sublime Text. They could be extended, sometimes very deeply, but understanding code at the level of "what type is this variable?" was limited or required substantial configuration.
- Integrated development environments (IDEs) like Visual Studio, Eclipse and the JetBrains family understood code deeply. They offered refactoring, intelligent autocomplete, integrated debugging and build tools. They were also heavyweight, often tied to particular languages, and could feel slow and complex.
For years developers chose one side or juggled both. VS Code's central design bet was to sit in the middle: start as a fast, simple editor, and let rich language intelligence and debugging be added through extensions.
Origins: a browser editor and an Electron shell
VS Code has two main ancestors.
The first was a browser-based code editor that Microsoft developed in the early 2010s, used in some of its online developer services. A team led by Erich Gamma, well known in software engineering for his work on design patterns and for his role in the Eclipse project, worked on this editor component. That component became the Monaco editor, which still powers VS Code's text editing and is also used on its own in many websites that need an embedded code editor.
The second ancestor came from GitHub. To build Atom, GitHub created a framework for writing desktop applications using web technologies: HTML, CSS and JavaScript running in a bundled Chromium browser engine with Node.js. That framework became Electron. It allowed a team to build a cross-platform desktop application using the same web technologies they already used.
Microsoft combined these ideas. VS Code was announced in April 2015 at Microsoft's Build developer conference, as a lightweight, cross-platform editor built with web technologies on Electron. Later that year, Microsoft published the source code on GitHub under the permissive MIT licence, and version 1.0 arrived in 2016.
At the time, this was striking. Microsoft had a long history of proprietary, Windows-first tools. A free, open-source editor that ran equally well on macOS and Linux signalled a broader change in the company's approach to developers.
Why it caught on
VS Code was not the first editor built on web technology, and it was not the fastest. Several factors seem to explain its rise.
It was fast enough. Electron applications have a reputation for being memory-hungry, and Atom was often criticised for sluggishness. The VS Code team put considerable effort into performance: running extensions in a separate process so a misbehaving extension could not freeze the editor, careful startup optimisation and an architecture designed to stay responsive with large files. For many people it felt noticeably snappier than Atom.
Language intelligence came built in. VS Code shipped with excellent support for JavaScript and TypeScript, Microsoft's typed superset of JavaScript, which was growing fast in the web world. Autocomplete, error checking and navigation worked well out of the box for the languages many developers were using.
The Language Server Protocol. This may be the most important technical contribution. In 2016 Microsoft published the Language Server Protocol (LSP), a standard way for an editor to talk to a separate program, a "language server", that understands a particular programming language. The language server provides features such as autocompletion, go-to-definition and error diagnostics; the editor just displays them.
Before LSP, every editor needed custom integration for every language, an "M editors times N languages" problem. With LSP, a language community could write one server and have it work in many editors. Many other editors, including Vim, Neovim and Emacs, adopted LSP support. A similar idea, the Debug Adapter Protocol, standardised communication with debuggers. These protocols helped VS Code and also benefited the whole ecosystem.
Extensions, and a marketplace. VS Code's extension API and its built-in marketplace made it easy to find and install support for languages, linters, formatters, themes and integrations. Over time, high-quality extensions emerged for Python, Go, Rust, C and C++, Java and many others, sometimes maintained by the language communities themselves.
Git and the terminal, integrated. A built-in source control view, an integrated terminal and a decent debugger meant many developers could do most of their work without switching windows.
It was free and cross-platform. For students, open-source contributors and companies standardising tools across mixed operating systems, this mattered a lot. Sublime Text, by contrast, required a paid licence for continued use.
The editor becomes a platform
Once VS Code was popular, it became the base for broader tools.
- Remote development. Extensions introduced around 2019 let VS Code run its interface locally while the actual work, file access, language servers and terminals happened on a remote machine over SSH, inside a container or in Windows Subsystem for Linux. This was a genuinely new workflow: you could edit code on a powerful server or in a reproducible container as if it were local.
- Dev containers. A configuration file in a repository could describe a development environment as a container, so a new contributor could open the project and get the right tools automatically.
- In the browser. After Microsoft acquired GitHub in 2018, a web version of the editor was integrated into GitHub's cloud development environment, Codespaces, and a lightweight browser version became available as well. Pressing a single key on many GitHub repository pages opens a browser-based editor.
- AI assistance. GitHub Copilot, introduced as a preview in 2021, launched as a VS Code extension and became one of the most visible early uses of large language models for coding. Since then, AI chat and agent features have become central to how VS Code is marketed.
- Forks and derivatives. Because the core is open source, other companies and projects have built on it. Some new AI-focused editors are forks of VS Code; Eclipse Theia and various cloud IDE products reuse its components or are compatible with its extensions.
GitHub retired Atom in 2022. In a sense, the web-technology editor idea that Atom pioneered lived on through Electron and through VS Code itself.
The fine print: open source, but not entirely
One detail confuses many users. The open-source repository, often called Code - OSS, is MIT-licensed. The Visual Studio Code product that most people download from Microsoft is built from that source but includes Microsoft-specific additions, such as branding and telemetry, and is distributed under a Microsoft product licence.
Some consequences:
- Telemetry. Microsoft's build collects usage data by default, which can be turned down or off in settings. Some developers object to the default, and community builds such as VSCodium distribute the open-source code without Microsoft's telemetry and branding.
- The marketplace. The official extension marketplace's terms restrict its use to Microsoft's products. Forks and alternative builds typically use other registries, such as the open, vendor-neutral Open VSX registry run under the Eclipse Foundation.
- Proprietary extensions. Some popular extensions, including certain language servers and remote development tools from Microsoft, are not open source and are licensed for use only with Microsoft's VS Code builds.
None of this makes VS Code unusual among commercial open-source projects, but it does mean "VS Code is open source" is true in a specific and qualified sense.
What happens under the hood
It is worth a short look at how VS Code is put together, because the architecture explains a lot of its behaviour.
- The main process starts the application, manages windows and handles operating-system integration such as menus and updates.
- The renderer draws the interface for each window using web technologies: the Monaco editor, the sidebars, the panels and the status bar.
- The extension host is a separate process where extensions run. If an extension hangs or crashes, the editor itself usually keeps responding, and you can restart the extension host without closing your work. Extensions interact with the editor only through a defined API, which limits how badly one can break the interface, although, as discussed below, it does not limit what they can do to your files.
- Language servers and debug adapters often run as further separate processes, speaking LSP or the Debug Adapter Protocol. This is why you sometimes see several helper processes in your task manager while VS Code is open.
Configuration is also handled in a way developers tend to like. Settings, keyboard shortcuts and many workspace options are stored as JSON files, with a friendlier settings interface layered on top. Settings can apply globally, per workspace or per language, and a project can check in recommended settings and extensions so that a team gets a consistent setup. For many people this "settings as text" approach is part of the appeal: configuration can be versioned, diffed and shared like any other code. It also means that a colleague's whole setup can be reproduced by copying a couple of small files.
The project's development style has mattered too. VS Code has shipped updates on a frequent, regular cadence for most of its life, with release notes that explain new features in detail, and an "Insiders" build that lets enthusiasts try changes early. Its public issue tracker is enormous and active. That openness about plans and progress built goodwill, especially among developers who were sceptical of Microsoft.
Criticisms and trade-offs
VS Code's success is not without downsides.
- Resource use. An Electron application bundles a browser engine, so VS Code typically uses more memory than a native editor like Vim or Sublime Text. On modern hardware this rarely matters, but with many extensions and large projects it can become noticeable.
- Extension security. Extensions run with broad access to your files and system. Security researchers have repeatedly found malicious or typo-squatting extensions in marketplaces. Microsoft has added protections such as publisher verification and scanning, plus Workspace Trust, which limits what code can do when you open an unfamiliar folder. Still, installing an extension is a decision to trust its author.
- Monoculture. When most developers use one tool, its design choices shape workflows across the industry. Some worry about too much influence concentrated in one company, especially given the proprietary layers.
- Depth versus breadth. For certain languages, dedicated IDEs still offer deeper refactoring and analysis. Many Java and Kotlin developers, for instance, still prefer JetBrains tools, and Visual Studio remains the main choice for some large Windows and C++ projects.
Practical tips if you use it
Whether you are new to VS Code or have used it for years, a few features are worth knowing:
- The Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on a Mac) lets you search for and run almost any command. If you only learn one shortcut, make it this one.
- Quick Open (Ctrl+P or Cmd+P) jumps to files by name, and typing
@after it jumps to symbols within a file. - Multi-cursor editing. Alt-click (Option-click on a Mac) adds cursors, and selecting a word then repeatedly pressing Ctrl+D (Cmd+D) selects the next occurrences.
- Profiles let you keep different sets of extensions and settings, for example one minimal profile for writing and one for a particular language.
- Settings Sync keeps your settings and extensions consistent across machines.
- Be selective with extensions. Install only what you need, prefer verified publishers and well-maintained projects, and periodically remove ones you no longer use. It helps performance and security.
- Learn the debugger. Many people use VS Code for years without setting breakpoints in it. A launch configuration for your project can save a lot of print-statement debugging.
- Try a dev container for a project with a complicated setup. Describing the environment in code makes it much easier to share.
Where code editors go from here
The arrival of AI assistants has shaken up the editor landscape more than anything since VS Code itself. New editors have appeared that put AI agents at the centre of the experience, several of them forks of VS Code. Others, such as Zed, focus on raw performance and collaboration with a native architecture. Neovim has a thriving community of users who configure it into a modern environment using LSP.
It is not obvious whether the next decade will see VS Code remain dominant, fragment into many forks with different AI features, or be displaced by something built from scratch around AI collaboration. The open protocols VS Code helped popularise, LSP in particular, make it easier for newcomers to compete, which is a nice irony.
Open questions
- What editor did you use before VS Code, and what made you switch, or not switch?
- Is the concentration of developer tooling around one company's editor a real risk, or is the open-source core enough of a safeguard?
- How do you think AI assistants will change what we want from a code editor over the next few years?
