search
HomeWeb Front-endCSS TutorialThe Many Faces of VS Code in the Browser

The Many Faces of VS Code in the Browser

VS Code, built using web technologies (HTML, CSS, and JavaScript), is predominantly used as a locally installed application. However, its web-based accessibility is rapidly expanding, making it a significant development in the world of web development, where VS Code reigns supreme. This web availability eliminates the need for software installation, a considerable advantage for institutions like schools managing numerous devices and for platforms like Chromebooks that limit local software installation.

The proliferation of VS Code's web versions can be confusing, so let's examine the current landscape:

vscode.dev

Recently launched, vscode.dev leverages the File System Access API (currently supported by Edge and Chrome) to access the local file system (with user permission). Even without this API, users can upload files or, more practically, open repositories. Essentially, it provides a browser-based VS Code experience, opening local folders and mirroring the functionality of the desktop application. While basic usage feels similar, permission management and keyboard shortcuts require adjustment, and a terminal is currently unavailable. Despite these limitations, features like "Find in Project" maintain comparable speed to the desktop version, even on large projects.

GitHub.dev: The "." Shortcut

GitHub.dev offers another browser-based VS Code instance, but with a different approach. Local folder access is absent; instead, it focuses on quick access and modification of GitHub repositories. Changes can be saved, committed, and pull requests initiated directly within the browser. While a potential merger with vscode.dev is speculated, currently they remain distinct. Conversely, GitHub repositories can also be opened directly in locally installed VS Code without cloning.

GitHub Codespaces: Terminal and Preview Included

GitHub Codespaces provides a more advanced browser-based VS Code experience. Microsoft authentication enables access to locally installed extensions. More importantly, it includes a functional terminal. Upon launch, it provides access to various runtimes and tools (Python, Node.js, Docker, etc.), allowing users to run npm scripts and generate project previews via URLs.

Gitpod: A Strong Competitor

Gitpod mirrors GitHub Codespaces, offering a browser-based VS Code with a terminal providing a full Docker/Linux environment. This powerful setup potentially allows for production environment mirroring, depending on Gitpod's supported technologies. Gitpod also integrates "workspaces" that manage services, elegantly handling project previews with features like running MongoDB instances. Its potential acquisition by Microsoft is a plausible scenario, given the converging directions of both companies.

CodeSandbox and Stackblitz: Similar Alternatives

CodeSandbox and Stackblitz also offer browser-based VS Code alternatives, or at least utilize VS Code components.

Self-Hosted VS Code: code-server

Coder's code-server allows self-hosting of VS Code, providing an alternative to third-party web versions. This is particularly useful for running VS Code on controlled cloud servers, enabling direct file editing on the server itself. This approach offers advantages for schools and environments with limited local software capabilities, potentially improving battery life by offloading intensive tasks to the server.

The rise of web-based IDEs is undeniable. The success of Figma demonstrates the advantages of web-first development, combining ease of use, collaborative features, and accessibility. The future of development environments increasingly points towards the web.

The above is the detailed content of The Many Faces of VS Code in the Browser. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
A Little Reminder That Pseudo Elements are Children, Kinda.A Little Reminder That Pseudo Elements are Children, Kinda.Apr 19, 2025 am 11:39 AM

Here's a container with some child elements:

Menus with 'Dynamic Hit Areas'Menus with 'Dynamic Hit Areas'Apr 19, 2025 am 11:37 AM

Flyout menus! The second you need to implement a menu that uses a hover event to display more menu items, you're in tricky territory. For one, they should

Improving Video Accessibility with WebVTTImproving Video Accessibility with WebVTTApr 19, 2025 am 11:27 AM

"The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."- Tim Berners-Lee

Weekly Platform News: CSS ::marker pseudo-element, pre-rendering web components, adding Webmention to your siteWeekly Platform News: CSS ::marker pseudo-element, pre-rendering web components, adding Webmention to your siteApr 19, 2025 am 11:25 AM

In this week's roundup: datepickers are giving keyboard users headaches, a new web component compiler that helps fight FOUC, we finally get our hands on styling list item markers, and four steps to getting webmentions on your site.

Making width and flexible items play nice togetherMaking width and flexible items play nice togetherApr 19, 2025 am 11:23 AM

The short answer: flex-shrink and flex-basis are probably what you’re lookin’ for.

Position Sticky and Table HeadersPosition Sticky and Table HeadersApr 19, 2025 am 11:21 AM

You can't position: sticky; a

Weekly Platform News: HTML Inspection in Search Console, Global Scope of Scripts, Babel env Adds defaults QueryWeekly Platform News: HTML Inspection in Search Console, Global Scope of Scripts, Babel env Adds defaults QueryApr 19, 2025 am 11:18 AM

In this week's look around the world of web platform news, Google Search Console makes it easier to view crawled markup, we learn that custom properties

IndieWeb and WebmentionsIndieWeb and WebmentionsApr 19, 2025 am 11:16 AM

The IndieWeb is a thing! They've got a conference coming up and everything. The New Yorker is even writing about it:

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.