Skip to content

Visual Studio Code, rebuilt in Rust

Rust

docs(readme): recount coverage on VS Code 1.148.0 after M16

rokartur8274911e9dfb
diff --git a/README.md b/README.md
index e321c3e79e5..83b7dd88166 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
![VSRustium with the VS Code source open, dark theme](port/assets/screenshot.png)
-VS Code 1.147.0 rebuilt as a native app in Rust on [GPUI](https://www.gpui.rs). The workbench, editor and services are Rust; extensions run unchanged in VS Code's own extension host, on Bun. Same look, keyboard, mouse, settings and extension API, checked part by part against the upstream source. Not a fork: this repository holds the port only, and VS Code is a plain checkout of its release tag that the build reads and never edits.
+VS Code 1.148.0 rebuilt as a native app in Rust on [GPUI](https://www.gpui.rs). The workbench, editor and services are Rust; extensions run unchanged in VS Code's own extension host, on Bun. Same look, keyboard, mouse, settings and extension API, checked part by part against the upstream source. Not a fork: this repository holds the port only, and VS Code is a plain checkout of its release tag that the build reads and never edits.
Builds for macOS and Linux; Windows is in progress.
@@ -42,13 +42,13 @@ Release builds of both with default settings and the same built-in extensions, A
## Coverage
<!-- coverage:start -->
-**434 of the 435 parts of VS Code 1.148.0 the port covers match upstream 1:1 (99%).** The other one works, with open gaps listed below. 155 more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).
+**435 of the 435 parts of VS Code 1.148.0 the port covers match upstream 1:1 (100%).** 155 more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).
```mermaid
%%{init: {"theme": "base", "themeVariables": {"pie1": "#2da44e", "pie2": "#d4a72c", "pie3": "#8c959f", "pieStrokeColor": "#ffffff", "pieOuterStrokeColor": "#ffffff", "pieSectionTextColor": "#ffffff", "pieLegendTextColor": "#8c959f", "pieTitleTextColor": "#8c959f"}}}%%
pie showData
- "Matches VS Code 1:1" : 434
- "Works, with open gaps" : 1
+ "Matches VS Code 1:1" : 435
+ "Works, with open gaps" : 0
"Left out on purpose" : 155
```
@@ -57,7 +57,7 @@ pie showData
| What | Matches 1:1 | With gaps | Left out | Done |
|---|---:|---:|---:|---|
| Platform services: files, configuration, keybindings, windows, updates | 69 | 0 | 43 | `████████████████████` 100% |
-| Workbench features: debug, Git, terminal, search, settings, extensions view | 70 | 1 | 33 | `███████████████████░` 98% |
+| Workbench features: debug, Git, terminal, search, settings, extensions view | 71 | 0 | 33 | `████████████████████` 100% |
| Workbench services: editors, views, layout, themes, storage | 65 | 0 | 30 | `████████████████████` 100% |
| Built-in extensions: languages, themes, Git, Markdown, npm | 89 | 0 | 6 | `████████████████████` 100% |
| Extension API: the calls extensions make into the editor | 59 | 0 | 31 | `████████████████████` 100% |
@@ -68,11 +68,9 @@ pie showData
| Whole-app checks: look, memory, no telemetry, Open VSX gallery | 5 | 0 | 0 | `████████████████████` 100% |
| Text editor core: model, view, cursor | 2 | 0 | 2 | `████████████████████` 100% |
| Port-only features: settings import from VS Code | 1 | 0 | 0 | `████████████████████` 100% |
-| **All** | **434** | **1** | **155** | `███████████████████░` 99% |
+| **All** | **435** | **0** | **155** | `████████████████████` 100% |
-"Matches 1:1" means upstream's tests or a named check against VS Code pass. Parts that work with open gaps, by gap count:
-
-`workbench/contrib/testing` 1.
+"Matches 1:1" means upstream's tests or a named check against VS Code pass. No part works with open gaps.
</details>
<!-- coverage:end -->
@@ -91,7 +89,7 @@ Left out on purpose: AI features, Microsoft services, telemetry, remote and tunn
Rust (stable), [Bun](https://bun.sh) 1.4.5 and Node.js 24:
```sh
-git clone --branch 1.147.0 --depth 1 https://github.com/microsoft/vscode upstream
+git clone --branch 1.148.0 --depth 1 https://github.com/microsoft/vscode upstream
(cd upstream && npx -y [email protected] install && npx -y [email protected] run compile)
bun port/tools/build-exthost
(cd native && cargo build --release -p app)