From ba3f0bb5127fe369c1edc90854d80fe694ef2eef Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 7 Dec 2020 06:38:17 -0800 Subject: [PATCH] add initial codetour --- .tours/contributing.tour | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .tours/contributing.tour diff --git a/.tours/contributing.tour b/.tours/contributing.tour new file mode 100644 index 00000000..48b40bcf --- /dev/null +++ b/.tours/contributing.tour @@ -0,0 +1,42 @@ +{ + "$schema": "https://aka.ms/codetour-schema", + "title": "Contributing", + "steps": [ + { + "file": "src/node/app.ts", + "line": 11, + "description": "code-server's HTTP server is managed here." + }, + { + "file": "src/node/routes/apps.ts", + "line": 8, + "description": "Apps can be created to extend code-server. Here is the Express route that handles that.", + "selection": { + "start": { + "line": 4, + "character": 1 + }, + "end": { + "line": 8, + "character": 4 + } + } + }, + { + "file": "src/node/routes/vscode.ts", + "line": 21, + "description": "This is the Express route for VS Code." + }, + { + "file": "src/node/cli.ts", + "line": 28, + "description": "The `$ code-server` CLI is defined here. " + }, + { + "file": "ci/dev/vscode.patch", + "line": 1, + "description": "In v1 of code-server, we had a patch of VS Code that split the codebase into a front-end and a server. The front-end consisted of all UI code, while the server ran the extensions and exposed an API to the front-end for file access and all UI needs.\n\nOver time, Microsoft added support to VS Code to run it on the web. They have made the front-end open source, but not the server. As such, code-server v2 (and later) uses the VS Code front-end and implements the server. You can find this here." + } + ], + "ref": "master" +} \ No newline at end of file