Visual Studio Code
Visual Studio Code (commonly VS Code) is a free, cross-platform source-code editor developed by Microsoft and announced at the Build conference on April 29, 2015 [1]. Built on the Electron framework around an MIT-licensed core, it became the most widely used development environment in the world within three years of launch and has ranked first in every Stack Overflow Developer Survey that covered development environments since 2018, reaching 75.9 percent of respondents in 2025, its highest share ever, and remaining first at 70.9 percent in 2026 [2][4][25]. Since 2021 it has also been the primary delivery vehicle for GitHub Copilot, and with it the central battleground of AI-assisted programming: the editor gained an autonomous agent mode and Model Context Protocol support in 2025, Microsoft open-sourced its Copilot Chat extension that June, and its codebase serves as the foundation for AI-native forks such as Cursor and Windsurf [13][16][22].
Overview
VS Code is a hybrid of open and proprietary software. The underlying project, "Code - OSS," is published on GitHub under the MIT license, while the branded binaries Microsoft distributes add telemetry, the product name, and a proprietary license [4]. The editor runs on Windows, macOS, and Linux, updates on a monthly release cadence, and is extended through the Visual Studio Marketplace, which hosts tens of thousands of extensions [4]. In May 2025 Microsoft announced that Visual Studio and VS Code together had passed 50 million monthly active developers [6].
Its dominance is most visible in Stack Overflow's annual surveys:
| Survey year | VS Code share | Note |
|---|---|---|
| 2018 | ~35% | First year ranked the most popular development environment [4] |
| 2019 | ~50% | Half of all respondents [4] |
| 2024 | 73.6% | Nearly three times the share of JetBrains IntelliJ IDEA (26.8%) [4][24] |
| 2025 | 75.9% | AI-native rivals debut: Cursor 18%, Claude Code 10%, Windsurf 5% [2][4] |
| 2026 | 70.9% | Still first, though share fell; Cursor 14.9%, Windsurf 3.2% [25] |
How did VS Code start?
VS Code grew out of a failure. Erich Gamma, a co-author of the "Gang of Four" Design Patterns book and a lead of IBM's Eclipse platform, joined Microsoft in 2011 to build "Monaco," a browser-based editor used for editing Azure websites; it attracted only around 3,000 monthly users [3]. Gamma's team in Zurich pivoted the web technology into a desktop application, internally code-named "Ticino," by wrapping it in GitHub's Electron shell, which combines the Chromium rendering engine with Node.js [3][4].
The result was unveiled as Visual Studio Code on April 29, 2015, a free, cross-platform editor that surprised observers from a company whose flagship IDE ran only on Windows [1]. Microsoft published the source code under the MIT license on November 18, 2015, and added extension support the same month [4]. Version 1.0 shipped on April 14, 2016, by which point the editor already had half a million monthly active users [5].
Adoption then compounded: first place in the Stack Overflow survey by 2018, half of all developers by 2019, and roughly three quarters from 2021 onward [2][4]. A browser-only build, vscode.dev, launched in October 2021, and the same Monaco component powers GitHub Codespaces and github.dev [4]. GitHub retired its own Atom editor, the project for which Electron was originally created, in December 2022. By the editor's tenth anniversary in 2025, Microsoft counted more than 50 million monthly users across the Visual Studio family [6].
How is VS Code built?
The desktop application is an Electron shell written largely in TypeScript, with the Monaco editor as its text-editing core [4]. Extensions run in a separate extension-host process, so a misbehaving extension cannot freeze the UI. Two protocols that VS Code introduced became industry standards: the Language Server Protocol (2016), which lets any editor reuse the same language-intelligence server, and the Debug Adapter Protocol. Remote-development extensions let the UI run locally while code, tools, and terminals execute in containers, on remote machines, or in the cloud.
The extension ecosystem is the platform's moat, and it is not fully open. The Visual Studio Marketplace's terms restrict its use to official Microsoft products, and several widely used extensions, including Pylance, the C/C++ extension, and the Remote Development pack, are proprietary and licensed only for genuine VS Code builds [20][21]. Because official binaries include telemetry, a community project, VSCodium, distributes builds of Code - OSS without Microsoft branding or telemetry, defaulting to the Eclipse Foundation's Open VSX registry for extensions instead of Microsoft's marketplace [7].
How does VS Code integrate AI and GitHub Copilot?
VS Code was the launch surface for GitHub Copilot, the first mass-market AI pair programmer. The technical preview arrived as a VS Code extension on June 29, 2021, powered by OpenAI's Codex model [8], and Copilot became a paid product in June 2022 [9]. Copilot Chat, a conversational sidebar, reached general availability in December 2023 [10]. In December 2024 Microsoft added a free Copilot tier directly into VS Code, with 2,000 completions and 50 chat requests per month and a choice between GPT-4o and Anthropic's Claude 3.5 Sonnet, making an AI assistant part of the default experience [11].
What is agent mode in VS Code?
2025 turned the assistant into an agent. Agent mode, previewed in VS Code Insiders in February 2025, lets Claude- or GPT-class models plan multi-step tasks, edit files across a codebase, run terminal commands, and iterate on compile and test errors until a task completes [12]. Microsoft described it as an "autonomous peer programmer" that "performs multi-step coding tasks at your command," analyzing the codebase, reading relevant files, proposing edits, and running terminal commands and tests [12]. It rolled out to all users in early April 2025 together with support for the Model Context Protocol, which lets agents call external tools and data sources; MCP support reached general availability in version 1.102 in July 2025 [13][14]. Agent mode is one expression of the broader AI coding agent category that VS Code now hosts directly.
When did VS Code become open source for AI?
At Build 2025 (May 19, 2025), Microsoft announced it would make VS Code "an open source AI editor," open-sourcing the GitHub Copilot Chat extension and folding its AI features into the editor's core [15]. The company argued that "AI experiences can thrive by leveraging the vibrant open-source community, just as VS Code has successfully done over the past decade," and that large language models had "significantly improved, mitigating the need for 'secret sauce' prompting strategies" [15][16]. The code was published under the MIT license on June 30, 2025, exposing the system prompts, context-gathering logic, and agent implementation that had been proprietary [16].
The editor has since become deliberately model- and agent-agnostic. GitHub's Agent HQ initiative, announced at GitHub Universe in October 2025, brings third-party coding agents from Anthropic, OpenAI, and later Google, Cognition, and xAI into GitHub and VS Code under a single Copilot subscription [17]. With version 1.109 (January 2026 release), Claude and Codex agent sessions run inside the editor alongside Copilot, tracked in a unified Agent Sessions view that Microsoft pitches as a "home for multi-agent development" [18]. Version 1.121 (May 2026) extended this to remote agent sessions running off the local machine [19].
| Date | Milestone |
|---|---|
| June 29, 2021 | GitHub Copilot technical preview ships as a VS Code extension [8] |
| June 21, 2022 | Copilot general availability (paid subscription) [9] |
| December 29, 2023 | Copilot Chat GA in VS Code and Visual Studio [10] |
| December 18, 2024 | Free Copilot tier built into VS Code [11] |
| February 2025 | Agent mode preview in VS Code Insiders [12] |
| April 7, 2025 | Agent mode for all users; MCP support in preview [13] |
| May 19, 2025 | "Open source AI editor" plan announced at Build [15] |
| June 30, 2025 | Copilot Chat extension code released under MIT [16] |
| July 2025 (v1.102) | MCP support generally available [14] |
| October 2025 | Agent HQ: third-party agents (Claude, Codex) in GitHub and VS Code [17] |
| January 2026 (v1.109) | Multi-agent sessions and Agent Sessions view [18] |
| May 2026 (v1.121) | Remote agent sessions [19] |
How do Cursor and Windsurf relate to VS Code?
Because Code - OSS is MIT-licensed, anyone may fork it, and the most consequential AI coding startups did exactly that. Cursor, launched in 2023 by Anysphere, rebuilt the editor around AI-first completions and agents; by November 2025 the company had raised $2.3 billion at a $29.3 billion valuation, with Nvidia and Google among its investors [22]. Codeium shipped the Windsurf Editor, another VS Code fork marketed as the first "agentic IDE," in November 2024 and renamed the company Windsurf in 2025. After a roughly $3 billion acquisition agreement with OpenAI collapsed in July 2025, Google DeepMind hired Windsurf's CEO Varun Mohan and co-founder Douglas Chen in a $2.4 billion licensing-and-compensation deal, and Cognition, maker of Devin, acquired the remaining company days later [23]. In the 2025 Stack Overflow survey the forks registered real but far smaller shares than their parent: 18 percent for Cursor and 5 percent for Windsurf [2].
The forks inherit VS Code's interface and extension APIs but not its commercial ecosystem. Microsoft's marketplace terms have long barred non-Microsoft products from downloading extensions, a rule Cursor reportedly worked around by proxying marketplace requests [20][21]. In April 2025 Microsoft began enforcing the boundary technically: version 1.24.5 of its C/C++ extension added environment checks that disabled it inside Cursor and VSCodium, and similar restrictions already applied to Pylance and Remote Development [21]. One developer told The Register they had asked the US Federal Trade Commission to examine the practice as self-preferencing; The Register noted that the licensing terms had been in place since at least September 2020; Microsoft did not immediately respond to a request for comment [21]. The practical effect was to push forks toward the open Open VSX registry, which Cursor adopted as its in-app extension library in June 2025 [26].
Microsoft's counter-strategy has been to give away and open up rather than wall off: a free Copilot tier (December 2024), open-sourcing Copilot Chat (June 2025), and hosting rival agents inside the editor (2025 to 2026) [11][16][17]. As of mid-2026 the contest was unresolved. In the 2026 Stack Overflow survey, released in October 2026, VS Code remained the most used development environment, though its share fell to 70.9 percent from 75.9 percent the year before, while Cursor registered 14.9 percent [25].
Why does VS Code matter for AI?
VS Code is the closest thing modern software development has to a common substrate. Its Monaco component powers browser IDEs across the industry, the Language Server Protocol it introduced decoupled language tooling from any single editor, and its extension model defined how a code editor becomes a platform [4]. For Microsoft, an editor that began as a pivot from a failed web product became the company's distribution channel for GitHub Copilot, placing an AI assistant in front of tens of millions of developers by default [6][11].
The same openness that built that audience also armed Microsoft's competitors: Cursor and Windsurf demonstrate that a permissively licensed editor can be forked into multibillion-dollar rivals [22][23]. The resulting dynamic, free AI features and an open-sourced Copilot on one side, marketplace and extension restrictions on the other, has made VS Code both the prize and the weapon of the AI editor wars [16][21].
Continue reading
- MicrosoftMicrosoft Corporation is an American technology company headquartered in Redmond, Washington, and one of the largest suppliers of artificial intelligence compute, models, and applications.Mentioned 21 times above
- Cursor (code editor)Cursor is a proprietary AI-assisted code editor and software-development platform made by Anysphere.Mentioned 11 times above
- Windsurf (software)Windsurf is an AI-powered code editor developed by the company formerly known as Codeium (originally Exafunction).Mentioned 9 times above
- GitHub CopilotGitHub Copilot is a hosted artificial intelligence coding assistant developed by GitHub.Mentioned 6 times above
- Model Context ProtocolModel Context Protocol (MCP) is an open protocol for exchanging context and invoking capabilities between applications that use large language models and external programs or data sources.Mentioned twice above
- GitHubGitHub is the world's largest platform for hosting and collaborating on software source code, built around the Git version-control system and used by more than 180 million developers as of 2025.Mentioned 15 times above
More to read
Topics:Developer Tools
References
- ^1 ^2BUILD 2015 News: Visual Studio Code, Visual Studio 2015 RC, Team Foundation Server 2015 RC, Visual Studio 2013 Update 5 - Microsoft Visual Studio Blog, April 29, 2015.
- ^1 ^2 ^3 ^4Stack Overflow Dev Survey: Visual Studio, VS Code Hold Off AI IDEs to Remain on Top - Visual Studio Magazine, August 1, 2025.
- ^1 ^2Project Ticino: Microsoft's Erich Gamma on Visual Studio Code past, present, and future - The Register, January 28, 2021.
- ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8 ^9 ^10 ^11 ^12 ^13Visual Studio Code - Wikipedia, accessed June 10, 2026.
- ^Visual Studio Code 1.0! - Visual Studio Code Blog, April 14, 2016.
- ^1 ^2 ^3Celebrating 50 Million Developers: The Journey of Visual Studio and Visual Studio Code - Microsoft Developer Blog, May 2025.
- ^VSCodium - Open Source Binaries of VSCode - VSCodium project, accessed June 10, 2026.
- ^1 ^2Introducing GitHub Copilot: your AI pair programmer - GitHub Blog, June 29, 2021.
- ^1 ^2GitHub Copilot is generally available to all developers - GitHub Blog, June 21, 2022.
- ^1 ^2GitHub Copilot Chat now generally available for organizations and individuals - GitHub Blog, December 29, 2023.
- ^1 ^2 ^3 ^4Announcing a free GitHub Copilot for VS Code - Visual Studio Code Blog, December 18, 2024.
- ^1 ^2 ^3Introducing GitHub Copilot agent mode (preview) - Visual Studio Code Blog, February 24, 2025.
- ^1 ^2 ^3Agent mode: available to all users and supports MCP - Visual Studio Code Blog, April 7, 2025.
- ^1 ^2Model Context Protocol (MCP) support in VS Code is generally available - GitHub Changelog, July 14, 2025.
- ^1 ^2 ^3VS Code: Open Source AI Editor - Visual Studio Code Blog, May 19, 2025.
- ^1 ^2 ^3 ^4 ^5 ^6Open Source AI Editor: First Milestone - Visual Studio Code Blog, June 30, 2025.
- ^1 ^2 ^3Introducing Agent HQ: Any agent, any way you work - GitHub Blog, October 28, 2025.
- ^1 ^2Your Home for Multi-Agent Development - Visual Studio Code Blog, February 5, 2026.
- ^1 ^2VS Code 1.121 Adds Remote Agents, Boosts Claude Code Functionality Again - Visual Studio Magazine, May 20, 2026.
- ^1 ^2VS Code extension marketplace wars: Cursor users hit roadblocks - DevClass, April 8, 2025.
- ^1 ^2 ^3 ^4 ^5Microsoft subtracts C/C++ extension from VS Code forks - The Register, April 24, 2025.
- ^1 ^2 ^3AI startup Cursor raises $2.3 billion funding round at $29.3 billion valuation - CNBC, November 13, 2025.
- ^1 ^2Cognition, maker of the AI coding agent Devin, acquires Windsurf - TechCrunch, July 14, 2025.
- ^Technology | 2024 Stack Overflow Developer Survey - Stack Overflow, July 2024.
- ^1 ^2 ^3Stack Overflow 2026 Survey: VS Code Leads, Visual Studio Takes Third - Visual Studio Magazine, October 6, 2026.
- ^Extension Marketplace Changes - Transition to OpenVSX - Cursor Community Forum, June 25, 2025.
Improve this article
Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.
7 revisions · v7 · 2,424 words · full history
Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify
Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here
Reviewer note: Independent fact-check of the full article against its cited sources (85 claims, 28 sources fetched); 3 material + 7 minor fixed
Cite this page: AI Wiki. "Visual Studio Code." aiwiki.ai, updated 28 Oct 2026, fact-checked 2 Nov 2026. CC BY 4.0. https://aiwiki.ai/wiki/visual_studio_code




