Skip to content

Commit 2d3ca0b

Browse files
Remove unused code
1 parent 4d22284 commit 2d3ca0b

File tree

15 files changed

+6
-1494
lines changed

15 files changed

+6
-1494
lines changed

README.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,3 @@
11
# VSCode Web
2-
This project is aimed to build a web version of VSCode, this is not a fork, simply a web compilation of the VSCode project.
3-
4-
Here is a StackBlitz sample
5-
https://stackblitz.com/edit/vscode-web
6-
7-
8-
A similar compilation is used to generate [VSCode Web](https://vscode.dev) and [Github Dev](https://github.dev)
9-
## Update
10-
Microsoft recently open sourced VSCode web compilation, so I simplified the build process to use the official compilation (no more tweak needed).
11-
Some modification have been made in the `index.html` file.
12-
13-
## Use case
14-
This project can be used to build a strong web file editor/reader. You need to implement your own [`FileSystemProvider`](https://code.visualstudio.com/api/references/vscode-api#FileSystemProvider) through extension.
15-
Additional you can also use [proposed API](https://code.visualstudio.com/api/advanced-topics/using-proposed-api) to implement a `TextSearchProvider` and `FileSearchProvider`.
16-
17-
## Sample project
18-
This project is aimed to be used through npm package to avoid consumer to recompile whole solution.
19-
20-
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.
21-
22-
To run sample project
23-
```sh
24-
cd ./sample
25-
yarn
26-
yarn sample
27-
```
28-
29-
## Extension Gallery
30-
Based on VS MarketPlace rules, you are not allowed to consume VSCode Marketplace from your own VSCode Web
31-
But [Open VSX Registry](https://open-vsx.org/) is here to provide an alternate marketplace.
322

33-
See the [product.json](sample/product.json) file in `sample` folder to configure it.
34-
35-
36-
## Build from source
37-
38-
To build from source, you need same prerequisites as vscode :
39-
[VSCode Prerequisites](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites)
40-
41-
Then simply run following commands
42-
43-
```
44-
yarn
45-
yarn build
46-
```
47-
48-
## Run demo
49-
50-
To run the demo you need to build from source, then run following commands
51-
52-
```
53-
yarn prepare-demo
54-
yarn demo
55-
```
3+
This project is aimed to build a web version of VSCode, this is not a fork, simply a web compilation of the VSCode project.

build.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ if (!fs.existsSync("node_modules")) {
6868
ok("node_modules exists. Skipping yarn");
6969
}
7070

71-
// Use simple workbench
72-
note("copying workbench file");
73-
fs.copyFileSync(
74-
"../workbench.ts",
75-
"src/vs/code/browser/workbench/workbench.ts"
76-
);
77-
7871
// Compile
7972
note("starting compile");
8073
exec("yarn gulp vscode-web-min", { stdio: "inherit" });

demo/http.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

demo/index.html

Lines changed: 0 additions & 47 deletions
This file was deleted.

demo/product.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,23 @@
11
{
22
"name": "@solarspace-dev/vscode-web",
3-
"version": "1.92.0-2",
3+
"version": "1.100.0-solarspace.0",
44
"description": "Visual Studio Code for browser",
55
"files": [
66
"dist"
77
],
88
"scripts": {
9-
"build": "node build.js",
10-
"prepare-demo": "node prepare-demo.js",
11-
"demo": "node ./demo/http.js"
9+
"build": "node build.js"
1210
},
11+
"authors": ["Raoul Schaffranek"],
12+
"license": "MIT",
1313
"repository": {
1414
"type": "git",
1515
"url": "https://github.com/solarspace-dev/vscode-web.git"
1616
},
17-
"authors": [
18-
"Felix B",
19-
"Raoul Schaffranek"
20-
],
21-
"license": "MIT",
22-
"bugs": {
23-
"url": "https://github.com/solarspace-dev/vscode-web/issues"
24-
},
17+
"bugs": "https://github.com/solarspace-dev/vscode-web/issues",
2518
"homepage": "https://github.com/solarspace-dev/vscode-web#readme",
2619
"devDependencies": {
27-
"express": "^4.17.1",
2820
"fs-extra": "^9.0.1"
2921
},
30-
"dependencies": {},
3122
"packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
3223
}

prepare-demo.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

sample/http.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

sample/index.html

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)