MCPcopy Index your code
hub / github.com/Felx-B/vscode-web

github.com/Felx-B/vscode-web @1.92.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.92.0 ↗ · + Follow
54 symbols 107 edges 6 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension Gallery

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

Core symbols most depended-on inside this repo

writeFile
called by 23
sample/myExt/extension.js
createDirectory
called by 8
sample/myExt/extension.js
note
called by 7
build.js
ok
called by 6
build.js
r
called by 6
sample/myExt/extension.js
_lookup
called by 5
sample/myExt/extension.js
_fireSoon
called by 5
sample/myExt/extension.js
doBuild
called by 4
sample/myExt/extension.js

Shape

Method 36
Class 10
Function 8

Languages

TypeScript100%

Modules by API surface

sample/myExt/extension.js50 symbols
build.js4 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add vscode-web \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page