Article illustration 1

For years, Visual Studio Code has dominated as the developer's editor of choice, but its evolution tells a more ambitious story. As Progrium's recent analysis reveals, VS Code is quietly transforming into a general-purpose application framework—a foundation for everything from cloud-based development environments to domain-specific tooling and AI agent interfaces.

Why VS Code as a Platform?

Its suitability stems from three core strengths:

  1. Generalized UI Architecture: Designed as an integrated environment, not just an editor, with tabbed views, customizable sidebars, and command palettes adaptable to diverse workflows.
  2. Deep Extensibility: Extension APIs allow radical transformations—even stripping out code-editing features to create non-development tools like CAD interfaces or audio workstations.
  3. Permissive Licensing: The MIT-licensed Code - OSS project enables redistribution and modification (with branding changes).

"Any application built around tabbed views, user-customizable sidebars, and advanced command capabilities is a candidate for VS Code's shell," notes the analysis. Even non-dev products benefit: imagine game modding tools or analytics dashboards where power users script customizations within an embedded editor.

The AI Imperative

As AI agents increasingly automate tasks, they’ll generate code—not just execute commands. This creates demand for "admin backends" where agents and humans collaborate. VS Code, as the de facto standard for AI-assisted coding (e.g., GitHub Copilot), becomes the natural foundation:

"Code remains cheaper to run than AI. Systems involving agentic AI will need a development environment as a behind-the-scenes cockpit."

Avoiding the Fork Trap

Directly forking VS Code is daunting: 1.3 million lines of TypeScript, 900+ dependencies, and a 2.6GB installation footprint. Building the frontend takes 30+ minutes on high-end hardware. Instead, the author advocates leveraging VS Code for the Web—a decoupled build target:

  • 18MB compressed artifact (vs. gigabytes for the full fork)
  • Runs entirely in-browser or embedded in webviews
  • MIT-licensed and dependency-light

Trade-offs exist: no native filesystem/shell access, and only web worker-compatible extensions work out-of-the-box. But these are solvable:

// Example: Bridge filesystem access via WebSocket
const fileSystemBridge = new WebSocket('wss://myapp/filesystem');
vscode.workspace.registerFileSystemProvider('myapp', customFS);

Embedding the Future

This approach enables:
- Cloud deployment via static CDN hosting
- Desktop integration via Electron, Tauri, or other webview wrappers
- Customization through extensions that replace core functionality

The result? A familiar, extensible interface embedded directly into your product—whether it’s a cloud IDE, an AI agent console, or a specialized creative tool. As one developer put it: "Why rebuild the universe when you can embed VS Code?"

Source: Turning VS Code into a Product Framework