Why Google Built Its Own VS Code Fork
In this article
Google built its own VS Code fork, now known as IDX, to create a fully integrated cloud development environment that combines the familiar editor experience with built-in AI assistance, emulator support, and seamless deployment—features that the standard VS Code does not offer out of the box. The project started as an internal effort to address the fragmentation developers face when switching between local tools, cloud services, and multiple devices. By forking VS Code, Google could leverage its open-source foundation while adding proprietary capabilities tailored to its cloud ecosystem.
The Problem With Standard VS Code
VS Code is a powerful editor, but it is fundamentally a local application. Developers who work across multiple machines must manually sync settings, extensions, and project state. More importantly, VS Code lacks native integration with cloud services—there is no built-in way to spin up a remote environment, attach a debugger to a cloud instance, or deploy directly from the editor. Google's internal teams found this friction especially acute when onboarding new developers or collaborating on large monorepos. The standard workflow required juggling a local editor, a terminal, a browser for cloud consoles, and a separate chat tool for AI assistance. That fragmentation slows down iteration and increases cognitive load.
What Google Actually Changed
Google's fork, called IDX, keeps the core editor interface that millions of developers already know, but it replaces the local execution model with a cloud-based one. The most significant changes are:
- Full cloud workspace: The entire development environment—including the file system, terminal, and extensions—runs in a remote container, not on your laptop.
- Embedded AI assistant: A Gemini-powered chat panel sits alongside the code, capable of explaining, refactoring, and generating code based on the project context.
- Native emulator support: IDX includes built-in Android and iOS emulators that launch directly in the browser, eliminating the need to install and configure them locally.
- One-click deployment: You can publish your app to Firebase Hosting or Cloud Run without leaving the editor.
- Preview URLs: Every workspace gets a temporary public URL so you can share a live preview with teammates or clients.
These features are not extensions you can install in standard VS Code; they require deep integration with Google's backend infrastructure. That is why a fork was necessary—the changes go far beyond what a plugin API can achieve.
How IDX Differs From a Regular Extension
A common misconception is that Google could have simply published a VS Code extension to achieve the same result. But extensions run inside the editor process and have limited access to the host operating system. They cannot provision cloud VMs, manage network ports, or orchestrate container lifecycles. IDX, by contrast, is a complete application where the editor is just one component. The backend handles authentication, workspace storage, and resource scaling. This architectural difference is why Google chose to fork rather than extend.
Another key difference is the update model. Standard VS Code updates come from Microsoft, and Google cannot control that roadmap. By maintaining its own fork, Google can ship features on its own schedule, prioritize cloud-native workflows, and ensure compatibility with its internal tooling. The trade-off is that IDX lags behind upstream VS Code releases, so some newer editor features appear later than they do in the official build.
Who Should Use IDX Over Regular VS Code
IDX is not meant to replace VS Code for everyone. It is designed for a specific workflow:
- Developers who switch devices frequently: Since everything is in the cloud, you get the same environment on a Chromebook, a Windows laptop, or a Linux workstation.
- Teams that need instant onboarding: A new developer can join a project with a single link—no need to install dependencies or configure tools.
- Mobile developers who want to test quickly: The built-in emulators save significant setup time compared to local Android Studio or Xcode configurations.
- Hobbyists and students: The free tier includes enough resources for small projects, and there is no local hardware requirement.
However, if you work offline, need low-latency response for very large codebases, or rely on specific native extensions that require local binaries, standard VS Code remains the better choice. IDX also has a learning curve for its cloud-specific concepts like workspace snapshots and resource limits.
Common Problems and Misconceptions
One of the most frequent complaints is that IDX feels slower than local VS Code. This is partly perception—network latency adds a few milliseconds to every keystroke—but also real: the free tier uses modest CPU and RAM allocations. For large projects, you may need to upgrade to a paid tier for better performance. Another misconception is that IDX is just a web version of VS Code. In reality, it is a separate product with its own settings, extensions marketplace, and deployment pipeline. Extensions that work in VS Code may not be available in IDX, and vice versa.
Privacy is another concern. Because your code is stored on Google's servers, you must be comfortable with that data residing outside your control. Google's terms allow them to process your code for the purpose of providing the service, but they do not use it for advertising. Still, enterprises with strict data residency requirements may find this unacceptable.
Costs and Limits
IDX offers a free tier with limited resources—roughly 1 vCPU and 2 GB RAM per workspace, plus a limited number of active workspaces. For heavier use, Google Cloud credits are required, and you pay for additional compute, storage, and emulator time. The pricing is not published as a flat rate; it depends on your Google Cloud usage. This means costs can vary widely. A small hobby project might stay free indefinitely, while a team running multiple large workspaces could see monthly bills in the hundreds of dollars. There is also a limit on how long a workspace can stay idle before it is paused, which can interrupt long-running builds.
Alternatives to IDX
Google is not the only company to fork VS Code for cloud development. The most direct competitor is GitHub Codespaces, which also provides cloud-based VS Code environments but is built on Microsoft's infrastructure. Codespaces integrates tightly with GitHub repositories and offers more predictable pricing per user. Another alternative is Gitpod, a third-party service that works with GitLab and Bitbucket in addition to GitHub. For teams already invested in Google Cloud, IDX offers the tightest integration with Firebase, Cloud Run, and the Gemini AI APIs. For teams that prefer Microsoft's ecosystem, Codespaces is often a smoother fit. JetBrains also offers cloud development through Projector, but that is not based on VS Code.
Frequently Asked Questions
Is IDX the same as VS Code?
No. IDX is a fork of VS Code, meaning it shares the same codebase and user interface, but it has been modified to run in the cloud with additional features like built-in AI, emulators, and deployment tools. It is not compatible with all VS Code extensions, and its update cycle is independent.
Can I use IDX for free?
Yes, Google offers a free tier with limited resources. You get a certain number of workspace hours per month, and extra usage requires a paid Google Cloud account. The free tier is sufficient for small projects and learning, but not for heavy production work.
Does IDX work offline?
No. IDX requires an internet connection because the entire development environment runs in the cloud. If you need to work offline, you should use standard VS Code or another local editor.
Can I migrate my existing VS Code setup to IDX?
Partially. IDX can import projects from GitHub, and it supports many popular VS Code extensions. However, not all extensions are available, and you will need to reconfigure some settings like keybindings and themes. The migration is manual, not automatic.
Is my code safe on IDX?
Your code is stored in Google Cloud and is subject to Google's security measures. Google states that they do not use your code for advertising, and you retain ownership. However, if you have strict data sovereignty requirements, you should review Google's terms and consider a self-hosted alternative.
Why did Google not just use Codespaces?
Google chose to build its own fork to have full control over the product and to integrate deeply with its own cloud services like Firebase and the Gemini AI models. Relying on a Microsoft product would have meant depending on a competitor's infrastructure and roadmap.