New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vscode-web

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-web

Visual Studio Code for browser

latest
Source
npmnpm
Version
1.91.1
Version published
Maintainers
0
Created
Source

VSCode Web

This project is aimed to build a web version of VSCode, this is not a fork, simply a web compilation of the VSCode project.

Here is a StackBlitz sample https://stackblitz.com/edit/vscode-web

A similar compilation is used to generate VSCode Web and Github Dev

Update

Microsoft recently open sourced VSCode web compilation, so I simplified the build process to use the official compilation (no more tweak needed). Some modification have been made in the index.html file.

Use case

This project can be used to build a strong web file editor/reader. You need to implement your own FileSystemProvider through extension. Additional you can also use proposed API to implement a TextSearchProvider and FileSearchProvider.

Sample project

This project is aimed to be used through npm package to avoid consumer to recompile whole solution.

Sample project can be found in this repository to illustate vscode-web usage. This sample is not fully functional as it misses a FileSystemProvider extension.

To run sample project

cd ./sample
yarn
yarn sample

Based on VS MarketPlace rules, you are not allowed to consume VSCode Marketplace from your own VSCode Web But Open VSX Registry is here to provide an alternate marketplace.

See the product.json file in sample folder to configure it.

Build from source

To build from source, you need same prerequisites as vscode : VSCode Prerequisites

Then simply run following commands

yarn
yarn build

Run demo

To run the demo you need to build from source, then run following commands

yarn prepare-demo
yarn demo

FAQs

Package last updated on 16 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts