Skip to content

Visual Studio Code, rebuilt in Rust

Rust

docs(port): trim agent docs and cap ledger evidence (#4)

Artur Rok149a8553d3d0
diff --git a/.agents/skills/gpui-bench/SKILL.md b/.agents/skills/gpui-bench/SKILL.md
index b54eebe1bcb..e9d8ee7a4ad 100644
--- a/.agents/skills/gpui-bench/SKILL.md
+++ b/.agents/skills/gpui-bench/SKILL.md
@@ -34,7 +34,7 @@ Ask only for inputs that cannot be derived from the repository, issue, trace, or
- Do not use `TestAppContext`, deterministic test executors, reduced test-only CRDT settings, fake clocks, fake filesystems, or fake services merely because setup is easier.
- A narrow benchmark seam may simulate an external boundary such as a PTY, server, or filesystem event, but everything after that boundary should follow the production path.
- A performance fix should normally include or extend a benchmark that reproduces its problem. If it does not, explain why before implementing the fix.
-- Every benchmark or profile invocation run by an agent must have a hard timeout of at most five minutes. Use `timeout_ms <= 300000` with the terminal tool.
+- Every benchmark or profile invocation run by an agent must have a hard timeout of at most five minutes. Run it on the Studio (`port/tools/studio 'cd native && timeout 300 cargo bench ...'`), never on this machine.
- Run smoke and quick modes before measured runs. Never start an unbounded profile or Criterion run.
- Do not run measured benchmarks concurrently. Parallel benchmark processes contaminate each other's results.
- Preserve correctness assertions in benchmark fixtures. Faster output that loses work is not an improvement.
@@ -352,12 +352,12 @@ Do not treat a benchmark that only passes on the fixed branch as valid before un
## Profile with Instruments and xctrace
-Use the normal optimized `release-fast` build for benchmark timing. For attribution-focused profiling on macOS, build the exact target with linker deduplication disabled:
+Use the normal optimized `release` build for benchmark timing. For attribution-focused profiling on macOS, build the exact target with linker deduplication disabled:
```sh
RUSTFLAGS="-C link-arg=-Wl,-no_deduplicate -C codegen-units=1" \
cargo bench -p <package> --bench <target> \
- --features bench-support --profile release-fast --no-run
+ --features bench-support --release --no-run
```
These flags improve Rust symbol attribution but change code generation. Do not use that build for baseline timing numbers.
@@ -365,17 +365,17 @@ These flags improve Rust symbol attribution but change code generation. Do not u
Run `dsymutil` on the exact executable printed by Cargo:
```sh
-dsymutil target/release-fast/deps/<target>-<hash>
+dsymutil target/release/deps/<target>-<hash>
```
-Prefer the `zed-bench` Instruments template, which combines Time Profiler data, CPU counters, and hang or microhang tables. Fall back to `Time Profiler` if it is unavailable:
+Record with the `Time Profiler` template:
```sh
-rm -rf /tmp/zed-profiles/<name>.trace
+rm -rf /tmp/gpui-profiles/<name>.trace
xctrace record \
- --template "zed-bench" \
- --output /tmp/zed-profiles/<name>.trace \
- --launch -- target/release-fast/deps/<target>-<hash> \
+ --template "Time Profiler" \
+ --output /tmp/gpui-profiles/<name>.trace \
+ --launch -- target/release/deps/<target>-<hash> \
--bench <workload-filter> --profile-time 10
```
@@ -383,7 +383,7 @@ Running a Criterion executable directly requires `--bench`. `--profile-time` rep
Inspect the trace table of contents and export only focused tables such as `time-sample`; never load a complete `.trace` or large XML export into agent context. Filter by target PID, main thread when investigating foreground stalls, running state, and timer-fired samples. Symbolicate with the exact binary, dSYM, architecture, and load address using `atos`, then use `rustfilt` for Rust names.
-If the profile contains a large `<deduplicated_symbol>` bucket or implausible functions, stop treating its symbol-level attribution as actionable and recapture with `-Wl,-no_deduplicate`. Report both flat leaf and inclusive bottom-up profiles. Load the `xctrace-rust-profile` skill for the complete export and symbolication workflow.
+If the profile contains a large `<deduplicated_symbol>` bucket or implausible functions, stop treating its symbol-level attribution as actionable and recapture with `-Wl,-no_deduplicate`. Report both flat leaf and inclusive bottom-up profiles.
Trace bundles can contain process environments, paths, source, and credentials. Keep them local, inspect focused exports, and never paste raw trace metadata into a shared thread.
diff --git a/.agents/skills/gpui-test/SKILL.md b/.agents/skills/gpui-test/SKILL.md
index 3b4abac844a..5c5efad0f8d 100644
--- a/.agents/skills/gpui-test/SKILL.md
+++ b/.agents/skills/gpui-test/SKILL.md
@@ -1,7 +1,7 @@
---
name: gpui-test
description: >-
- Use when writing, debugging, or reproducing GPUI tests in Zed, including
+ Use when writing, debugging, or reproducing GPUI tests in the port (native/), including
gpui::test arguments, TestAppContext parameters, scheduler seeds,
ITERATIONS/SEED reproduction, parking failures, and pending task traces.
---
@@ -10,6 +10,8 @@ description: >-
Use this skill when the user asks about `#[gpui::test]`, GPUI test seeds or iterations, deterministic scheduler failures, parking/pending task failures, or how to reproduce a flaky GPUI test.
+Every command below runs on the Studio from `native/`: `port/tools/studio 'cd native && SEED=3 cargo test -q -p app <test_name> -- --nocapture'`. The port's GPUI is the vendored `native/vendor/wu/crates/gpui`.
+
## What `#[gpui::test]` does
`#[gpui::test]` expands to a normal Rust `#[test]`, so it runs under standard Rust test runners such as `cargo test` and `cargo nextest`.
diff --git a/.agents/skills/vscode-uplift/SKILL.md b/.agents/skills/vscode-uplift/SKILL.md
index 65069ec8358..aa001146c2c 100644
--- a/.agents/skills/vscode-uplift/SKILL.md
+++ b/.agents/skills/vscode-uplift/SKILL.md
@@ -20,7 +20,7 @@ Equal versions: report "VSRustium follows the newest release" and stop. Otherwis
## 3. Triage
-The **skip set** is everything the port leaves out by Artur's decisions: AI (chat, agents, agent host, sessions, Copilot, MCP, language models, inline chat, embeddings, speech), sign-in and accounts (authentication, GitHub sign-in), Settings Sync, remote and tunnels, Microsoft services (experiments, surveys, issue reporter), telemetry, and the integrated browser. The full list is in `port/notes.md` (the "Decision (Artur)" lines) and the "Decisions (Artur)" rows of `port/roadmap.md`.
+The **skip set** is everything the port leaves out by Artur's decisions: the "removed parts" row of the ledger's Work table (`rg -n '^\| Decisions' port/ledger.md`), with the reasons in the "Decision (Artur)" lines of `port/notes.md`.
Read the diff of every group except "removed by decision" (`git -C upstream diff <from> <to> -- <files>`) and give each change one verdict:
@@ -37,7 +37,7 @@ Done when every row and file of the tool's output, outside "removed by decision"
Write `port/plans/uplift-<from>-to-<to>.md`:
1. Summary: both versions, the tool's group counts, lines to port against lines skipped.
-2. Setup: check out `<to>` in `~/Developer/vscode-ref` on the Studio, compile it and its extensions (see `port/notes.md` "Reference"), refresh the pixel-check baseline and the api-tests reference numbers (`port/results/api-tests-reference.md`), `git -C upstream checkout <to>`, refresh `port/patches/` against it, bump `VERSION`, rerun `bun port/tools/gen-ledger.ts` for new rows.
+2. Setup: check out `<to>` in `~/Developer/vscode-ref` on the Studio, compile it and its extensions (the "Reference" line under Layout in `port/notes.md`), refresh the pixel-check baseline and the api-tests reference numbers (`port/results/api-tests-reference.md`), `git -C upstream checkout <to>`, refresh `port/patches/` against it, bump `VERSION`, rerun `bun port/tools/gen-ledger.ts` for new rows.
3. Work items grouped by milestone, each with its row, the change, the upstream files and the check that proves it (ui-pair, api-tests suite, cargo test).
4. Skipped: one line per skip-set area with its line count.
5. A session split: about 3000 changed lines to port per session, grouped by milestone so sessions touch different files.
diff --git a/AGENTS.md b/AGENTS.md
index 3d46206f766..70e9a4d28ae 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -1,16 +1,16 @@
# VSRustium agent instructions
-VSRustium is a Rust/GPUI port of VS Code 1.147.0 (README.md). Upstream VS Code is a checkout in `upstream/` (`VSCODE_SRC`) and is never edited: upstream changes the port needs are `port/patches/*.patch` and `port/product.json`.
+VSRustium is a Rust/GPUI port of VS Code 1.147.0 (README.md). Upstream VS Code is a checkout in `upstream/` (`VSCODE_SRC`), never edited: the upstream changes the port needs are `port/patches/*.patch` and `port/product.json`.
-Read before working:
+The port's state, about 1 MB: search it with `rg`, never read it whole.
-- `port/ledger.md`: the one source of truth for the port's state. Work: decisions, milestones with their "done when" checks, each with its status. Units: one row per upstream unit with its milestone, status, open gaps and the narrowest check that proves it. A gap leaves its cell and an item turns `done` in the commit that closes it; `bun port/tools/ledger-check.ts` checks the two tables agree.
-- `port/notes.md`: decisions, traps and findings per milestone; the ledger rows point here.
+- `port/ledger.md`, the one source of truth. Work table: decisions, milestones with their "done when" checks and status. Units table: one row per upstream unit with its milestone, status, open gaps and the narrowest check that proves it (`rg -n '^\| workbench/contrib/scm ' port/ledger.md`). A gap leaves its cell and an item turns `done` in the commit that closes it; `bun port/tools/ledger-check.ts` checks the two tables agree.
+- `port/notes.md`: decisions, traps and findings per milestone, reached from the ledger rows (`rg -n '^## ' port/notes.md` lists its sections).
Rules:
- Port 1:1: match upstream 1.147.0's behavior, look and tests, citing the upstream file. A difference is a decision in `port/notes.md` or a ledger row that is not `verified`.
-- Builds, tests and GUI runs go to the Studio through `port/tools/studio`; GUI tools through `--lane`.
+- Builds, tests and GUI runs go to the Studio: `port/tools/studio '<cmd>'`, GUI tools with `port/tools/studio --lane '<cmd>'`.
- Markdown: one paragraph per source line, no hard wrapping.
- UI labels use title-style capitalization, as upstream's.
- The repository is public: no credentials, personal data or internal links in code, commits or docs.
diff --git a/native/vscode_src.rs b/native/vscode_src.rs
index 5b8c4278894..a5403b0b7ef 100644
--- a/native/vscode_src.rs
+++ b/native/vscode_src.rs
@@ -1,4 +1,4 @@
-// The VS Code tree the port reads (roadmap milestone 22): $VSCODE_SRC (relative to the repo root), else upstream/.
+// The VS Code tree the port reads (milestone 22): $VSCODE_SRC (relative to the repo root), else upstream/.
// Included by the build scripts of app, diff, exthost and files, which export it as env!("VSCODE_SRC");
// port/tools/vscode-src.sh and port/tools/vscode-src.ts resolve it the same way.
fn emit_vscode_src() -> std::path::PathBuf {
diff --git a/port/fixtures/extensions/privacy-tests/tests/index.js b/port/fixtures/extensions/privacy-tests/tests/index.js
index 786429dbc4b..71fa6692920 100644
--- a/port/fixtures/extensions/privacy-tests/tests/index.js
+++ b/port/fixtures/extensions/privacy-tests/tests/index.js
@@ -1,4 +1,4 @@
-// Telemetry stays inert end to end (roadmap section 19): the API reports telemetry off, a telemetry logger never
+// Telemetry stays inert end to end (milestone 19): the API reports telemetry off, a telemetry logger never
// reaches its sender, and the telemetry and experimentation packages resolve to the host's inert modules.
const assert = require('assert');
const vscode = require('vscode');
diff --git a/port/fixtures/extensions/shell-tests/tests/index.js b/port/fixtures/extensions/shell-tests/tests/index.js
index 18337b4686a..f9e517b4587 100644
--- a/port/fixtures/extensions/shell-tests/tests/index.js
+++ b/port/fixtures/extensions/shell-tests/tests/index.js
@@ -1,4 +1,4 @@
-// Product shell round trips (roadmap section 19): MainThreadPower and MainThreadMeteredConnection answer the host
+// Product shell round trips (milestone 19): MainThreadPower and MainThreadMeteredConnection answer the host
// with what macOS reports, and the host sees the product's name, URL scheme and version.
const assert = require('assert');
const { execFileSync } = require('child_process');
diff --git a/port/ledger.md b/port/ledger.md
index 95afa6331bf..d7c75e6c715 100644
--- a/port/ledger.md
+++ b/port/ledger.md
@@ -10,7 +10,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,
|---|---|---|---|---|
| Decisions (Artur) | 1:1 rule | decided | Every milestone ships a feature end to end and 1:1 with VS Code 1.147.0: UI, keyboard and mouse, the main-thread side the extension host calls, persistence, same look and behavior, upstream logic and tests ported, checked against the reference. Fewer complete features beat more partial ones; a `shortcut:` is only for a missing platform capability or a product decision. | |
| Decisions (Artur) | mouse cursors | decided | Every element gets the cursor the reference CSS gives it (`rg 'cursor:' src/vs --glob '*.css'`): `pointer` on clickable items (activity bar, tabs, list rows, status bar items with a command, buttons, links), `text` over editor text and input fields, the resize cursors on sashes, `default` elsewhere. GPUI: `.cursor_pointer()`, `.cursor_text()`, `.cursor_ew_resize()` and the like on the element, never a window-wide cursor. | |
-| Decisions (Artur) | removed parts | decided | AI, Microsoft-service and telemetry parts and remote/tunnels are `removed` (41 rows); internal infrastructure and developer tools with no 1:1 counterpart (base/common, base/node, platform/instantiation, platform/observable, platform/webWorker, platform/gpu, platform/cssDev, editor/standalone, editor/contrib/gpu, workbench/contrib/screenshotTool) are `removed`, replaced by the native architecture; later: the integrated browser (`browserView`, `MainThreadBrowsers`) is `removed`, Simple Browser stays; the api-tests suites of removed features leave the milestone 20 target. | |
+| Decisions (Artur) | removed parts | decided | AI (chat, agents, agent host, sessions, Copilot, MCP, language models, inline chat, embeddings, speech), sign-in and accounts (authentication, GitHub sign-in), Settings Sync, Microsoft services (experiments, surveys, issue reporter), telemetry and remote/tunnels are `removed` (41 rows), their extension API kept inert; internal infrastructure and developer tools with no 1:1 counterpart (base/common, base/node, platform/instantiation, platform/observable, platform/webWorker, platform/gpu, platform/cssDev, editor/standalone, editor/contrib/gpu, workbench/contrib/screenshotTool) are `removed`, replaced by the native architecture; later: the integrated browser (`browserView`, `MainThreadBrowsers`) is `removed`, Simple Browser stays; the api-tests suites of removed features leave the milestone 20 target. | |
| Decisions (Artur) | n/a parts | decided | Upstream test infrastructure (`base/test`, `editor/test`, `platform/test`, `workbench/services/driver`) and the Electron process, IPC and DOM layers (`base/browser` `base/parts` `platform/domWidget` `platform/ipc` `platform/protocol` `platform/sandbox` `platform/sharedProcess` `platform/utilityProcess`) are `n/a`. | |
| Decisions (Artur) | sharedProcess and utilityProcess services | done | `workbench/services/sharedProcess` and `workbench/services/utilityProcess` are not `n/a` (Artur); documented 1:1 by what replaces each channel. | port/notes.md milestone 20 |
| Decisions (Artur) | Windows signing | done | Milestone 24 ships unsigned: no Authenticode certificate; SmartScreen warns on first run. | |
@@ -122,7 +122,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,
## Units
-One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; milestone, status, gaps and evidence are edited by hand and kept on rerun. Status: `todo` (not started), `stub` (answers without the real behavior), `ported` (behavior written, open gaps listed), `verified` (upstream tests or the named check pass, no open class 3 gap), `removed` (left out by a product decision, see port/notes.md), `n/a` (no counterpart in a native app). Gaps, separated by `<br>`: `[class size] where: what`. Class: 1 stale (prove with a named test, drop the comment), 2 platform limit (Artur accepts it with one line in port/notes.md "Accepted platform differences"), 3 behavior gap vs 1.147.0 (port 1:1 with a fail-without-fix test), scheduling (accepted only with a measured same result and typing on a 50k-line TS file under 16 ms per edit, otherwise class 3), linux (a macOS feature the Linux build lacks, with what Linux shows instead). Size: S, M, L. A `ported` row has at least one gap and an open class 3 gap keeps its row `ported`; a gap leaves the cell in the commit that closes it, and the row turns `verified` with its check when the last class 3 gap goes. Evidence names the narrowest check that can fail on the row.
+One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; milestone, status, gaps and evidence are edited by hand and kept on rerun. Status: `todo` (not started), `stub` (answers without the real behavior), `ported` (behavior written, open gaps listed), `verified` (upstream tests or the named check pass, no open class 3 gap), `removed` (left out by a product decision, see port/notes.md), `n/a` (no counterpart in a native app). Gaps, separated by `<br>`: `[class size] where: what`. Class: 1 stale (prove with a named test, drop the comment), 2 platform limit (Artur accepts it with one line in port/notes.md "Accepted platform differences"), 3 behavior gap vs 1.147.0 (port 1:1 with a fail-without-fix test), scheduling (accepted only with a measured same result and typing on a 50k-line TS file under 16 ms per edit, otherwise class 3), linux (a macOS feature the Linux build lacks, with what Linux shows instead). Size: S, M, L. A `ported` row has at least one gap and an open class 3 gap keeps its row `ported`; a gap leaves the cell in the commit that closes it, and the row turns `verified` with its check when the last class 3 gap goes. Evidence names the narrowest check that can fail on the row: files, test filters and ui-pair fixtures, at most 2000 characters; the story behind them goes to port/notes.md.
| id | area | milestone | status | gaps | evidence |
|----|------|-----------|--------|------|----------|
@@ -144,10 +144,10 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| mainthread/MainThreadDiaglogs | MainThread* shape (Rust side) | M11 | verified | | workbench/file_dialogs.rs: `$showOpenDialog`, `$showSaveDialog` (mainThreadDialogs.ts option conversion, default paths) on the native panels of file_dialog.rs; cargo test -p app file_dialog; verified: ui-pair messages.json `open-dialog`, dialogs.json `save-dialog` vs the reference (port/results/windows.md, milestone 11 verification): the same NSOpenPanel and NSSavePanel sheets |
| mainthread/MainThreadDecorations | MainThread* shape (Rust side) | M11 | verified | | workbench/file_decorations.rs: $registerDecorationProvider, $unregisterDecorationProvider, $onDidChange; `$provideDecorations` batched per provider each frame; cargo test -p app decorations; verified: ui-pair messages.json vs the reference (port/results/windows.md, milestone 11 verification): the extension's red "P" decoration on package.json |
| mainthread/MainThreadDocumentContentProviders | MainThread* shape (Rust side) | M12 | verified | | main_thread.rs keeps the registrations and opens provider URIs through $provideTextDocumentContent; host_requests.rs applies $onVirtualDocumentChange as one edit (no minimal edits): api-tests MOCHA_GREP="vscode API - workspace" 94/2/13, all 8 content provider tests pass; verified: api-tests MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" at 44a309311e1: every workspace, workspace-fs, workspace events, workspace-watcher and file system test passes, api-workspace 4/0/0 (port/results/api-tests.md "M12 verification"), all content provider tests |
-| mainthread/MainThreadDocuments | MainThread* shape (Rust side) | M8 | verified | | host_sync.rs sends model opened, changed, dirty and saved; host_requests.rs answers $tryOpenDocument, $tryCreateDocument and $trySaveDocument with encodings, save participants, extension file system providers and casing, models kept 3 minutes after the host lets go: `vscode API - editors` 13/0/0, `vscode API - workspace` 84/2/0 (the 2 upstream skips) and `workspace events` 10/0/0 in the port/tools/api-tests whole folder suite without removed features and notebooks (port/results/api-tests.md, milestone 20 sweep); vscode://defaultsettings and vscode://schemas documents: port/tools/settings-check preferences; host_sync.rs sends model opened, changed, dirty and saved; host_requests.rs answers $tryOpenDocument (file and extension file system provider URIs) and $trySaveDocument, models kept 3 minutes after the host lets go: api-tests MOCHA_GREP="vscode API - editors" 13/0/0; $tryCreateDocument and untitled URIs with a path, save participants before $trySaveDocument: api-tests MOCHA_GREP="vscode API - workspace" 94/2/13; encodings (open with options.encoding, $resolveDecoding, $resolveEncoding): same grep 102/2/5; saves to extension file system providers ($save, $saveAll, save commands): same grep 105/2/2; casing opened first for case-insensitive providers: same grep 106/2/1; vscode://defaultsettings and vscode://schemas documents: port/tools/settings-check preferences |
+| mainthread/MainThreadDocuments | MainThread* shape (Rust side) | M8 | verified | | host_sync.rs, host_requests.rs: port/tools/api-tests whole folder suite, `MOCHA_GREP="vscode API - editors"` 13/0/0, `MOCHA_GREP="vscode API - workspace"` 84/2/0 (the 2 upstream skips), `workspace events` 10/0/0 (port/results/api-tests.md, milestone 20 sweep); `port/tools/settings-check preferences` (vscode://defaultsettings and vscode://schemas documents) |
| mainthread/MainThreadBulkEdits | MainThread* shape (Rust side) | M12 | verified | | file edits of workspace.applyEdit (api-tests: rename & ignoreIfExists, delete & ignoreIfNotExists, #111867 1/3 to 3/3, binary files pass); text edits and EOL changes through workbench/bulk_text_edits.rs, api-tests MOCHA_GREP="vscode API - workspace" 94/2/13 with every applyEdit test passing; cell edits go to the notebook models (api-tests notebook.document `workspace edit API` cases pass, milestone 17); an edit that needs confirmation waits in the Refactor Preview, `false` for no edits (port/resul [... omitted end of long line]; file edits of workspace.applyEdit (api-tests: rename & ignoreIfExists, delete & ignoreIfNotExists, #111867 1/3 to 3/3, binary files pass); text edits and EOL changes through workbench/bulk_text_edits.rs, api-tests MOCHA_GREP="vscode API - workspace" 94/2/13 with every applyEdit test passing; cell edits fail until milestone 13; an edit that needs confirmation waits in the Refactor Preview, `false` for no edits (port/results/refactor-preview.md) |
-| mainthread/MainThreadTextEditors | MainThread* shape (Rust side) | M8 | verified | | notebook cells reach the host while a cell list template holds their model (rowCache.ts, listView.ts `render`; markup cells in edit mode): cargo test -p app the_host_sees_the_code_editors_of_the_rendered_cells cell_list_editors_follow_the_rendered_rows; options report the line numbers each editor draws (off in an output, a cell and zen mode) and send when they change: cargo test -p app set_options_apply_the_cursor_style_and_line_numbers; host_requests.rs answers $tryShowTextDocument, $tryShowEditor, $tryHideEditor (cargo test -p app text_editor_show_and_hide), $trySetSelections, $tryRevealRange, $trySetOptions, $tryApplyEdits, $tryInsertSnippet; `$acceptEditorDiffInformation` and `$getDiffInformation` from each visible text file's quick diffs and the diff editor's changes (workbench/editor_view/quick_diff.rs; cargo test -p app quick_diff_contributed); visible ranges and options reach the host: api-tests MOCHA_GREP="vscode API - editors" 13/0/0, window text editor tests without view columns pass; every selection and snippet range applies; view columns pick or add editor groups and `$acceptEditorPositionData` follows group changes since milestone 11; `_workbench.open` and `_workbench.diff` take their view column and read file system provider resources: api-tests `MOCHA_GREP="vscode API - window"` 40/0/0 since the notebook model (milestone 17), port/results/api-tests.md; host_requests.rs answers $tryShowTextDocument, $trySetSelections, $tryRevealRange, $trySetOptions, $tryApplyEdits, $tryInsertSnippet; visible ranges and options reach the host: api-tests MOCHA_GREP="vscode API - editors" 13/0/0, window text editor tests without view columns pass; every selection and snippet range applies; view columns pick or add editor groups and `$acceptEditorPositionData` follows group changes since milestone 11; `_workbench.open` and `_workbench.diff` take their view column and read file system provider resources: api-tests `MOCHA_GREP="vscode API - window"` 39/0/1, the failing one `openNotebookDocument` (milestone 17), port/results/api-tests.md |
-| mainthread/MainThreadTreeViews | MainThread* shape (Rust side) | M11 | verified | | workbench/tree_view.rs: $registerTreeViewDataProvider (showCollapseAll's Collapse All, canSelectMany, manuallyManageCheckboxes, the drag and drop mime types), tree item checkboxes (checkbox.ts `TreeItemCheckbox`, `setCascadingCheckboxUpdates` and `findCheckboxesUpdated` unless `manuallyManageCheckboxes`, `$changeCheckboxState`; cargo test -p app a_checkbox_click_sends_the_changed_states_and_selects_the_row a_checkbox_cascades_to_its_children_and_its_parent_follows_them), `$hasResolve` and `$resolve` (the hover's "Loading..." replaced by the resolved tooltip, a click resolving the command first; cargo test -p app an_item_resolves_its_tooltip_on_hover_and_its_command_on_click), drag and drop between rows (`CustomTreeViewDragAndDrop`: `$handleDrag` per operation, `$releaseDragOperation`, `$handleDrop` with the tree's own mime type and the drag's data; cargo test -p app a_row_dragged_onto_another_sends_handle_drag_then_handle_drop); ui-pair port/fixtures/extensions/ui-tree-checkbox.json with `ARGS=--extensionDevelopmentPath=<abs>/port/fixtures/extensions/tree-checkbox`: the boxes, the cascade, the hover's Loading... then Resolved Carrot and Carrot dropped under Fruits match the reference; $refresh, $reveal (parents, select, focus, expand levels), $setMessage (a string as text; a MarkdownString as paragraphs, its lone links as buttons with their `$(icon)`s, secondary after a button, disabled by the command's enablement), $setTitle, $setBadge, $disposeTree; `$getChildren`, `$setExpanded`, `$setSelectionAndFocus`, `$setVisible`, `onView:` activation; label highlights, `description: true` as the relative folder; views of every container (workbench/view_containers.rs); cargo test -p app tree_view custom_tree; ui-pair port/results/references-view.md; verified: api-tests `MOCHA_GREP="vscode API - window|vscode API - tree"`: api-folder 43 passing, 0 pending, 1 failing (`Tabs - Ensure tabs getter is correct`, openNotebookDocument: notebooks are milestone 17) (tree.test.ts all pass); ui-pair port/results/references-view.md (milestone 11 verification) |
+| mainthread/MainThreadTextEditors | MainThread* shape (Rust side) | M8 | verified | | host_requests.rs, workbench/editor_view/quick_diff.rs: cargo test -p app the_host_sees_the_code_editors_of_the_rendered_cells cell_list_editors_follow_the_rendered_rows set_options_apply_the_cursor_style_and_line_numbers text_editor_show_and_hide quick_diff_contributed; api-tests `MOCHA_GREP="vscode API - editors"` 13/0/0, `MOCHA_GREP="vscode API - window"` 40/0/0 (port/results/api-tests.md) |
+| mainthread/MainThreadTreeViews | MainThread* shape (Rust side) | M11 | verified | | workbench/tree_view.rs, workbench/view_containers.rs: cargo test -p app tree_view custom_tree; api-tests `MOCHA_GREP="vscode API - window|vscode API - tree"` 43/0/1 (the 1 a notebook test, milestone 17; tree.test.ts all pass); ui-pair port/fixtures/extensions/ui-tree-checkbox.json with `ARGS=--extensionDevelopmentPath=<abs>/port/fixtures/extensions/tree-checkbox`; port/results/references-view.md |
| mainthread/MainThreadDownloadService | MainThread* shape (Rust side) | M18 | verified | | `_workbench.downloadResource` copies a file, fetches a URL and rejects a 404 with the upstream message: port/tools/extensions-check; session.rs answers undefined |
| mainthread/MainThreadErrors | MainThread* shape (Rust side) | M6 | verified | | main_thread_errors.rs: `$onUnexpectedError` goes through log.ts `createUnexpectedErrorHandler` (the stack, or `toErrorMessage`; the same text again within 1000 ms dropped) to the Window log; the session still prints it on stderr (cargo test -p app output::logger main_thread_errors: log.test.ts cases); session.rs writes `$onUnexpectedError` stacks to the port log (code-gpui stderr); seen in port/tools/api-tests api-folder.log |
| mainthread/MainThreadConsole | MainThread* shape (Rust side) | M6 | verified | | main_thread_errors.rs: `$logExtensionHostMessage` as remoteConsoleUtil.ts: `logRemoteEntryIfError` (errors, `[Extension Host]` label) in a normal window, `logRemoteEntry` (every entry, no label) in an extension test run, to the Window log; console.rs prints it on stderr as the reference main process does (cargo test -p app main_thread_errors; api-tests editors run: renderer.log carries the mocha lines); console.rs formats `$logExtensionHostMessage` like util.format to the port log; cargo test -p exthost console tests; mocha spec output in port/tools/api-tests logs |
@@ -166,14 +166,14 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| mainthread/MainThreadEditorTabs | MainThread* shape (Rust side) | M8 | verified | | host_sync.rs sends $acceptTabOperation per tab change (cargo test -p app host_sync); $moveTab in a group (pins the tab, an index past the tabs moves it last) and across view columns at the host's index, a column past the last adding a group, $closeTab and $closeGroup through the save prompt, group by group in every named group, answering whether every tab closed (workbench/actions.rs): cargo test -p app the_host_moves_and_closes_tabs the_host_closes_tabs_and_groups_in_every_named_group; `vscode API - window` `Tabs - Ensure tabs getter is correct` passes with notebooks (port/results/api-tests.md, milestone 17); the upstream window.test.ts Move Tab and Close Tabs tests are commented out |
| mainthread/MainThreadWebviews | MainThread* shape (Rust side) | M17 | verified | | api-tests `MOCHA_GREP="vscode API - webview"` webview.test passes as in the reference (625 local resources, postMessage both ways); cargo test -p app webview; `FIXTURE=webview-tests port/tools/webview-check` 7 upstream webview.test cases (ArrayBuffer and typed array messages, `vscode:` links) pass in reference and port |
| mainthread/MainThreadWebviewPanels | MainThread* shape (Rust side) | M17 | verified | | workbench/webview_panels.rs: create and reveal by view column in editor groups, dispose, title, view states per group, release on hide, first-load message queue, WebviewEditorInput tab; `FIXTURE=webview-tests port/tools/webview-check` 7/7 in reference and port; api-tests `MOCHA_GREP="vscode API - webview"` 1 passing (625 local resources); cargo test -p app webview_panels; panels with a serializer persist in the editor state (webviewEditorInputSerializer.ts) and revive with `onWebviewPanel:` activation and `$deserializeWebviewPanel` once shown: cargo test -p app panels_with_a_serializer, ui-pair `port/fixtures/ui-steps/webview-panel-restore.json` (markdown preview after Cmd+Q and Reload Window, port/results/webviews.md) |
-| mainthread/MainThreadCustomEditors | MainThread* shape (Rust side) | M17 | verified | | customTextEditorNavigation (workbench/custom_editors.rs, outline_pane.rs): `$resolveCustomTextEditorNavigation` after `$resolveCustomEditor`, `$onDidChangeCustomTextEditorSelection` (a change while resolving wins), the outline and breadcrumbs of a custom text editor only once resolved and following its selection, `$revealCustomTextEditorRange` from a symbol click and from `options.selection`, `$disposeCustomTextEditorNavigation` when the host answers none or the provider unregisters: cargo test -p app a_custom_text_editor_s_navigation_drives_the_outline; `$captureCustomTextEditorViewState` has no caller, since its one consumer, the breadcrumbs picker's preview, is not in the port, and WebviewEditor has no `onDidChangeSelection`, so navigation history never reads the selection; workbench/custom_editors.rs: text and custom editor providers, $createCustomDocument then $resolveCustomEditor (`openWith` answers once the editor resolved), moves, undo through the text model, dirty and save: `FIXTURE=custom-editor-tests port/tools/webview-check` (upstream customEditor.test.ts, removed in bbe7b54cf4d) 8/8, cargo test -p app custom_editors; editable custom documents' $onDidEdit, $onContentChange, $undo, $redo, $disposeEdits, $onSave, $onSaveAs, $revert, $backup (workbench/custom_documents.rs): `FIXTURE=custom-document-tests port/tools/webview-check` 4/4, cargo test -p app custom_documents; Save As and the restore of a dirty custom document from its hot exit backup: port/tools/custom-document-pair, same files written and the same restored dirty editor as the reference (port/notes.md milestone 20); workbench/custom_editors.rs: text and custom editor providers, $createCustomDocument, $resolveCustomEditor, moves, undo through the text model, dirty and save; `FIXTURE=custom-editor-tests port/tools/webview-check` (upstream customEditor.test.ts, removed in bbe7b54cf4d) passes 8/8 on the port; cargo test -p app custom_editors; editable custom documents' $onDidEdit, $onContentChange, $undo, $redo, $disposeEdits, $onSave, $onSaveAs, $revert, $backup (workbench/custom_documents.rs: cargo test -p app custom_documents); `FIXTURE=custom-editor-tests port/tools/webview-check` (upstream customEditor.test.ts, removed in bbe7b54cf4d) passes 8/8 on the port; cargo test -p app custom_editors |
+| mainthread/MainThreadCustomEditors | MainThread* shape (Rust side) | M17 | verified | | workbench/custom_editors.rs, workbench/custom_documents.rs, outline_pane.rs: cargo test -p app custom_editors custom_documents a_custom_text_editor_s_navigation_drives_the_outline; `FIXTURE=custom-editor-tests port/tools/webview-check` 8/8 (upstream customEditor.test.ts); `FIXTURE=custom-document-tests port/tools/webview-check` 4/4; port/tools/custom-document-pair (Save As and hot exit restore as the reference). `$captureCustomTextEditorViewState` has no caller in the port (port/notes.md milestone 20) |
| mainthread/MainThreadWebviewViews | MainThread* shape (Rust side) | M17 | verified | | workbench/webview_views.rs: $registerWebviewViewProvider, $unregisterWebviewViewProvider, title, description, $show, state in the view memento, `<id>.focus`; `FIXTURE=webview-view-tests port/tools/webview-check` 5/5 on the reference and the port. Views only in the Explorer container until view containers land (milestone 11) |
| mainthread/MainThreadManagedSockets | MainThread* shape (Rust side) | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
| mainthread/MainThreadBrowserTunnelProxy | MainThread* shape (Rust side) | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
| mainthread/MainThreadNotebook | MainThread* shape (Rust side) | M17 | verified | | verified (session m17d): api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); cargo test -p app -- notebook kernel renderer interactive repl outline 288/0; workbench/notebooks.rs: serializers ($registerNotebookSerializer with registration data, onNotebookSerializer activation), `_executeDataToNotebook`, `_executeNotebookToData`, `_resolveNotebookContentProvider`: api-tests `MOCHA_GREP="Notebook|Ensure tabs getter"` 40/8/0 as the reference (the 8 pending are upstream `test.skip`), port/results/api-tests.md; cell status bar item providers drawn in the cells' status bars with the built-in execution items (workbench/notebook_status_bar.rs): cargo test -p app contributed_cell_status_items_follow_their_provider |
| mainthread/MainThreadNotebookEditors | MainThread* shape (Rust side) | M17 | verified | | verified (session m17d): api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); $tryRevealRange scrolls the list through the list scroll path (cargo test -p app the_notebook_list_scrolls_beyond_its_last_cell_with_the_wheel); $tryShowNotebookDocument (view columns, pinned, selections), $trySetSelections, the editors delta with the focused cell as the active text editor and every cell a visible one (milestone 17 notebook editor): api-tests `MOCHA_GREP="Notebook|Ensure tabs getter"` 40/8/0 as the reference (the 8 pending are upstream `test.skip`), port/results/api-tests.md. $tryRevealRange scrolls the cell list (`reveal_notebook_cells`, all four reveal types). The upstream `Notebook Editor` suite is skipped |
| mainthread/MainThreadNotebookDocuments | MainThread* shape (Rust side) | M17 | verified | | $tryCreateNotebook, $tryOpenNotebook, $trySaveNotebook, cell edits of workspace edits (bulkCellEdits.ts), dirty and saved events: api-tests `MOCHA_GREP="Notebook|Ensure tabs getter"` 40/8/0 as the reference (the 8 pending are upstream `test.skip`), port/results/api-tests.md; cargo test -p app notebook |
-| mainthread/MainThreadNotebookKernels | MainThread* shape (Rust side) | M17 | verified | | verified (session m17d): api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); MRU kernel picker with Install/Enable suggested and Browse marketplace: cargo test -p app the_kernel_picker_recommends_groups_and_remembers_kernels, ui-pair m17/notebook-kernel-picker.json matches the reference (/tmp/m17f). The Notebook Variables view stays out (experimental, off by default); kernels, notebook bindings and auto-bind, priorities, cell executions (create, update, complete, cancel on delete), notebook.execute, notebook.cell.execute, _notebook.selectKernel with an id: api-tests `MOCHA_GREP="Notebook|Ensure tabs getter"` 40/8/0 as the reference (the 8 pending are upstream `test.skip`), port/results/api-tests.md; cargo test -p app notebook::kernels; kernel picker (`notebook.selectKernel`, the flat strategy) and `$postMessage` to the notebook editors' webviews (workbench/notebook_editor.rs, milestone 17). kernel preloads in the back layer webview (`load_kernel_preloads`), `_executeNotebookVariableProvider` over `$provideVariables`/`$receiveVariable` (cargo test -p app the_variable_provider_command). Not done: the picker's marketplace items (milestone 18), the Notebook Variables view (experimental, off by default), kernel detection tasks and source actions (answered, unused) |
+| mainthread/MainThreadNotebookKernels | MainThread* shape (Rust side) | M17 | verified | | workbench/notebook_editor.rs, workbench/kernel_picker.rs: api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row, `MOCHA_GREP="Notebook|Ensure tabs getter"` 40/8/0 as the reference (the 10 pending are upstream skips; port/results/api-tests.md); cargo test -p app notebook::kernels the_kernel_picker_recommends_groups_and_remembers_kernels the_variable_provider_command; ui-pair m17/notebook-kernel-picker.json. Left out: the Notebook Variables view (experimental, off by default) |
| mainthread/MainThreadNotebookRenderers | MainThread* shape (Rust side) | M17 | verified | | verified (session m17d): `onRenderer:` activation before the first message (cargo test -p app renderer_messages_wait_for_the_renderer_activation); api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); `$postMessage` posts `customRendererMessage` to the back layer webview of the editor (or every notebook editor), true when one took it; renderer messages from the webview go to `$postRendererMessage` (workbench/notebook_editor.rs). Not done: `onRenderer:` activation before the first message |
| mainthread/MainThreadInteractive | MainThread* shape (Rust side) | M17 | verified | | verified (session m17d): cargo test -p app the_interactive_window; api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); ui-pairs m17/interactive-window.json and m17/interactive-restart.json (interactive and repl) match the reference (/tmp/m17f); The shape has no main-thread methods; the workbench calls ExtHostInteractive `$willAddInteractiveDocument`/`$willRemoveInteractiveDocument` as the interactive window's input opens and goes (interactive.rs): cargo test -p app the_interactive_window |
| mainthread/MainThreadSpeech | MainThread* shape (Rust side) | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
@@ -189,7 +189,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| mainthread/MainThreadUriOpeners | MainThread* shape (Rust side) | M12 | verified | | workbench/opener.rs: $registerUriOpener/$unregisterUriOpener, onOpenExternalUri:<scheme> activation, $canOpenUri priorities, chooser prompt, failure notification with "Open using default opener"; cargo test -p app opener; verified at port-m12b-verify: cargo test -p app opener 4/4 |
| mainthread/MainThreadChatOutputRenderer | MainThread* shape (Rust side) | | removed | | no sign-in/AI by decision (port/notes.md); API stays inert: session.rs answers undefined, list getters []; exthost-probe 30/30 on Bun and Node |
| mainthread/MainThreadProfileContentHandlers | MainThread* shape (Rust side) | M10 | removed | | its only caller is configuration-editing's GitHub gist export of profiles, which needs sign-in (no sign-in by decision); profiles export to a local `.code-profile` file (workbench/contrib/userDataProfile row) |
-| mainthread/MainThreadWorkspace | MainThread* shape (Rust side) | M12 | verified | | $resolveProxy (session proxy, else the system settings with their PAC script run, as a PAC result) and $lookupKerberosAuthorization (GSS `Negotiate` token): exthost/src/request/macos.rs, workbench/proxy_auth.rs, cargo test -p exthost request::; main_thread_workspace.rs serves $startFileSearch and $startTextSearch through ripgrep over every workspace folder: api-tests workspace.test findFiles, findFiles2, findTextInFiles and their cancellation tests pass (11/11); multi-root workspace data: api-workspace 4/4; $requestWorkspaceTrust (startup or request dialog, concurrent callers queued) and $isResourceTrusted answer from workspace_trust.rs, $initializeWorkspace sends the window's trust; $updateWorkspaceFolders (workbench/workspace_editing.rs: the status message, folders written to the workspace file or a new untitled workspace entered, $acceptWorkspaceData and the session's search folders after): cargo test -p app workspace_editing, ui-pair port/fixtures/ui-pair/m12/workspace-folders.json api-tests MOCHA_GREP="vscode API - workspace": api-folder 107 passing, 2 pending, 0 failing, api-workspace 4/4 (verified at port-m12b-verify); $checkExists answers undefined (workspaceContains is checked on the session thread) |
+| mainthread/MainThreadWorkspace | MainThread* shape (Rust side) | M12 | verified | | main_thread_workspace.rs, workspace_trust.rs, workbench/workspace_editing.rs, workbench/proxy_auth.rs, exthost/src/request/macos.rs: cargo test -p exthost request::; cargo test -p app workspace_editing; api-tests `MOCHA_GREP="vscode API - workspace"` api-folder 107/2/0, api-workspace 4/4 (findFiles, findFiles2, findTextInFiles 11/11); ui-pair port/fixtures/ui-pair/m12/workspace-folders.json |
| mainthread/MainThreadFileSystem | MainThread* shape (Rust side) | M12 | verified | | `vscode://defaultsettings` reads and stats through workspace.fs ask the workbench for `getDefaultSettingsContent` (cargo test -p exthost settings_file_system, -p app the_extension_host_reads_default_settings_from_the_workbench). Provider calls wait for the reply as upstream (`Session::request` with no timeout). api-tests workspace.fs.test 12/12 passing (main_thread_files.rs over files::disk and extension providers) |
| mainthread/MainThreadFileSystemEventService | MainThread* shape (Rust side) | M12 | verified | | FSEvents watcher of the folder, extension watchers and provider changes reach $onFileEvent (cargo test -p files); file operation participants with files.participants.timeout: workspace.event.test 6/10, the 4 others need text documents (milestone 8); the "wants to make refactoring changes" dialog, its profile memento and files.participants.resetChoice (cargo test -p app file_participants, ui-pair with a parti [... omitted end of long line] |
| mainthread/MainThreadLabelService | MainThread* shape (Rust side) | M12 | removed | | only workspace.registerResourceLabelFormatter calls it, behind the resolvers proposal that only remote resolvers enable; no remote by decision (port/notes.md); the call answers undefined |
@@ -260,7 +260,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/encryption | src/vs/platform | M10 | removed | | the port keeps secrets as Keychain items (MainThreadSecretState row, port/notes.md), so there is no safeStorage key to encrypt with |
| platform/endpoint | src/vs/platform | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
| platform/environment | src/vs/platform | M10 | verified | | port/tools/settings-check environment: the paths and values init data carries match the reference except appName, uriScheme, machineId format and isTelemetryEnabled (product and no-telemetry decisions); argv.ts and argvHelper.ts are ported in argv.rs (`OPTIONS`, minimist parsing, `parseArgs`, `--goto` validation, help and version text), which cli.rs and `start_open_window` parse with (cargo test -p app argv:: : parses_the_command_line_as_upstream_argv, help_matches_upstream_text, goto_mode_validates_its_arguments); stdin.ts piped input decoded from the terminal encoding (resolveTerminalEncoding: cargo test -p app cli::); userDataPath.ts and the Electron main environment are replaced by main.rs's flags (`--user-data-dir`, `--extensions-dir`, `--profile`, `--profile-temp`, `--extensionDevelopmentPath`, `--extensionTestsPath`); copilotHome removed (no AI by decision) |
-| platform/extensionManagement | src/vs/platform | M18 | verified | | extensionsWatcher.ts: the workbench watches the profile's `extensions.json` and starts and stops what another source installed or uninstalled (cargo test -p app extensions_installed_by_another_source_start_and_stop; port/tools/extensions-check `the CLI installs into the running window and uninstalls from it`). zip64 VSIX read as yauzl does (cargo test -p exthost zip::tests::reads_zip64_records_and_extended_information). VSIX and gallery install, update, uninstall and clean-up on disk (extensionsScannerService.ts, extensionsProfileScannerService.ts layout): cargo test -p exthost extension_management, zip; PORT_GALLERY=1 port/tools/extensions-check 6 ok (an ESM VSIX and redhat.vscode-yaml from Open VSX activate without restart); the extracted package.json is written as `JSON.stringify(manifest, null, '\t')`, strings untouched (cargo test -p exthost keeps_double_spaces_in_manifest_strings; port/tools/update-check pre-release installs the rust-analyzer pre-release, whose setting descriptions have two spaces in a row). The CLI (cliProcessMain.ts, extensionManagementCLI.ts): cli_process.rs runs `--list-extensions` (`--show-versions`, `--category`), `--install-extension` (ids, `id@version`, VSIX paths, `--force`, `--pre-release`), `--uninstall-extension`, `--update-extensions`, `--locate-extension` and `--install-source` with `--profile`, and exits without a window; a built-in is located and refused uninstalling, downloads follow `extensions.verifySignature` (cargo test -p app cli::tests::uninstall_extension_runs_in_the_cli_without_the_app cli_process::; `getAllDepsAndPackExtensions` for CLI, workbench gallery and workbench VSIX installs (a VSIX whose lookup fails installs alone): cargo test -p exthost dependencies_and_packs_come_along_recursively, cargo test -p app workbench::extension_management::tests, and the release CLI installs ms-python.isort with ms-python.python and its pack; the release binary as bin/code starts it installs, updates, lists, locates and uninstalls Open VSX extensions and a VSIX) |
+| platform/extensionManagement | src/vs/platform | M18 | verified | | exthost extension_management, cli_process.rs, workbench/extension_management.rs: cargo test -p exthost extension_management zip keeps_double_spaces_in_manifest_strings dependencies_and_packs_come_along_recursively; cargo test -p app extensions_installed_by_another_source_start_and_stop cli::tests::uninstall_extension_runs_in_the_cli_without_the_app cli_process:: workbench::extension_management::tests; PORT_GALLERY=1 port/tools/extensions-check 6 ok; port/tools/update-check pre-release; the release bin/code installs, updates, lists, locates and uninstalls Open VSX extensions and a VSIX |
| platform/extensionRecommendations | src/vs/platform | M18 | verified | | recommendation reasons and the workspace prompt text (extensionRecommendations.ts, extensionRecommendationNotificationService.ts): cargo test -p app recommendation; ui-pair port/fixtures/extensions/ui-recommendations.json (prompt, Recommended view) against the reference |
| platform/extensionResourceLoader | src/vs/platform | M18 | verified | | installed extensions' README, changelog and icon read from disk, gallery ones from their asset URIs (Open VSX has no `resourceUrlTemplate`): ui-pair port/fixtures/extensions/ui-view.json `details` shows the yaml README as the reference |
| platform/extensions | src/vs/platform | M18 | verified | | extensionValidator.ts with the cases of extensionValidator.test.ts: cargo test -p exthost extension_validator; installs validated in PORT_GALLERY=1 port/tools/extensions-check; built-in extensions are not validated yet |
@@ -272,7 +272,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/globalKeybindings | src/vs/platform | M9 | verified | | system_wide_keybindings.rs GlobalShortcuts over Carbon RegisterEventHotKey (cargo test -p app system_wide: globalKeybindingsMainService.test.ts register, unregister on update, failed labels and retry, dedupe, trigger with and without args; Studio run: ctrl+alt+cmd+f19 with "systemWide": true opens the Command Palette while Finder stays frontmost, not with false); one window, so the multi-window routing and crashed-window tests do not apply; the process exit releases the hot keys (the shutdown case) |
| platform/gpu | src/vs/platform | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
| platform/history | src/vs/platform | M11 | verified | | contextScopedHistoryWidget.ts: `history.showPrevious`/`showNext` with `historyNavigationWidgetFocus` and the enablement keys on the find, replace, search, search editor and debug console inputs (cargo test -p app -- find_widget history); historyWidgetKeybindingHint.ts `showHistoryKeybindingHint` on the Search inputs' "(⇅ for history)" suffix (cargo test -p app -- history_hint: fails without it once Up is rebound); recently opened and File > Open Recent with Clear Recently Opened are platform/workspaces (cargo test -p app -- recently_opened menubar, port/results/open-recent.md) |
-| platform/hover | src/vs/platform | M9 | verified | | workbench/hover.rs: a plain text hover that fits keeps its one line (cargo test -p app a_plain_text_hover_that_fits_keeps_its_text_on_one_line; ui-pair ui-tree-checkbox.json hover-loading shows "Loading..." on one line); cargo test -p app hover (reference hover boxes; hoverService.test.ts pointer centering both ways, side re-evaluation right, left and above, capped-height fallbacks, tall side hover, empty content, pending hover cancelled by a click and by leaving, Alt lock and release; delay, instant, leave, click and key hide); `showAndFocusLastHover` focuses the hover's container and Escape there hides it (cargo test -p app the_accessible_view_reads_a_workbench_hover); `workbench.action.showHover` (`_showAndFocusHoverForActiveElement`) shows the focused item's hover focused: a managed hover (`ActionViewItem`) with `trapFocus`, Tab and Shift+Tab looping over the container and its markdown links (hoverWidget.ts `addFocusTrap`; Enter opens the focused link) and `lastFocusedElementBeforeOpen` focused again on Escape, a delayed hover (settingsWidgets.ts rows) without (cargo test -p app show_hover_focuses show_hover_on_a_focused_list a_folder_in_the_installation tab_loops_over_a_trap_focus_hovers_links); its targets are the items that take the focus in the port: the accessible view's toolbar, the timeline title toolbar, the banner's close button, the settings list rows and the status bar entry focused with statusbarActions.ts `workbench.statusBar.focusNext`/`focusPrevious`/`focusFirst`/`focusLast`/`clearFocus` (the focused entry's hover is the target the last frame painted inside it, workbench/hover.rs `painted_hover_within`; cargo test -p app the_status_bar_keys_move_an_entry_focus_with_its_hover); the activity bar's and its global bar's items, focused with actionbar.ts keys (workbench/action_bar.rs: Up/Down loop, Home/End, Enter and Space press, the hover painted inside the focused item; cargo test -p app the_activity_bar_items_take_the_keyboard_focus_with_their_hover); the panel and secondary side bar titles' three action bars (tabs, the merged view's actions, the global actions; Left/Right, Tab and Shift+Tab between them, Shift+Tab from the content, Tab on to it) and the panel tabs' hover with their open command's keybinding (compositeBarActions.ts `computeTitle`; cargo test -p app the_panel_title_bars_take_the_keyboard_focus_with_their_hover); pane header and merged view title actions, the tab stop between the header or title and the body (cargo test -p app the_pane_header_actions_are_a_tab_stop_with_their_hover a_merged_view_title_is_the_tab_stop_before_its_body); `persistence.sticky` (updateTitleBarEntry.ts' tooltip): locked, no key listener, Alt and other targets' hovers leave it, a press outside hides it (cargo test -p app a_sticky_hover_stays_until_a_press_outside_it); HTML content (languageStatus.ts `_combinedEntryTooltip`, updateTooltip.ts) does not hide on hover (cargo test -p app the_pointer_moves_onto_the_combined_entrys_html_hover); nested hovers (hoverService.ts `_hoverStack`, `MAX_HOVER_NESTING_DEPTH`) have no caller: no hover content in the port holds a workbench hover target (languageStatus.ts links and pin button and updateTooltip.ts' buttons take `nativeHoverDelegate` or `title`); markdown hovers (`IMarkdownString` with its `isTrusted`) render through `markdownRenderer` (workbench/markdown_view.rs `markdown_blocks`: bold, code, lists, headings, codicons, rules, untrusted `command:` links dropped to text) at most 500px wide, measured by a hidden first frame before `layout` places them, with the Tab-focused link outlined in `focusBorder` on each row it wraps to (cargo test -p app a_markdown_hover_wraps_at_the_max_width_and_is_placed_by_its_measured_size a_markdown_rule_collapses_its_margins tab_loops_over_a_trap_focus_hovers_links); screenshot pairs vs ref-hover dumps (port/results/hover.md); a panel tab's hover with its badge description (`computeTitle` appends `badge.getDescription()`: markers "Total {0} Problems", comments "{0} Unresolved Comments"; cargo test -p app a_panel_tab_hover_appends_the_badge_description); the side bar title's Views and More Actions... button of a container with several panes, the tab stop before the first pane header, Enter and Space open its Views submenu (cargo test -p app the_side_bar_title_more_actions_is_the_tab_stop_before_the_first_pane_header); the active editor tab (multiEditorTabsControl.ts, the group's only tab with `tabIndex = 0`): Shift+Tab from the editor in tab focus mode, Tab back, Left/Up and Right/Down open the neighbor without wrapping and Home/End the ends with `focusTabControl`, Enter and Space open the editor with the focus, a press leaves the focus where it is, its hover per group (cargo test -p app the_active_editor_tab_takes_the_keyboard_focus_with_its_hover); the update title bar entry (updateTitleBarEntry.ts, `MenuId.TitleBarUpdate`'s toolbar of its own): a tab stop with Shift+Tab from the activity bar and Tab back, Enter and Space run its action, `workbench.action.showHover` shows its sticky tooltip with the focus on its buttons (`focusTooltip`; cargo test -p app show_hover_on_the_update_title_bar_entry_focuses_its_tooltip); Shift+F10 on the focused tab shows its context menu below the tab (cargo test -p app the_active_editor_tab_takes_the_keyboard_focus_with_its_hover); the tabs' close actions (each tab's `ActionBar`, one tab stop per tab, inactive tabs too) and the group's editor actions toolbar (one tab stop, Left/Right/Home/End inside) in the DOM order between the active tab and the editor, Enter on a close action closes its tab (workbench/editor_status.rs `group_title_tab_stops`; cargo test -p app the_tab_close_actions_and_the_editor_actions_toolbar_are_tab_stops the_active_editor_tab_takes_the_keyboard_focus_with_its_hover); the main window's title bar toolbars in titlebarPart.ts' DOM order before the activity bar: the command center (`MenuId.CommandCenter` with the navigation buttons), the update entry and the action toolbar (editor actions, layout controls, the bell after them as `MenuId.TitleBar`'s trailing group, Manage, `...`), each one tab stop whose items run their command on Enter and Space (cargo test -p app the_title_bar_toolbars_are_tab_stops_in_the_dom_order show_hover_on_the_update_title_bar_entry_focuses_its_tooltip); F6 in an editor window focuses that window's status bar (ui-pair port/fixtures/ui-pair/editor-window-f6.json on the host lane: the port and the reference both outline the editor window's status bar); an editor window's title bar toolbars (compact mode, always on top, its editor actions) as tab stops of their own, Tab from them on to the editor part's active tab, Shift+Tab back, Enter running the item (cargo test -p app an_editor_windows_title_bar_toolbars_are_its_own_tab_stops) |
+| platform/hover | src/vs/platform | M9 | verified | | workbench/hover.rs, workbench/action_bar.rs, workbench/markdown_view.rs, workbench/editor_status.rs: cargo test -p app hover tab_stop a_folder_in_the_installation; screenshot pairs vs ref-hover dumps (port/results/hover.md); ui-pair port/fixtures/ui-pair/editor-window-f6.json on the host lane |
| platform/imageResize | src/vs/platform | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| platform/instantiation | src/vs/platform | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
| platform/ipc | src/vs/platform | | n/a | | Electron process, IPC or DOM layer; replaced by the single-process Rust/GPUI architecture (port/notes.md) |
@@ -281,10 +281,10 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/keyboardLayout | src/vs/platform | M9 | verified | | keyboard_layout.rs: layout info and raw mapping as native-keymap reads them, Developer: Inspect Key Mappings (JSON) (cargo test -p app keyboard_layout inspect_key_mappings; output byte-identical to native-keymap on the Studio); keyboard_mapper.rs MacLinuxKeyboardMapper: cargo test -p app keyboard_mapper (dumpDebugInfo byte-identical to mac_de_ch, mac_en_us, mac_zh_hant, mac_zh_hant2; the macOS resolve cases); Developer: Inspect Key Mappings with the installed scan-code mapper's tables as `_dumpDebugInfo` (cargo test -p app inspect_key_mappings_shows_the_scan_code_mapper_tables); the picker is web-only |
| platform/label | src/vs/platform | M12 | verified | | the ILabelService interface; the file scheme labels are workbench/services/label; verified at port-m12b-verify: cargo test -p app path_labels 2/2 |
| platform/languagePacks | src/vs/platform | M18 | verified | | languagepacks.json from `contributes.localizations`, `resolveLanguagePackLanguage`, manifest translations: cargo test -p exthost language_packs; with MS-CEINTL.vscode-language-pack-de installed and `--locale de` the Command Palette shows German titles (port/results/extensions.md) |
-| platform/launch | src/vs/platform | M11 | verified | | launch.rs (main.ts `claimInstance`, launchMainService.ts): the first instance listens on `<user data>/1.147.0-main.sock`; a later start with the same user data sends its arguments and working directory and exits once they are taken (a stale socket is removed); workbench/host.rs `start_open_window`: no paths brings the last active window to the front (`window.openWithoutArgumentsInNewWindow` default on macOS) or opens an empty window (`on`, `--new-window`), folders and workspaces open or focus their window, files open in the window whose folder holds them (windowsFinder.ts `findWindowOnFile`), else in the last active window; the `file://` urls Finder and the Dock hand the app (app.ts `open-file`, workbench/url_handler.rs `open_system_urls`) open the same way in the `DOCK` context: the ones that follow within 100 ms open together, files in a new window with `window.openFilesInNewWindow` `default`, and at launch they take the startup window's place, with the last session's windows only for `window.restoreWindows` `preserve` (main.rs `last_session_windows`). The command line: argv.rs (argv.ts `OPTIONS`, minimist, `parseArgs`, `buildHelpMessage`, `buildVersionMessage`, argvHelper.ts `--goto` validation), cli.rs (code/node/cli.ts run by bin/code with `ELECTRON_RUN_AS_NODE`: `-` reads stdin into a 0600 `code-stdin-*` file, `--wait` creates the marker and waits until it is deleted, the app starts through `open -n -g` with `VSCODE_CWD`), workbench/command_line.rs (windowsMainService.ts and window.ts: `--diff`, `--merge`, `--add`, `--goto file:line:col`, `-n`/`-r`, a path that does not exist opens untitled and is created on save, a folder reuses the last active window and keeps its `--wait` marker, `--wait`'s marker deleted once each waited file has an editor closed (not moved) and none is dirty, checked each frame as `onDidChangeDirty`, or when the window closes). `cargo test -p app launch argv:: command_line:: url_handler a_finder_launch host::` (host::tests::a_file_opens_in_the_window_whose_folder_holds_it; url_handler::tests::a_workspace_file_from_finder_opens_a_window_of_its_folders, a_file_from_finder_opens_in_a_new_window_with_open_files_in_new_window_default, documents_that_follow_within_100_ms_open_together; a_finder_launch_restores_the_last_session_only_with_preserve; argv::tests::parses_the_command_line_as_upstream_argv, help_matches_upstream_text, goto_mode_validates_its_arguments; command_line::tests::goto_opens_the_file_at_its_line_and_column, diff_and_merge_open_their_editors, the_wait_marker_is_deleted_once_its_editors_close, the_wait_marker_is_deleted_when_one_of_two_editors_of_its_file_closes, the_wait_marker_waits_for_the_dirty_file_to_be_saved, the_wait_marker_is_deleted_when_the_window_closes, a_missing_file_opens_untitled_and_is_created_on_save); packaged app via a /usr/local/bin-style link to bin/code: `--version` and `--help` print, `--wait a.txt` waits until Cmd+W closes the editor, `echo text | vsrustium -` opens the stdin file, `--wait folder` loads the folder in the last active window and waits until that window closes; verified: ui-pair hot-exit.json `launched` vs the reference (port/results/windows.md, milestone 11 verification): a second start hands docs/guide.md to the running instance |
+| platform/launch | src/vs/platform | M11 | verified | | launch.rs, argv.rs, cli.rs, workbench/command_line.rs, workbench/url_handler.rs, workbench/host.rs: cargo test -p app launch argv:: command_line:: url_handler a_finder_launch host::; the packaged app's bin/code: `--version`, `--help`, `--wait a.txt`, stdin through `-`, `--wait folder`; ui-pair hot-exit.json `launched` (port/results/windows.md, milestone 11 verification) |
| platform/layout | src/vs/platform | M11 | verified | | `ILayoutService` as the workbench's part grid (workbench/layout.rs, part_grid.rs): container dimensions and part offsets of the main window; checks as workbench/services/layout (port/results/layout.md "Part positions", "Zen mode and centered layout") |
| platform/lifecycle | src/vs/platform | M11 | verified | | lifecycleMainService quit and window close through workbench/lifecycle.rs, menubar.ts confirmBeforeQuit; cargo test -p app lifecycle; verified: ui-pair hot-exit.json `dirty`, `restored` vs the reference (port/results/windows.md, milestone 11 verification) |
-| platform/list | src/vs/platform | M9 | verified | | list scrolling, scrollbars, smooth scrolling, sensitivities, scrollByPage, horizontal scrolling, tree indent guides and sticky scroll, type navigation in the Explorer and Keyboard Shortcuts table, listCommands.ts on the Explorer, Search and the table (port/notes.md milestone 9): cargo test -p app menubar list_scroll list_tree type_navigation typing keybindings_editor_view search_actions explorer hover sticky, 135 passed, then list_scroll 5 passed (the_wheel_scrolls_after_a_key_press, scrolling_hides_the_rows_hover); ui-pair Explorer expand and 4 wheel notches: expand, guides, sticky row and its unselected look match the reference; the wheel scrolls the port 282px, the reference 304px (port/notes.md milestone 9 handoff); split_view.rs SplitView (proportional layout, distributeEmptySpace, sash drag with Alt for both sides, sash states) under the Keyboard Shortcuts table's column headers: sash cursors, 300ms hover border, double-click reset to the column weight, tree.tableColumnsBorder fading in on table hover (cargo test -p app split_view keybindings_editor_view; ui-pair drag and reset land on the reference's columns); listWidget and the other lists stay with their views |
+| platform/list | src/vs/platform | M9 | verified | | list_scroll.rs, split_view.rs: cargo test -p app menubar list_scroll list_tree type_navigation typing keybindings_editor_view search_actions explorer hover sticky split_view; ui-pair Explorer expand, guides, sticky row and 4 wheel notches (the wheel scrolls the port 282px, the reference 304px; port/notes.md milestone 9) |
| platform/localTranscription | src/vs/platform | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| platform/log | src/vs/platform | M6 | verified | | output/logger.rs: spdlog file logger (pattern `%Y-%m-%d %H:%M:%S.%e [%l] %v`, rotating 30 MB over 6 files, `renderer.1.log` names), log.ts `format`, `createUnexpectedErrorHandler`, errorMessage.ts `toErrorMessage`; levels and the logger registry as `AbstractLoggerService` (cargo test -p app output: log.test.ts cases and rotation); the Window logger writes `renderer.log` with levels (output.rs `log_window`), the logger registry and the global and per-logger levels follow `AbstractLoggerService` (cargo test -p app output); the rest of the port log is code-gpui stderr: host console, errors, `$log` lines; no rotation, no spdlog |
| platform/markdown | src/vs/platform | M13 | verified | | markdown.rs (pulldown-cmark in place of marked: paragraphs, headings, code blocks, lists, quotes, rules, bold/italic/strike/code/links, `$(icon)` drawn as 16px codicons between the text, HTML dropped, untrusted `command:` links dropped, 100000-char cap), workbench/markdown_view.rs (code blocks tokenized in their language): cargo test -p app markdown; ui-pair comment thread: the markdown comments with bold `add` as in the reference (port/results/language-features.md Comments) |
@@ -292,7 +292,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/mcp | src/vs/platform | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| platform/menubar | src/vs/platform | M9 | verified | | workbench/menubar.rs: app, Window and Services menus of menubar.ts with key equivalents, chords in the label; AX tree of the port vs the reference (port/results/menubar.md); the menus the native bar shows match a fresh 1.147.0 `port/tools/ref-menubar` dump in the empty and file windows (cargo test -p app menubar: 12 passed, the_empty_window_menu_bar_matches_the_reference, the_folder_and_file_menu_bar_matches_the_reference); the update item after About per update state and the Window menu's Always on Top and Switch Window (cargo test -p app the_app_menu_shows_the_update_state_after_about the_window_menu_has_always_on_top_and_switch_window) |
| platform/meteredConnection | src/vs/platform | M19 | verified | | metered_connection.rs: Network.framework path monitor, metered when expensive or constrained (Low Data Mode), network.meteredConnection; port/tools/shell-check (port/fixtures/extensions/shell-tests, 6/6); cargo test -p app metered_connection |
-| platform/native | src/vs/platform | M11 | verified | | nativeHostService as the port uses it: windows (open, close, focus, count, toggle full screen, always on top, title bar double click by AppKit, `setDocumentEdited`, `setRepresentedFilename`: workbench/host.rs, lifecycle.rs), `showMessageBox`/`showOpenDialog`/`showSaveDialog` (dialog.rs, file_dialog.rs), `openExternal` (opener), `showItemInFolder` (revealFileInOS), `moveItemToTrash` (explorer delete), clipboard (clipboard.rs), `quit`, `relaunch`, `reload`, `exit`. n/a: devtools, tracing and GPU info (no Chromium). Removed by decision: native window tabs (`window.nativeTabs`). `installShellCommand` and `uninstallShellCommand` (workbench/shell_command.rs, installActions.ts): Shell Command: Install/Uninstall 'vsrustium' command in PATH links `/usr/local/bin/vsrustium` to the app's bin/code (port/tools/package-app writes it from code.sh); unless the link is there already it asks for administrator privileges and runs `osascript` with each path shell-quoted inside an AppleScript string (cargo test -p app shell_command:: : the_link_needs_the_apps_script, install_links_the_command_to_the_apps_script, the_privileged_script_quotes_every_path). `cargo test -p app host lifecycle dialog`; verified: ui-pair hot-exit.json, messages.json, dialogs.json vs the reference (port/results/windows.md, milestone 11 verification) |
+| platform/native | src/vs/platform | M11 | verified | | workbench/host.rs, lifecycle.rs, dialog.rs, file_dialog.rs, clipboard.rs, workbench/shell_command.rs (the link port/tools/package-app writes): cargo test -p app host lifecycle dialog shell_command::; ui-pair hot-exit.json, messages.json, dialogs.json (port/results/windows.md, milestone 11 verification). n/a: devtools, tracing and GPU info; removed by decision: `window.nativeTabs` |
| platform/networkFilter | src/vs/platform | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| platform/notification | src/vs/platform | M11 | verified | | notifications.rs: severities, priorities, actions, progress, legacy link parsing (linkedText.ts), 1000-character messages; cargo test -p app notifications::; verified: ui-pair messages.json vs the reference (port/results/windows.md, milestone 11 verification) |
| platform/observable | src/vs/platform | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
@@ -306,7 +306,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/profiling | src/vs/platform | M19 | n/a | | V8 inspector CPU profiles of the Electron renderer (windowProfiling.ts, rendererAutoProfiler.ts) and their analysis worker, which feeds only telemetry (profilingTelemetrySpec.ts); the workbench is a native process, profiled with Instruments, and no telemetry by decision; the extension host profile commands belong to workbench/contrib/extensions |
| platform/progress | src/vs/platform | M11 | verified | | ProgressLocation values and the step shape, in main_thread_progress.rs; verified: ui-pair messages.json `progress` vs the reference (port/results/windows.md, milestone 11 verification) |
| platform/protocol | src/vs/platform | | n/a | | Electron process, IPC or DOM layer; replaced by the single-process Rust/GPUI architecture (port/notes.md) |
-| platform/quickinput | src/vs/platform | M9 | verified | | createQuickWidget as `Kind::Widget` (quick_input_view.rs: title, no input header, the icon picker as content) for its one workbench caller, iconPicker.ts `IconPicker` of Terminal: Change Icon: cargo test -p app the_icon_picker_search_is_a_bare_input_box a_quick_pick_shown_over_the_icon_picker_drops_its_content (quickinput.test.ts "custom content is exclusive to QuickWidget"); quickPickPin.ts pins match a terminal session command by its timestamp `id`, store label, description and detail, and stay for the session after the picker hides: cargo test -p app a_pinned_session_command_stays_pinned_until_the_session_ends; cargo test -p app quick_input, filters, tf_idf (`\p{Letter}` words: tf_idf::tests::words_follow_the_javascript_regex), command_palette: the model cases of quickinput.test.ts (pick, input, active and selected items, section navigation, keepScrollPosition, title bar visibility, close animation and reopening); api-tests quick input 11/11; ad-hoc palette screenshot 0.28% pixels differ at 2% fuzz; a row's description at the highlighted name's exact width (cargo test -p app the_description_follows_the_highlighted_name_s_exact_width; Cmd+P `ts` pair: `src` within 0.3 device px of the reference); a separator's buttons show while an item of its section is active (a_separator_s_buttons_show_while_an_item_of_its_section_is_active); an item's tooltip is its hover, 6px wider from the list's padding, kept on key down and hidden on a value change (an_item_s_tooltip_is_its_row_s_hover_until_the_value_changes; port/fixtures/ui-pair/quick-input-item-hover.json: the command palette hover falls back below the row as the reference's); a hovered row index past a list narrowed by typing draws instead of panicking (a_hovered_row_index_past_a_narrowed_list_draws) |
+| platform/quickinput | src/vs/platform | M9 | verified | | quick_input_view.rs, workbench/quick_pick_pin.rs, tf_idf.rs: cargo test -p app quick_input filters tf_idf command_palette quick_pick_pin the_icon_picker_search_is_a_bare_input_box a_quick_pick_shown_over_the_icon_picker_drops_its_content the_description_follows_the_highlighted_name_s_exact_width (quickinput.test.ts model cases); api-tests quick input 11/11; ui-pair port/fixtures/ui-pair/quick-input-item-hover.json and Cmd+P `ts` |
| platform/registry | src/vs/platform | M9 | n/a | | Registry.add/as, a string-keyed registry of registries for the JS module graph; the port passes its typed registries directly (config::registry::Registry, Commands, the menus and keybindings modules), so there is no lookup by id to port |
| platform/remote | src/vs/platform | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
| platform/remoteTunnel | src/vs/platform | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
@@ -323,11 +323,11 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/test | src/vs/platform | M6 | n/a | | upstream test infrastructure; the port tests with cargo test and port/tools |
| platform/theme | src/vs/platform | M7 | verified | | registry defaults for dark, light, hcDark, hcLight with the color transforms (`transparent`, `withOpacity`, `darken`, `lighten`, `opaque`, `lessProminent`), `asCssVariableName` for webviews (theme.rs, webview.rs): every color the port resolves equals the reference workbench's `--vscode-*` variable in all 13 themes of port/fixtures/theme-colors (cargo test -p app theme::tests::resolved_colors_match_the_reference_workbench_variables); ids the port never paints stay unresolved; iconRegistry.ts and codicons.ts: every codicon and registered icon id draws the SVG of the code point codicon.css gives it, including codicons.ts's code point aliases (cargo test -p app codicons::tests::every_icon_id_draws_the_svg_of_its_code_point) |
| platform/tunnel | src/vs/platform | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
-| platform/undoRedo | src/vs/platform | M8 | verified | | workspace elements across resources with sources, confirmBeforeUndo and flush on conflict (undo_redo.rs): cargo test -p app undo_redo, explorer_actions; `UndoRedoGroup`: one group per bulk edit, joined by the file participants' edits, run in push order across file and text elements (`_continueUndoInGroup`, `_findClosestUndoElementInGroup`, no split prompt with another element ready), and `workspace.applyEdit` file operations on the stack of each file they touched, undone from that file's editor when they are the later change (workbench/bulk_undo.rs): cargo test -p app bulk_undo (undo_runs_the_file_edits_of_the_same_workspace_edit), undo_redo (a_group_undoes_last_first_and_redoes_first_first); one service for every element, ordered by push: text edits as editStack.ts `SingleModelEditStackElement`/`MultiModelEditStackElement` (editor/edit_stack.rs: cargo test -p app edit_stack, bulk_undo (undo_across_files_loads_the_closed_files_model_again, a_text_element_between_two_file_elements_of_one_group)), notebook cell edits (`StackOperation`, per-cell or per-notebook comparison key by `notebook.undoRedoPerCell`, the workspace edit's group: cargo test -p app notebook_editor (notebook_undo_redo_basics and the other notebookUndoRedo.test.ts ports, without_undo_redo_per_cell_undo_takes_cell_edits_and_cell_text_edits_in_order, the_cell_and_text_edits_of_a_workspace_edit_undo_together, a_released_notebook_drops_its_undo_stack)) and custom editor edits (`$undo`/`$redo`: cargo test -p app custom_documents (edits_undo_redo_save_and_revert_through_the_host, a_disposed_document_drops_its_undo_stack)); a running workspace element splits as upstream's (undo_redo (a_redo_splits_a_running_workspace_element)); `StackOperation` labels (notebook_editor (a_cell_edit_is_labeled_by_the_operations_it_pushed)); `pushEOL` joins the model's element and undo restores the EOL (editor::edit::tests::push_eol_changes_the_line_ending_and_dirties_the_model) |
+| platform/undoRedo | src/vs/platform | M8 | verified | | undo_redo.rs, workbench/bulk_undo.rs, editor/edit_stack.rs: cargo test -p app undo_redo explorer_actions bulk_undo edit_stack notebook_editor custom_documents undo_runs_the_file_edits_of_the_same_workspace_edit a_group_undoes_last_first_and_redoes_first_first undo_across_files_loads_the_closed_files_model_again a_text_element_between_two_file_elements_of_one_group notebook_undo_redo_basics without_undo_redo_per_cell_undo_takes_cell_edits_and_cell_text_edits_in_order the_cell_and_text_edits_of_a_workspace_edit_undo_together a_released_notebook_drops_its_undo_stack edits_undo_redo_save_and_revert_through_the_host a_disposed_document_drops_its_undo_stack a_redo_splits_a_running_workspace_element a_cell_edit_is_labeled_by_the_operations_it_pushed editor::edit::tests::push_eol_changes_the_line_ending_and_dirties_the_model (notebookUndoRedo.test.ts) |
| platform/update | src/vs/platform | M19 | verified | | update.rs + update/install.rs (port/notes.md "Update feed", "Update service"): a static IUpdate feed per release channel on GitHub releases (port addition `update.releaseChannel`), background download, SHA-256 and designated-requirement verification, the ShipIt helper's swap with rollback; Squirrel's read-only refusal; an automatic check or download on a metered connection is deferred (AvailableForDownload) and resumed once it is not metered (abstractUpdateService.ts); Updating and Overwriting are Windows and Linux states; cargo test -p app update:: (state machine, feed parsing, channels, no downgrade, verification, rollback, metered deferral) and its ignored test on update-check's signed packages; port/tools/update-check (metered) |
| platform/uriIdentity | src/vs/platform | M12 | verified | | asCanonicalUri for open models: $tryOpenDocument answers the casing opened first where the provider has no PathCaseSensitive (api-tests MOCHA_GREP="vscode API - workspace" openTextDocument, actual casing first), workbench editors find a file in any case (cargo test -p app a_file_in_another_case); no cache of unopened URIs; verified: api-tests MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" at 44a309311e1: every workspace, workspace-fs, workspace events, workspace-watcher and file system test passes, api-workspace 4/0/0 (port/results/api-tests.md "M12 verification"), openTextDocument, actual casing first |
| platform/url | src/vs/platform | M12 | verified | | uri.rs (base/common/uri.ts) and workbench/url_handler.rs (urlService open, protocol url file handling with security.promptForLocalFileProtocolHandling); cargo test -p app uri:: url_handler; verified at port-m12b-verify: cargo test -p app url_handler 3/3 |
-| platform/userData | src/vs/platform | M10 | verified | | fileUserDataProvider.ts's atomic reads and writes of every profile's settings, keybindings, tasks and extensions files (`.vsctmp` renamed over, symbolic links in place) as config::service::write_user_data_file, used by configuration writes, the Keyboard Shortcuts editor and editor saves (cargo test -p config service `user_settings_are_written_atomically_and_folder_settings_in_place`); text models of `file` and `vscode-userdata` resources read, save, reload and restore the same way (app editor.rs `on_disk`; cargo test -p app `user_data_models_save_and_follow_their_file`), the profile's settings, keybindings.json, tasks.json and snippets open as `vscode-userdata` documents, a folder's `.vscode` files as `file` ones (cargo test -p app user_snippet_files_open_as_user_data open_user_tasks_writes_a_template_then_opens_the_file reverting_a_user_data_conflict_reopens_the_user_data_editor); local history keeps a `vscode-userdata` model under its own URI (cargo test -p app all_files_lists_the_files_with_entries_until_all_are_removed); the extension host's `workspace.fs` reaches `vscode-userdata` through MainThreadFileSystem (stat, readDirectory, readFile, writeFile, delete: port/tools/user-data-fs-check, port/fixtures/extensions/user-data-fs-tests 5 ok) and its watchers get `vscode-userdata` changes (cargo test -p exthost user_data_watch_events_keep_their_scheme); the `vscode-userdata` FileUserDataProvider over the disk as files/src/user_data.rs with fileUserDataProvider.test.ts's cases (cargo test -p files user_data) |
+| platform/userData | src/vs/platform | M10 | verified | | config::service::write_user_data_file, files/src/user_data.rs, editor.rs `on_disk`: cargo test -p config service user_settings_are_written_atomically_and_folder_settings_in_place; cargo test -p files user_data (fileUserDataProvider.test.ts); cargo test -p exthost user_data_watch_events_keep_their_scheme; cargo test -p app user_data_models_save_and_follow_their_file user_snippet_files_open_as_user_data open_user_tasks_writes_a_template_then_opens_the_file reverting_a_user_data_conflict_reopens_the_user_data_editor all_files_lists_the_files_with_entries_until_all_are_removed; port/tools/user-data-fs-check with port/fixtures/extensions/user-data-fs-tests 5 ok |
| platform/userDataProfile | src/vs/platform | M10 | verified | | userDataProfile.ts `UserDataProfilesService` as storage/src/profiles.rs with the userDataProfileService and userDataProfileMainService test cases (cargo test -p storage profiles); windowsMainService.ts profile resolution (`--profile`, `--profile-temp`, workspace associations, `window.newWindowProfile`) as app/src/user_data_profile.rs (cargo test -p app user_data_profile); the Agents window profile is left out (no AI by decision) |
| platform/userDataSync | src/vs/platform | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| platform/userInteraction | src/vs/platform | M19 | n/a | | DOM observables for modifier keys, focus and hover that editor widgets read; GPUI gives each element its own focus, hover and modifier state |
@@ -336,11 +336,11 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| platform/webWorker | src/vs/platform | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
| platform/webview | src/vs/platform | M17 | verified | | webview.rs: WKWebView child view, upstream pre/index.html through a WKURLSchemeHandler; api-tests `MOCHA_GREP="vscode API - webview"` webview.test passes as in the reference (625 local resources, postMessage both ways); cargo test -p app webview |
| platform/window | src/vs/platform | M11 | verified | | window.ts: `WindowMinimumSize` 400x270 on every window, the custom title bar (`getTitleBarStyle` custom on macOS, `DEFAULT_CUSTOM_TITLEBAR_HEIGHT` 35 with the command center), `IWindowState` and modes in windows_state.rs, `isWorkspaceToOpen`/`isFolderToOpen`/`isFileToOpen` as workspace_actions.rs `Openable`, opened as windowsMainService.ts `shouldOpenNewWindow` and `doOpen` decide (files in a new window with `forceNewWindow` or `window.openFilesInNewWindow`, else with the first workspace; cargo test -p app -- a_file_url_for_a_new_window_opens_the_file_there). Window zoom (`window.zoomLevel`, View: Zoom In/Out/Reset) n/a by decision: GPUI has no window-wide scale outside its test build.; verified: every pair of port/results/windows.md (milestone 11 verification): the custom title bar |
-| platform/windows | src/vs/platform | M11 | verified | | windows_state.rs (windowsStateHandler.ts, windowsMainService.ts `doGetPathsFromLastSession`): `windowsState` in `User/globalStorage/storage.json` saved on quit (the last window closed, else the active one; all windows when two or more), restored on a start without paths and on every start with `preserve` (`window.restoreWindows` none, one, folders, all), each window in its display and bounds when that display is still there, fullscreen only with `window.restoreFullscreen`; empty windows reopen on their backup folder; a reload keeps the window's place; a new window takes the stored place of its workspace, folder or empty window, the first one the last active window's, else `window.newWindowDimensions` (default and offset cascade 30 points off the open windows, inherit, maximized, fullscreen). The default size stays 1024x768, the reference capture size of port/tools/ref-screenshot, where upstream takes 1200x800 or 1440x900. `cargo test -p app windows_state`; verified: ui-pair hot-exit.json `restored` vs the reference (port/results/windows.md, milestone 11 verification): the window restored on its folder after quit |
+| platform/windows | src/vs/platform | M11 | verified | | windows_state.rs: cargo test -p app windows_state; ui-pair hot-exit.json `restored` (port/results/windows.md, milestone 11 verification). The default size stays 1024x768, the capture size of port/tools/ref-screenshot, where upstream takes 1200x800 or 1440x900 |
| platform/workspace | src/vs/platform | M12 | verified | | virtual workspaces (non-file folders): milestone 25; config/src/workspace.rs: folders, getFolder, toWorkspaceFolders, workspace label; cargo test -p config workspace (workspace.test.ts cases); api-workspace 4/4; verified: api-tests MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" at 44a309311e1: every workspace, workspace-fs, workspace events, workspace-watcher and file system test passes, api-workspace 4/0/0 (port/results/api-tests.md "M12 verification"), api-workspace 4/4 |
-| platform/workspaces | src/vs/platform | M12 | verified | | getWorkspaceIdentifier and getSingleFolderWorkspaceIdentifier (session.rs, workspaces.test.ts stable id case, cargo test -p exthost); recently opened list (recently_opened.rs, workspacesHistoryMainService: `history.recentlyOpenedPathsList` in shared storage, 500 per kind, cargo test -p app recently_opened); untitled workspaces under `<user data>/Workspaces/<id>/workspace.json` (config/src/workspace.rs isUntitledWorkspace, workbench/workspace_editing.rs createUntitledWorkspace, deleteUntitledWorkspace, Save Workspace As with rewritten relative paths): cargo test -p config workspace:: 5/5, cargo test -p app workspace_editing; ui-pair port/fixtures/ui-pair/m12/workspace-folders.json (Remove Folder from Workspace enters Untitled (Workspace)), verified at port-m12b-verify; getWorkspaceIdentifier and getSingleFolderWorkspaceIdentifier (session.rs, workspaces.test.ts stable id case, cargo test -p exthost); no untitled workspaces or recent list; getWorkspaceIdentifier and getSingleFolderWorkspaceIdentifier (session.rs, workspaces.test.ts stable id case, cargo test -p exthost); recently opened list (recently_opened.rs, workspacesHistoryMainService: `history.recentlyOpenedPathsList` in shared storage, 500 per kind, cargo test -p app recently_opened); no untitled workspaces; getWorkspaceIdentifier and getSingleFolderWorkspaceIdentifier (session.rs, workspaces.test.ts stable id case, cargo test -p exthost); no untitled workspaces or recent list |
-| editor/browser | src/vs/editor | M8 | ported | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | scrolling: wheel, scrollbars with drag, track press and fade, scroll shadow, reveal on cursor moves and from the API, per-editor scroll position (editor/view.rs, workbench/editor_view.rs): cargo test -p app editor::view::tests (8); folding (editor/folding.rs): cargo test -p app editor::folding (49); minimap with slider, decorations, section headers, settings and the scrollbar context menu (editor/minimap.rs, editor/section_headers.rs, workbench/minimap_view.rs): cargo test -p app minimap (11), section_headers (18), editor_menus (8); sticky scroll (editor/contrib/stickyScroll row); rounded selections (`editor.roundedSelection`): cargo test -p app selection_corners (1); `editor.renderWhitespace` (editor/whitespace.rs): cargo test -p app whitespace (39); control characters and bidi format characters as `[U+XXXX]` (workbench/control_characters.rs): cargo test -p app control_characters (4); glyph margin and line number presses (workbench/gutter_mouse.rs): cargo test -p app gutter_presses (1); word wrap with view lines, Toggle Word Wrap and the wrap indicator (editor/word_wrap.rs): cargo test -p app word_wrap (21), ui-pair /tmp/m8wrap wrap.ts; `editor.smoothScrolling` (editor/smooth_scroll.rs, workbench/smooth_scrolling.rs): cargo test -p app smooth_scroll (11, the scrollable.test.ts cases); diff editor widget (port/notes.md milestone 14): cargo test -p app diff_editor (22), diff_gutter (2); a selection over changes shows one `diffEditor/gutter/selection` toolbar (Revert Selection and contributions) in place of the hunk toolbars, reverting and staging only the selected inner changes (gutterFeature.ts `_selectedDiffs`, diffEditorWidget.ts `revertRangeMappings`): cargo test -p app a_selection_over_changes_shows_the_selection_toolbar, ui-pair port/fixtures/ui-pair/menus/diff-gutter-selection.json with `FILE=notes.txt` and the menus fixture extension: matches the reference; all run at the milestone 20 sweep; scrolling: wheel, scrollbars with drag, track press and fade, scroll shadow, reveal on cursor moves and from the API, per-editor scroll position (editor/view.rs, workbench/editor_view.rs): cargo test -p app editor::view::tests; folding (editor/folding.rs): cargo test -p app editor::folding; minimap with slider, decorations and section headers (editor/minimap.rs, editor/section_headers.rs, workbench/minimap_view.rs): cargo test -p app minimap, cargo test -p app section_headers; sticky scroll (editor/contrib/stickyScroll row); rounded selections (`editor.roundedSelection`, selections.ts): cargo test -p app selection_corners, ui-pair corners match; `editor.renderWhitespace` marks drawn as svg circles and arrows (editor/whitespace.rs, viewParts/whitespace): cargo test -p app whitespace, ui-pair notes.txt; control characters as Control Pictures (`editor.renderControlCharacters`, workbench/control_characters.rs): cargo test -p app control_characters; glyph margin and line number presses select lines, drags extend them, Alt adds a line cursor (mouseHandler.ts `startedOnLineNumbers`, workbench/gutter_mouse.rs): cargo test -p app gutter_presses; no smooth scrolling, no word wrap (`editor.wordWrap`, viewModelLines with line breaks), bidi format characters not drawn as `[U+XXXX]` (port/notes.md milestone 8); diff editor widget (side by side, inline, view zones, gutter toolbar, overview ruler, title actions; port/notes.md milestone 14): cargo test -p app diff_editor diff_gutter; Switch Side (`diffEditor.switchSide`, the selection mapped through the diff) and Focus Primary, Secondary and Other Side, in the diff and the multi diff editor: cargo test -p app switch_side; bracket pair guides (`editor.guides.bracketPairs`, `bracketPairsHorizontal`, `highlightActiveBracketPair`; guidesTextModelPart.ts) in every code editor, on a wrapped line only on the view lines `getViewLinesBracketGuides` keeps (viewModelLines.ts): cargo test -p app bracket_pair_guide; indent guides on a wrapped line repeated on its view lines only with a wrapping indent (`getViewLinesIndentGuides`, viewModelLines.ts), none past the wrapping column (`_maxIndentLeft`, indentGuides.ts): cargo test -p app wrapping_indent_repeats without_a_wrapping_indent; scrolling: wheel, scrollbars with drag, track press and fade, scroll shadow, reveal on cursor moves and from the API, per-editor scroll position (editor/view.rs, workbench/editor_view.rs): cargo test -p app editor::view::tests; folding (editor/folding.rs): cargo test -p app editor::folding; minimap with slider, decorations and section headers (editor/minimap.rs, editor/section_headers.rs, workbench/minimap_view.rs): cargo test -p app minimap, cargo test -p app section_headers; sticky scroll (editor/contrib/stickyScroll row); rounded selections (`editor.roundedSelection`, selections.ts): cargo test -p app selection_corners, ui-pair corners match; no `renderWhitespace` yet; no smooth scrolling (port/notes.md milestone 8); scrolling: wheel, scrollbars with drag, track press and fade, scroll shadow, reveal on cursor moves and from the API, per-editor scroll position (editor/view.rs, workbench/editor_view.rs): cargo test -p app editor::view::tests; folding (editor/folding.rs): cargo test -p app editor::folding; minimap with slider, decorations and section headers (editor/minimap.rs, editor/section_headers.rs, workbench/minimap_view.rs): cargo test -p app minimap, cargo test -p app section_headers; sticky scroll (editor/contrib/stickyScroll row); rounded selections (`editor.roundedSelection`, selections.ts): cargo test -p app selection_corners, ui-pair corners match; `editor.renderWhitespace` marks drawn as svg circles and arrows (editor/whitespace.rs, viewParts/whitespace): cargo test -p app whitespace, ui-pair notes.txt; control characters as Control Pictures (`editor.renderControlCharacters`, workbench/control_characters.rs): cargo test -p app control_characters; glyph margin and line number presses select lines, drags extend them, Alt adds a line cursor (mouseHandler.ts `startedOnLineNumbers`, workbench/gutter_mouse.rs): cargo test -p app gutter_presses; word wrap with view lines, Toggle Word Wrap and the wrap indicator (editor/word_wrap.rs: cargo test -p app word_wrap; ui-pair /tmp/m8wrap wrap.ts: breaks, End, Down and Alt+Z match the reference); bidi format characters as `[U+XXXX]` (cargo test -p app control_characters); minimap settings and the scrollbar context menu (cargo test -p app minimap editor_menus); `editor.smoothScrolling` over 125 ms for cursor, find and API reveals and mouse wheel notches (editor/smooth_scroll.rs, workbench/smooth_scrolling.rs: cargo test -p app smooth_scroll, the scrollable.test.ts cases); diff editor widget (side by side, inline, view zones, gutter toolbar, overview ruler, title actions; port/notes.md milestone 14): cargo test -p app diff_editor diff_gutter; each side its own editor (the original's cursor and active line number, inline only its line numbers wide), char changes filled past the line break (`shouldFillLineOnLineBreak`) but not in the inline deleted lines, the sides' overview ruler without the minimap background, a press with no move before it shows the scrollbars: cargo test -p app file_compare char_ranges a_click_without_a_move, ui-pair m12/compare.json; mouse selection: four clicks select all, a double click the word (`WordOperations.word`) or the inside of brackets and strings (`editor.doubleClickSelectsBlock`), double and triple click drags go on by words and lines, their Alt forms on the cursor added last, a drag past the text scrolls each frame (dragScrolling.ts) (editor/mouse_selection.rs, workbench/drag_scrolling.rs): cargo test -p app mouse_selection text_clicks_select a_selecting_drag_below (6), in the vertical scrollbar without the minimap, below the horizontal scrollbar's top and in a comment reply editor: cargo test -p app a_drag_into_the_vertical the_bottom_edge_hit a_drag_below_a_comment; the IME input handler sees the selection's lines, a caret inside marked text places the cursor and character bounds follow the text (nativeEditContext.ts): cargo test -p app text_input::; decoration type outlines outside the range and borders inside it, the CSS cascade of their shorthands and longhands, `before`/`after` content text as injected text (workbench/editor_view/text_decorations.rs): cargo test -p app outline_and_border_follow_the_css_cascade a_decoration_outline_is_drawn_outside_its_range decoration_types_set_and_remove_editor_decorations, ui-pair of a merge conflict file: the header's "(Incoming Change)" text matches the reference; a padded inlay hint broken by word wrap draws a padding box per piece (word_wrap.rs `hint_splits`, inlayHintsController.ts `cssProperties.padding` per span): cargo test -p app wrapping_a_padded_inlay_hint_skips_its_padding_box, ui-pair port/fixtures/ui-pair/m8/inlay-hint-wrap.json dark with `PORT_MESSAGES=inlayHints FILE=notes.txt`, the messages extension and `editor.wordWrap` `wordWrapColumn` 24 plus `editor.inlayHints.padding`: matches the reference |
-| editor/common | src/vs/editor | M8 | ported | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | the model and cursor layer under every editor (app/src/editor, decorations.rs, link_computer.rs, syntax.rs, the diff crate): cursors (CursorCollection normalize, per-cursor edits, loser edits, paste distribution, column selection), core moves and deletes over grapheme clusters, word operations, the edit stack with its stops and the alternative version id dirty state, onEnter and indentation rules (`languages/autoIndent.ts`, `enterAction.ts`, EnterOperation, electric characters, TabOperation, ShiftCommand miss-aligned lines), auto-closing of typed brackets and quotes (`AutoClosingOpenCharTypeOperation`, `hasUnmatchedClosingBracketAfter`: cargo test -p app auto_closing), indentation guessing, model decorations with injected text, bracket matching and bracket pair colorization over the incremental bracket tree (bracketPairsTree/, brackets/tree.rs: cargo test -p app brackets; typing on the 52k-line TS file 1.40, 1.73, 2.29 ms median per edit: cargo test --release -p app -- --ignored typing_latency_on_a_large_file), the lines in view past the tokenized ones tokenized from a guessed start state (`tokenizeHeuristically`: cargo test -p app lines_in_view_past_the_tokenized_ones), the link computer, view lines with word wrap: cargo test -p app editor:: decorations:: link_computer syntax:: (781 passed, 13 ignored: the upstream `test.skip` cases of indentation.test.ts); the diff algorithms of editor/common/diff: cargo test -p diff (15 passed). `getWordAtPosition` inside the token language with its `wordPattern`: cargo test -p app the_word_at_a_column (model.test.ts 'Get word at position', 'getWordAtPosition at embedded language boundaries', 'issue #61296'). Swapped by design: the piece tree text buffer is a vector of lines (no observable difference; large files go through workbench/large_file.rs). Gap (editor audit): pushEOL not on the undo stack (edit.rs). Full-width chars take two visible columns for tab stops and cursor moves and draw at the font's full-width advance: cargo test -p app full_width_chars_take moving_down_keeps. Language configuration regexes read a class hyphen next to `\w`, `\d` or `\s` as JavaScript does (css `[\w-?]`, folding.rs `marker_regex`): cargo test -p app a_hyphen_next_to_a_class_escape_is_literal. |
+| platform/workspaces | src/vs/platform | M12 | verified | | session.rs, recently_opened.rs, config/src/workspace.rs, workbench/workspace_editing.rs: cargo test -p exthost (workspaces.test.ts stable id case); cargo test -p config workspace:: 5/5; cargo test -p app recently_opened workspace_editing; ui-pair port/fixtures/ui-pair/m12/workspace-folders.json (Remove Folder from Workspace enters Untitled (Workspace)) |
+| editor/browser | src/vs/editor | M8 | ported | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | editor/view.rs, editor/folding.rs, editor/minimap.rs, editor/word_wrap.rs, editor/smooth_scroll.rs, editor/mouse_selection.rs, workbench/editor_view.rs, workbench/gutter_mouse.rs, workbench/editor_view/text_decorations.rs: cargo test -p app editor::view::tests editor::folding minimap section_headers editor_menus selection_corners whitespace control_characters gutter_presses word_wrap smooth_scroll diff_editor diff_gutter switch_side bracket_pair_guide wrapping_indent_repeats without_a_wrapping_indent file_compare char_ranges a_click_without_a_move mouse_selection text_clicks_select a_selecting_drag_below a_drag_into_the_vertical the_bottom_edge_hit a_drag_below_a_comment text_input:: outline_and_border_follow_the_css_cascade a_decoration_outline_is_drawn_outside_its_range decoration_types_set_and_remove_editor_decorations wrapping_a_padded_inlay_hint_skips_its_padding_box a_selection_over_changes_shows_the_selection_toolbar; ui-pair m12/compare.json, port/fixtures/ui-pair/menus/diff-gutter-selection.json, port/fixtures/ui-pair/m8/inlay-hint-wrap.json (port/notes.md milestones 8 and 14) |
+| editor/common | src/vs/editor | M8 | ported | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | app/src/editor, decorations.rs, link_computer.rs, syntax.rs, brackets/tree.rs, the diff crate: cargo test -p app editor:: decorations:: link_computer syntax:: auto_closing brackets lines_in_view_past_the_tokenized_ones the_word_at_a_column full_width_chars_take moving_down_keeps a_hyphen_next_to_a_class_escape_is_literal (13 ignored: upstream's `test.skip` cases); cargo test -p diff; typing on the 52k-line TS file under 2.3 ms median per edit: cargo test --release -p app -- --ignored typing_latency_on_a_large_file. By design: the piece tree text buffer is a vector of lines (large files through workbench/large_file.rs) |
| editor/standalone | src/vs/editor | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
| editor/test | src/vs/editor | M6 | n/a | | upstream test infrastructure; the port tests with cargo test and port/tools |
| editor/contrib/anchorSelect | src/vs/editor/contrib | M8 | verified | | `editor/anchor_select.rs`: the four commands with their keys and `selectionAnchorSet`, the anchor moved by edits as a `NeverGrowsWhenTypingAtEdges` marker, the bar under the word highlights: cargo test -p app anchor; ui-pair notes.txt through the Command Palette; no hover message until editor hovers |
@@ -356,21 +356,21 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| editor/contrib/diffEditorBreadcrumbs | src/vs/editor/contrib | M14 | verified | | the outline of the modified model (every `$provideDocumentSymbols` provider) feeds the breadcrumbs of collapsed unchanged regions (diff_editor/unchanged_regions.rs `breadcrumb_items`): cargo test -p app breadcrumbs_name_the_symbols |
| editor/contrib/dnd | src/vs/editor/contrib | M8 | verified | | `editor/drag_and_drop.rs` (DragAndDropCommand) and `workbench/editor_view/drag_and_drop.rs`: a press on the primary selection drags its text, the dotted `.dnd-target` bar, Alt copies, a key cancels: cargo test -p app drag; ui-pair notes.txt double click then drag |
| editor/contrib/documentSymbols | src/vs/editor/contrib | M13 | verified | | outlineModel.ts (outline_model.rs: groups, ids, compact, enclosing item, markers, flat list; cargo test -p app outline_model with the outlineModel.test.ts updateMarker cases), OutlineModelService cache of 15 (workbench/document_symbols.rs), `_executeDocumentSymbolProvider`; ui-pair against the reference: port/results/navigation.md |
-| editor/contrib/dropOrPasteInto | src/vs/editor/contrib | M13 | verified | | workbench/paste_edits.rs (copyPasteController.ts, postEditWidget.ts, edit.ts): `$prepareDocumentPaste` on copy, `$providePasteEdits` with yield-to order and `editor.pasteAs.preferences`, the post-paste widget and its menu with the configure bar, Paste As with its "Select Paste Action" pick, Paste as Text, `$resolvePasteEdit`, `pasteWidgetVisible`; workbench/paste_edits/drop.rs (dropIntoEditorController.ts, defaultProviders.ts): Shift-drop of files with the dotted target, `$provideDocumentOnDropEdits`, Insert Relative Path/Insert Path, `editor.dropIntoEditor.*`, the post-drop widget and `dropWidgetVisible`: cargo test -p app paste_edits (7 passed); ui-pair d.md paste and Cmd+. (port/results/language-features.md); the paste and drop data transfers carry the clipboard's or the drop's files as `fileData` items (`toExternalVSDataTransfer`) read through `$resolvePasteFileData`/`$resolveDocumentOnDropFileData` (`DataTransferFileCache`), and a paste without a uri list gets Explorer's copied resources (`mergeInDataFromCopy`): cargo test -p app pasted_files_reach_the_providers_as_file_items |
+| editor/contrib/dropOrPasteInto | src/vs/editor/contrib | M13 | verified | | workbench/paste_edits.rs, workbench/paste_edits/drop.rs: cargo test -p app paste_edits pasted_files_reach_the_providers_as_file_items; ui-pair d.md paste and Cmd+. (port/results/language-features.md) |
| editor/contrib/editorState | src/vs/editor/contrib | M8 | verified | | `EditorStateCancellationTokenSource` (Value and Position) on explicit formatting with the editor (format.rs `edit_state`), rename's location resolve and input (rename.rs) and Go to Definition and the other symbol navigations (goto_symbol.rs `run_symbol_navigation`), `TextModelCancellationTokenSource` on formatting without the editor and code actions; keybindingCancellation.ts: `editor.cancelOperation` (Escape while `cancellableOperation`) cancels the active editor's latest pending one (workbench/editor_state.rs): cargo test -p app cancel_operation goto_symbol rename format (55) |
-| editor/contrib/find | src/vs/editor/contrib | M8 | verified | | multi-line find and replace inputs (Ctrl+Enter, "\r\n" shown as "\n", growth to `flexibleMaxHeight` 118): cargo test -p app the_find_input; search, replace pattern, find state, find model with decorations and the controller's actions (editor/find/): cargo test -p app editor::find (the seed keeps the model EOL: a_multiline_seed_takes_the_model_eol), upstream find, findModel (with `_largeReplaceAll`), findController and replacePattern tests; find widget (workbench/find_widget.rs): cargo test -p app the_find_widget; match, current match, find scope and range highlight decorations (find_line_decorations); find context keys and keybindings, Find with Arguments, Go to Match, palette entries (cargo test -p app the_find_widget, editor_actions_show); find and replace history, persisted query options (cargo test -p app history the_find_widget); minimap and overview ruler find markers (cargo test -p app the_find_widget merged_match_lines); a controller and widget per code editor, open and drawn in every group and diff side, histories shared (workbench/code_editors.rs `bind_find_widget`; cargo test -p app each_group_keeps_its_own_find_widget_and_shares_the_history the_original_side_takes_the_focus_selection_and_find); pixel-check window find (port/results/pixels.md) (port/notes.md milestone 8) `editor.wordSeparators` for whole words and the seed word: cargo test -p app the_word_separators |
+| editor/contrib/find | src/vs/editor/contrib | M8 | verified | | editor/find/, workbench/find_widget.rs, workbench/code_editors.rs: cargo test -p app editor::find the_find_input the_find_widget editor_actions_show history merged_match_lines each_group_keeps_its_own_find_widget_and_shares_the_history the_original_side_takes_the_focus_selection_and_find the_word_separators (findModel, findController, replacePattern tests); pixel-check window find (port/results/pixels.md); port/notes.md milestone 8 |
| editor/contrib/floatingMenu | src/vs/editor/contrib | M8 | verified | | `FloatingEditorToolbar` (workbench/floating_menu.rs): the primary actions of `MenuId.EditorContent` at the bottom right, run with the model URI, `.single-button` for one action, the toolbar with the first action primary for more; Define Keybinding over the user keybindings.json and the `editor/content` items of extensions with `contribEditorContentMenu` (git's merge and commit message buttons): cargo test -p app floating_menu editor_content; single button styles moved unchanged from the `define-file-widget.png` pair (port/results/keybindings-editor.md) |
| editor/contrib/folding | src/vs/editor/contrib | M8 | verified | | folding model, ranges, hidden ranges, indent, marker and syntax range providers, gutter controls, fold/unfold keys with the Cmd+K chords and every folding command by id, per-file state in the editor view state, the other editor of a model following its edits until its update Delayer runs (editor/folding.rs, editor/folding_controller.rs, editor/view_state.rs): cargo test -p app editor::folding (foldingModel, foldingRanges, hiddenRangeModel, indentRangeProvider, syntaxFold tests) folding_and_cursor_keys_run_through_the_keybindings view_state the_other_editor_of_a_split_folds_again_after_its_update_delay, pixel-check folded |
| editor/contrib/fontZoom | src/vs/editor/contrib | M8 | verified | | `editor/zoom.rs` (EditorZoom, the mouseWheelZoom gesture), `editor.action.fontZoomIn/Out/Reset`, font size and line height scaled in `EditorMetrics` and `Viewport.line_height`: cargo test -p app zoom; ui-pair notes.txt at levels 1, 2 and -1 |
| editor/contrib/format | src/vs/editor/contrib | M13 | verified | | Format Document/Selection/Modified Lines, `_executeFormat*Provider`, format on type (trigger characters, `editor.formatOnType`), Format on Save with `editor.formatOnSaveMode`, edits made minimal by stringDiff (workbench/format.rs, diff string_diff.rs): cargo test -p app format:: (16), cargo test -p diff string_diff; ui-pair Shift+Option+F on a.ts matches the reference (port/notes.md milestone 13) |
| editor/contrib/gotoError | src/vs/editor/contrib | M13 | verified | | workbench/marker_navigation.rs (gotoError.ts, markerNavigationService.ts, gotoErrorWidget.ts): cargo test -p app marker_navigation (the message's 6px scrollbar: a_long_message_scrolls_with_its_6px_scrollbar); Go menu Next/Previous Problem (menus.rs); ui-pair e.ts F8: the widget as in the reference, which has no resize sash either (port/results/language-features.md Go to Next Problem) |
-| editor/contrib/gotoSymbol | src/vs/editor/contrib | M13 | verified | | goToCommands.ts, goToSymbol.ts, symbolNavigation.ts, referencesModel.ts, referencesController.ts and referencesWidget.ts (workbench/goto_symbol.rs, references_model.rs, workbench/references_peek.rs), goToDefinitionAtPosition.ts and clickLinkGesture.ts (workbench/goto_definition_link.rs): F12, Alt+F12, Shift+F12, Cmd+click with the link and its preview hover, Show Definition Preview Hover, `_execute*Provider`, goToLocations/peekLocations/findReferences, editor context menu, Peek submenu and Go menu items; cargo test -p app goto_symbol references_model references_peek (referencesModel.test.ts); open to the side (`openToSide` actions and peek `openReferenceToSide`) in SIDE_GROUP: cargo test -p app open_to_the_side_opens_the_result_in_a_group_beside; the peek stays open in its editor while the side group is active (cargo test -p app a_reference_opened_to_the_side_opens_in_a_side_group_and_keeps_the_peek); the peek's preview is an embedded code editor of the reference's model with the `reference-decoration` ranges, `togglePeekWidgetFocus` and `inReferenceSearchEditor` (cargo test -p app the_preview_is_an_editor_of_the_reference_model_that_takes_the_focus), a text editor of the host without a view column, active while focused (mainThreadDocumentsAndEditors.ts; cargo test -p app the_preview_is_a_text_editor_of_the_host); ui-pair against the reference: port/results/navigation.md |
+| editor/contrib/gotoSymbol | src/vs/editor/contrib | M13 | verified | | workbench/goto_symbol.rs, references_model.rs, workbench/references_peek.rs, workbench/goto_definition_link.rs: cargo test -p app goto_symbol references_model references_peek open_to_the_side_opens_the_result_in_a_group_beside a_reference_opened_to_the_side_opens_in_a_side_group_and_keeps_the_peek the_preview_is_an_editor_of_the_reference_model_that_takes_the_focus the_preview_is_a_text_editor_of_the_host; ui-pair port/results/navigation.md |
| editor/contrib/gpu | src/vs/editor/contrib | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
-| editor/contrib/hover | src/vs/editor/contrib | M13 | verified | | workbench/content_hover.rs (contentHoverController, hoverOperation timing, markdown/marker/unicode participants, sticky, mouse-getting-closer, `editor.hover.*` settings, showHover/hideHover, Show or Focus Hover with its `focus` argument, `editorHoverVisible`, `editorHoverFocused`: Escape hides the focused hover and focuses the editor, a focused hover stays through mouse moves and leaves, a click in the text hides it; focusable parts with Tab through them and the links, verbosity actions, copy buttons and status bar actions inside them, which Enter or Space activates, `focusedHoverPartIndex` for the verbosity actions, the scroll, page and top/bottom hover actions; hoverAccessibleViews.ts in workbench/accessible_view.rs: Alt+F2 reads the focused part or the whole hover with the part's verbosity actions in the toolbar, Alt+F1 lists them before the part, the view follows the hover's contents and keeps it open, Escape focuses the part again, and a shown workbench hover is read in its place), workbench/content_hover_view.rs (widget placement as `_layoutBoxInPage`, max size, rows, copy button with its "Copied to clipboard" status, marker status bar with View Problem, resize sashes with `_lastDimensions`, the verbosity + and - of a provider's hover with Increase/Decrease Hover Verbosity Level and `verbosityRequest`): cargo test -p app content_hover; ui-pair hover on src/main.ts. The color picker part is workbench/color_picker.rs, the inlay hint tooltip comes from workbench/inlay_hints.rs |
+| editor/contrib/hover | src/vs/editor/contrib | M13 | verified | | workbench/content_hover.rs, workbench/content_hover_view.rs, workbench/accessible_view.rs (hoverAccessibleViews.ts): cargo test -p app content_hover; ui-pair hover on src/main.ts. The color picker part is workbench/color_picker.rs, the inlay hint tooltip workbench/inlay_hints.rs |
| editor/contrib/inPlaceReplace | src/vs/editor/contrib | M8 | verified | | Replace with Previous/Next Value (Shift+Cmd+, and ., palette): number step and value sets of `navigateValueSet`, 350 ms outline in light themes; cargo test -p app editor::in_place_replace (upstream has no test); ui-pair light theme `x = true; y = 41; z = 1.5` from the palette |
-| editor/contrib/indentation | src/vs/editor/contrib | M8 | verified | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | indentation.ts actions (indent using spaces/tabs, tab display size, detect, convert to spaces/tabs) and trimTrailingWhitespaceCommand.ts with their upstream tests, auto-indent on Enter and on type (`editor.autoIndent`), Reindent Lines and Reindent Selected Lines: cargo test -p app indentation editor_status editor::auto_indent (cursor.test.ts indent cases, Auto Indent On Type - TypeScript/JavaScript, shiftCommand.test.ts doc block cases); auto-indent on paste (`editor.autoIndentOnPaste`, `autoIndentOnPasteWithinString`, `AutoIndentOnPaste.trigger`) and the Ruby, PHP and Visual Basic suites of indentation.test.ts pass; the cases upstream skips (`test.skip`: paste 5, Ruby, Go, CPP 3, HTML, Latex, Lua) are `#[ignore]` and fail as upstream (cargo test -p app auto_indent, 115 passed, 13 ignored); indentation.ts actions (indent using spaces/tabs, tab display size, detect, convert to spaces/tabs) and trimTrailingWhitespaceCommand.ts with their upstream tests, auto-indent on Enter and on type (`editor.autoIndent`), Reindent Lines and Reindent Selected Lines: cargo test -p app indentation editor_status editor::auto_indent (cursor.test.ts indent cases, Auto Indent On Type - TypeScript/JavaScript, shiftCommand.test.ts doc block cases); no auto-indent on paste (`editor.autoIndentOnPaste`, default off), not the Ruby, PHP, Go, CPP, HTML, Visual Basic, Latex and Lua suites |
+| editor/contrib/indentation | src/vs/editor/contrib | M8 | verified | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | indentation actions, trimTrailingWhitespaceCommand.ts, auto-indent on Enter, type and paste: cargo test -p app indentation editor_status editor::auto_indent (cursor.test.ts indent cases, shiftCommand.test.ts, indentation.test.ts; upstream's `test.skip` cases are `#[ignore]`, 13 ignored) |
| editor/contrib/inlayHints | src/vs/editor/contrib | M13 | ported | [3 S] inlay_hints.rs:136: a scroll asks the providers while `editor.inlayHints.enabled` is `off` (inlayHintsController.ts:184 returns before its scroll listener) | workbench/inlay_hints.rs over editor/injected_text.rs (the 'InlayHint' debounce: inlay_hints::tests::the_delay_follows_the_providers_answer_time; off a word a hint attaches after its token's start, `_getRangeAtPosition`: inlay_hints::tests::a_hint_off_a_word_attaches_after_the_start_of_its_token; inlayHintsController.ts: cache, fixed lengths while typing, label parts, links, tooltip resolve, double click edits, `editor.inlayHints.*`, `_executeInlayHintProvider`): cargo test -p app injected_text inlay_hints; ui-pair port/fixtures/language-features/steps-color.json (port/results/inlay-hints.md) |
-| editor/contrib/inlineCompletions | src/vs/editor/contrib | M13 | ported | [3 S] inline_completions.rs: `editor.inlineSuggest.showToolbar: always` shows no InlineCompletionsHintsWidget above the ghost text (only the hover's toolbar); [3 S] inline_completions.rs: the hover's toolbar is ~11pt narrower and ~2pt shorter than the reference's, its "..." menu opens right-aligned to the button (reference: left-aligned); [3 S] inline_completions.rs: the char after a mid-line ghost text also anchors the toolbar hover (upstream: only the injected text) | workbench/inline_completions.rs, ghost_text.rs (computeGhostText.ts over diff::lcs_diff), the suggest widget adaptor in workbench/suggest_controller.rs and workbench/suggest_widget.rs: cargo test -p app ghost_text inline_completions (computeGhostText.test.ts cases, getSecondaryEdits.test.ts, inlineCompletions.test.ts: the "Inline Completions" suite with its Forward Stability tests, the Multi Cursor Support suite and both "Change hint" tests; suggestWidgetModel.test.ts "Ghost Text" and "offWhenInlineCompletions", the augmentation over the suggest widget's own list (only_the_answer_with_the_suggest_item_augments_it), the inline preselect of the suggest widget, Shift previewing the replace edit and handleSuggestAccepted), cargo test -p diff lcs_diff (diff.test.ts and upstream outputs); ui-pair port/fixtures/language-features/steps-ghost.json (port/results/inlay-hints.md). Not ported by design: "Emits empty response telemetry after instantiation service disposal" (the port has no telemetry), suggestWidgetModel.test.ts "Active" (test.skip upstream, microsoft/vscode#166023), ghostTextView/layout/scrollToReveal tests (DOM, the ui-pair check stands in). Inline edits, next edit suggestions and their tests (inlineEdits, editKind, longDistanceWidgetPlacement, renameSymbolProcessor, graph) are AI: removed. Items dedupe and select by `semanticId`: cargo test -p app items_with_the_same_trimmed_edit_cycle_as_one. `getDefaultRange` from the word start to the line end: cargo test -p app an_item_without_a_range_replaces_up_to_the_line_end. The hover's toolbar (hintsWidget/hoverParticipant.ts, `MenuId.InlineSuggestionToolbar`, the list's commands and `editor/inlineCompletions/actions`): cargo test -p app the_hover_over_the_ghost_text_shows_the_inline_suggestion_toolbar; ui-pair port/fixtures/ui-pair/menus/inline-completions-toolbar.json with `ARGS=--extensionDevelopmentPath=port/fixtures/extensions/menus`. |
+| editor/contrib/inlineCompletions | src/vs/editor/contrib | M13 | ported | [3 S] inline_completions.rs: `editor.inlineSuggest.showToolbar: always` shows no InlineCompletionsHintsWidget above the ghost text (only the hover's toolbar); [3 S] inline_completions.rs: the hover's toolbar is ~11pt narrower and ~2pt shorter than the reference's, its "..." menu opens right-aligned to the button (reference: left-aligned); [3 S] inline_completions.rs: the char after a mid-line ghost text also anchors the toolbar hover (upstream: only the injected text) | workbench/inline_completions.rs, ghost_text.rs, workbench/suggest_controller.rs, workbench/suggest_widget.rs: cargo test -p app ghost_text inline_completions only_the_answer_with_the_suggest_item_augments_it items_with_the_same_trimmed_edit_cycle_as_one an_item_without_a_range_replaces_up_to_the_line_end the_hover_over_the_ghost_text_shows_the_inline_suggestion_toolbar (computeGhostText, getSecondaryEdits, inlineCompletions, suggestWidgetModel tests); cargo test -p diff lcs_diff; ui-pair port/fixtures/language-features/steps-ghost.json (port/results/inlay-hints.md), port/fixtures/ui-pair/menus/inline-completions-toolbar.json with `ARGS=--extensionDevelopmentPath=port/fixtures/extensions/menus`. Not ported: the telemetry test, the `test.skip` "Active" test, the DOM layout tests; inline edits and next edit suggestions are AI: removed |
| editor/contrib/inlineProgress | src/vs/editor/contrib | M13 | verified | | workbench/inline_progress.rs (inlineProgress.ts): the spinner after 500 ms at the paste or drop position with 1em of room as injected text, its hover, click cancels; the paste falls back to the default paste: cargo test -p app paste_edits (the_paste_progress_makes_room_for_its_spinner); ui-pair d.md paste (no spinner once the provider answers, as in the reference) |
| editor/contrib/insertFinalNewLine | src/vs/editor/contrib | M8 | verified | | `OpenEditor::insert_final_new_line` in `editor/indentation.rs`, `editor.action.insertFinalNewLine` (writable): cargo test -p app insert_final_new_line; ui-pair notes.txt through the Command Palette |
| editor/contrib/lineSelection | src/vs/editor/contrib | M8 | verified | | Expand Line Selection (Cmd+L, palette): cargo test -p app expand_line_selection (lineSelection.test.ts); ui-pair notes.txt Cmd+L twice and on the last line |
@@ -380,7 +380,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| editor/contrib/longLinesHelper | src/vs/editor/contrib | M8 | verified | | `stopRenderingLineAfter` (10000) cuts a line with the "Show more (N)" span (viewLineRenderer.ts, editor.rs `line_overflow`); a press at or past the cut renders every line whole (editor_view.rs `show_long_line`); reveal past the cut, the span's scroll width and the content width of a fully drawn file (`_updateLineWidths`): cargo test -p app long_lines, cargo test -p app show_more_span; ui-pair long.txt End, click on the span |
| editor/contrib/message | src/vs/editor/contrib | M8 | verified | | `workbench/editor_message.rs`: message box with links above or below the cursor, its close rules and Escape (`leaveEditorMessage`); the message reaches the alert live region; messageController.test.ts covers Markdown images, which the port's plain messages do not have; cargo test -p app readonly; ui-pair ro.txt type, Escape, Delete, Down |
| editor/contrib/middleScroll | src/vs/editor/contrib | M8 | verified | | `editor.scrollOnMiddleClick`: a middle press starts a session that scrolls by the pointer's offset past 5px every 32ms, a press, a key or a release after scrolling ends it, the dot marks the press (middle_scroll.rs): cargo test -p app middle_scroll; ui-pair lines.txt middle drag 120px down (port/tools/ui-pair `button`) |
-| editor/contrib/multicursor | src/vs/editor/contrib | M8 | verified | | insertCursorAbove/Below, insertCursorAtEndOfEachLineSelected, addCursorsToTop/Bottom, Focus Next/Previous Cursor, column selection, Alt+click and drag (editor/multicursor.rs): cargo test -p app editor::multicursor::tests; Add Selection to Next/Previous Find Match, Move Last Selection to Next/Previous Find Match, selectHighlights, changeAll, `selectedTextMatchMode`, the find option overrides and the Selection menu `3_multi` items (editor/find/multicursor.rs): cargo test -p app editor::find::multicursor, upstream multicursor tests; SelectionHighlighter (`editor.selectionHighlight`, `selectionHighlightMultiline`, `selectionHighlightMaxLength`) with the upstream "Selected text occurrence matching highlights" tests; `_highlightFindOptions`: the find options widget or the find input's flash (workbench/find_options_widget.rs): cargo test -p app find_options; `announceCursorChange`: the commands that add cursors announce "Cursor added: line L column C" ("Cursors added: ...") in the polite status live region (editor/multicursor.rs, commands.rs `run_handler`, workbench/accessibility.rs `aria_status`): cargo test -p app multi_cursor_commands_announce_the_added_cursors; `editor.wordSeparators` for Cmd+D and select all: cargo test -p app cmd_d_and_select_all_take_the_word_separators |
+| editor/contrib/multicursor | src/vs/editor/contrib | M8 | verified | | editor/multicursor.rs, editor/find/multicursor.rs, workbench/find_options_widget.rs: cargo test -p app editor::multicursor::tests editor::find::multicursor find_options multi_cursor_commands_announce_the_added_cursors cmd_d_and_select_all_take_the_word_separators (upstream multicursor and selection highlight tests) |
| editor/contrib/parameterHints | src/vs/editor/contrib | M13 | verified | | workbench/parameter_hints.rs (parameterHintsModel.ts, parameterHintsWidget.ts, provideSignatureHelp.ts): trigger and retrigger characters from the keyboard, content-change retriggers with `activeSignatureHelp`, Cmd+Shift+Space, Up/Down overloads with `cycle`, Escape, `_executeSignatureHelpProvider`: cargo test -p app parameter_hints; ui-pair port/results/language-features.md (Signature help). A new active parameter is read out once (`hint`), the docs scroll with their 8px scrollbar: cargo test -p app parameter_hints. |
| editor/contrib/peekView | src/vs/editor/contrib | M13 | verified | | references peek (workbench/references_peek.rs): head with file, folder, title and count, close action, tree and preview in the `peekView*` colors, referenceSearchVisible, togglePeekWidgetFocus; marker widget (workbench/marker_navigation.rs); the embedded editors of the references, call and type hierarchy and quick diff peeks (`EmbeddedCodeEditorWidget`, `EmbeddedDiffEditorWidget`) are code editors of the shown model, one per peek (editor.rs `PeekEditor`), `inReferenceSearchEditor` in the references and hierarchy previews, the quick diff peek's inline diff (port/notes.md milestone 14); cargo test -p app references_peek goto_symbol hierarchy quick_diff_peek; ui-pair against the reference: port/results/navigation.md, m14/quick-diff-peek.json |
| editor/contrib/placeholderText | src/vs/editor/contrib | M8 | n/a | | the workbench text editor never sets `placeholder` and it is not a setting; only embedded editors do (comment reply, chat, SCM input), the port has none (port/notes.md milestone 8) |
@@ -388,12 +388,12 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| editor/contrib/readOnlyMessage | src/vs/editor/contrib | M8 | verified | | a cursor edit in a read-only editor shows the reason (session, settings, permissions) with its `command:` links; cargo test -p app readonly; ui-pair ro.txt matches the reference |
| editor/contrib/rename | src/vs/editor/contrib | M13 | verified | | F2 with `$resolveRenameLocation`, rename input, `$provideRenameEdits` with provider fallback, `_executeDocumentRenameProvider`, `_executePrepareRename` (workbench/rename.rs): cargo test -p app rename:: (7); ui-pair F2, type, Enter on a.ts matches the reference input and the renamed text and caret. `acceptRenameInputWithPreview` (Cmd+Enter, `editor.rename.enablePreview`) and edits that need confirmation go through the Refactor Preview; the workspace edit's text, file and cell edits run in order in one undo group (`BulkEdit.perform`): cargo test -p app cmd_enter_previews_the_edit_and_apply_runs_its_file_and_text_edits; ui-pair F2 on src/main.ts: the `Enter to Rename, ⌘Enter to Preview` label and the 210x50.2 box match the reference (287 px differ at 10% fuzz in a 700x140 crop, anti-aliasing) |
| editor/contrib/sectionHeaders | src/vs/editor/contrib | M8 | verified | | `findSectionHeaders` with the upstream tests (editor/section_headers.rs): cargo test -p app section_headers; minimap labels with the `editor.minimap` showRegionSectionHeaders, showMarkSectionHeaders, markSectionHeaderRegex, sectionHeaderFontSize and sectionHeaderLetterSpacing settings (workbench/minimap_view.rs); found on the UI thread per model version, not in the editor worker (port/notes.md milestone 8) |
-| editor/contrib/semanticTokens | src/vs/editor/contrib | M13 | verified | | token classification, theme `semanticTokenColors` and `semanticHighlighting`, `editor.semanticTokenColorCustomizations`, DTO decoding and deltas (semantic_tokens.rs: cargo test -p app semantic_tokens, the tokenStyleResolving, semanticTokensDto and semanticTokensProviderStyling tests); document and viewport providers, `editor.semanticHighlighting.enabled`, styles over the TextMate tokens, the `_provide*SemanticTokens*` commands, both debounces learned from the answer times (semantic_tokens::tests::the_document_delay_follows_the_providers_answer_time), the reset on a language change and a theme-only refetch (a_language_change_drops_the_tokens_and_asks_again, a_setting_change_that_keeps_coloring_on_keeps_the_tokens) (workbench/semantic_tokens.rs: cargo test -p app workbench::semantic_tokens); ui-pair f.ts: the readonly `value` is #4FC1FF in both (TextMate alone gives #9CDCFE) (port/results/language-features.md Semantic tokens and language status); the tokens live on each text model, a hidden model keeps them and is not asked (a_model_shown_again_keeps_its_tokens) |
+| editor/contrib/semanticTokens | src/vs/editor/contrib | M13 | verified | | semantic_tokens.rs, workbench/semantic_tokens.rs: cargo test -p app semantic_tokens workbench::semantic_tokens a_language_change_drops_the_tokens_and_asks_again a_setting_change_that_keeps_coloring_on_keeps_the_tokens a_model_shown_again_keeps_its_tokens (tokenStyleResolving, semanticTokensDto, semanticTokensProviderStyling tests); ui-pair f.ts: the readonly `value` is #4FC1FF in both (port/results/language-features.md Semantic tokens and language status) |
| editor/contrib/smartSelect | src/vs/editor/contrib | M8 | verified | [scheduling L] minimap.rs:87; minimap_view.rs:432; unicode_highlight.rs:63; indentation.rs:43; comment.rs:45; smart_select.rs:292: sticky minimap sampling, worker section headers and unicode highlights, tokenizeIfCheap, the 30 ms smart select yield. Accepted as "Scheduling differences" only with a measured same result and typing on a 50k-line TS file under 16 ms per edit; otherwise class 3. Audit inputs at 5e5b1b0a915. | Expand and Shrink Selection (Ctrl+Shift+Right/Left, Selection menu, palette, `editor.smartSelect.*`) over the word and bracket providers: cargo test -p app smart_select (19, all 14 smartSelect.test.ts cases, #73850 on the whitespace step alone; `getWordAtText` with its 15-char windows and 1000-char cut: the_pattern_word_at); extension `SelectionRangeProvider`s replace the bracket ranges and `_executeSelectionRangeProvider` (workbench/selection_ranges.rs): cargo test -p app selection_ranges (2) |
| editor/contrib/snippet | src/vs/editor/contrib | M13 | verified | | editor/snippet_session.rs and workbench/snippet_controller.rs (snippetSession.ts, snippetController2.ts): placeholders per cursor, Tab/Shift+Tab/Escape, choices in the suggest widget, `inSnippetMode`/`hasNextTabstop`/`hasPrevTabstop`/`inSnippetChoice`, placeholder decorations: placeholder and variable transforms with every `FormatString` form (editor/snippet/transform.rs, snippetParser.test.ts cases), `SnippetSession.merge` of a snippet inserted in a running session: cargo test -p app -- snippet (92 passed with tab_completion suggest); api-tests `vscode API - editor` insertSnippet cases pass (port/results/api-tests.md M13) |
-| editor/contrib/stickyScroll | src/vs/editor/contrib | M8 | verified | | `StickyModelProvider` with the `outlineModel` default: the document symbols' scopes (`_stickyModelFromOutlineModel`: selection line to range end, children whose selection line is their last line left out as upstream, a child on its parent's line replaced by its children, the widest provider group or the one kept from the last model) used before the folding regions, updated 300 ms after model, content, provider and `editor.stickyScroll` changes (editor/sticky_scroll.rs, workbench/sticky_outline.rs) with the upstream stickyScroll.test.ts outline cases; folding-provider model, candidates and widget state; widget, clicks, Cmd+click go to definition, Shift end lines, folding icons, keyboard focus, the context menu and the toggle and focus actions (workbench/editor_view/sticky_scroll_view.rs): cargo test -p app sticky, pixel-check folded; the Cmd+hover underline of a plain-text span with definitions (`onMouseMoveOrRelevantKeyDown`, asked at the span's second character): cargo test -p app cmd_over_a_sticky_span_with_definitions_underlines_it; the click's `goToDefinitionWithLocation`, asked at the span without moving the cursor: cargo test -p app go_to_definition_with_location_asks_at_the_span_and_keeps_the_cursor |
+| editor/contrib/stickyScroll | src/vs/editor/contrib | M8 | verified | | editor/sticky_scroll.rs, workbench/sticky_outline.rs, workbench/editor_view/sticky_scroll_view.rs: cargo test -p app sticky cmd_over_a_sticky_span_with_definitions_underlines_it go_to_definition_with_location_asks_at_the_span_and_keeps_the_cursor (stickyScroll.test.ts outline cases); pixel-check folded |
| editor/contrib/structuralDiff | src/vs/editor/contrib | M13 | removed | | `_executeStructuralDiffProvider` serves the proposed `structuralDiff` API, which only extension/copilot enables (product.json enables it for no other extension); Copilot is removed by the no-AI decision (port/notes.md Copilot Chat) |
-| editor/contrib/suggest | src/vs/editor/contrib | M13 | verified | | suggest.rs, workbench/suggest_controller.rs, workbench/suggest_widget.rs (completionModel.ts, suggestModel.ts, suggestController.ts, suggestWidget.ts, suggestWidgetDetails.ts, the word based provider, suggestMemory.ts as suggest/memory.rs, wordDistance.ts as suggest/word_distance.rs): cargo test -p app -- suggest (suggest::memory mirrors suggestMemory.test.ts, recently_used_focuses_the_last_accepted_item, suggest_locality_bonus_can_boost_current_word_90515, equal_scores_sort_the_word_used_in_the_block_first, the_status_bar_shows_the_actions_of_the_focused_item for suggestWidgetStatus.ts, the_south_sash_resizes_and_persists_the_height for the list's sash and resetSuggestSize, details_go_north_of_a_list_above_the_line, details_beside_a_list_above_the_line_align_at_its_bottom, the_details_east_sash_resizes_them_for_the_session for SuggestDetailsOverlay's sashes and the sash hover delay); ui-pair src/main.ts (typing, Down, details, Ctrl+Space, accept) matches; cargo test -p app -- workbench::inline_completions::tests::quick_suggest the_off_shorthand a_suppressing_inline_suggestion (suggestModel.test.ts "SuggestModel - offWhenInlineCompletions": `_waitForInlineCompletionsAndTrigger`, its 750 ms timeout and read-only check, `canShowQuickSuggest`, the `EditorQuickSuggestions` string shorthand); async additional edits kept unless one starts after the earliest change since the accept, in the accept's undo element: cargo test -p app resolve_additional_text_edits (suggestController.test.ts "resolve additionalTextEdits async when needed" and its typing, simple conflict and conflict cases); `_executeCompletionItemProvider` with the snippet support's items, sorted as `SnippetSortOrder.Bottom`: cargo test -p app execute_completion_item_provider_adds_the_snippets_last |
+| editor/contrib/suggest | src/vs/editor/contrib | M13 | verified | | suggest.rs, suggest/memory.rs, suggest/word_distance.rs, workbench/suggest_controller.rs, workbench/suggest_widget.rs: cargo test -p app -- suggest resolve_additional_text_edits execute_completion_item_provider_adds_the_snippets_last (completionModel, suggestMemory, suggestController tests); cargo test -p app -- workbench::inline_completions::tests::quick_suggest the_off_shorthand a_suppressing_inline_suggestion (suggestModel.test.ts offWhenInlineCompletions); ui-pair src/main.ts (typing, Down, details, Ctrl+Space, accept) matches |
| editor/contrib/symbolIcons | src/vs/editor/contrib | M13 | verified | | symbol_icons.rs: kind icons and `symbolIcon.*` colors; ui-pair suggest rows match the reference; symbol_icons.rs: `SymbolKinds.toIcon`, codicon aliases to their SVG, the `symbolIcon.*Foreground` registry defaults (cargo test -p app symbol_icons); ui-pair against the reference: port/results/navigation.md; `symbol-customcolor` draws symbol-color's glyph (0xeb5c), not add (cargo test -p app codicons::tests::every_icon_id_draws_the_svg_of_its_code_point) |
| editor/contrib/toggleTabFocusMode | src/vs/editor/contrib | M8 | verified | | `editor.action.toggleTabFocusMode` (Ctrl+Shift+M) in `workbench/editor_status.rs`, `editorTabMovesFocus`, the prominent "Tab Moves Focus" status item, Tab and Shift+Tab between the editor and the status bar: cargo test -p app tab_focus; ui-pair notes.txt |
| editor/contrib/tokenization | src/vs/editor/contrib | M7 | verified | | Developer: Force Retokenize (`editor.action.forceRetokenize`): resets the model tokens and tokenizes every line, logging the time (cargo test -p app syntax::tests::force_retokenize_tokenizes_every_line_again) |
@@ -403,23 +403,23 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| editor/contrib/wordOperations | src/vs/editor/contrib | M5 | verified | | editor/word_operations.rs ports cursorWordOperations.ts (WordOperations, WordPartOperations, `editor.wordSeparators`, `editor.wordSegmenterLocales` through ICU word segments, the auto-closing pair delete) with the 16 move, 8 delete and Delete Word commands: cargo test -p app word_operations (43 passed: every wordOperations.test.ts and wordPartOperations.test.ts case) |
| editor/contrib/wordPartOperations | src/vs/editor/contrib | M8 | verified | | cursorWordPart(Left/Right)(Select), deleteWordPart(Left/Right), aliases cursorWordPartStartLeft(Select); cargo test -p app word_part (upstream cases); ui-pair Ctrl+Alt arrows, Ctrl+Alt+Backspace/Delete |
| editor/contrib/zoneWidget | src/vs/editor/contrib | M13 | verified | | editor/view_zones.rs (cargo test -p app view_zones), arrow and frame; the references peek's resize sash (whole lines, 5 to 35) and split view sash, stored as `peekViewLayout` (cargo test -p app references_peek); ui-pair against the reference: port/results/navigation.md |
-| workbench/parts/activitybar | workbench part | M9 | verified | | view icons with Explorer active when a folder is open, Explorer and Search clicks, the Manage gear (an accessibility button labeled with its title; a press opens the menu, port/tools/update-check) and its MenuId.GlobalActivity menu beside it with every contribution of the kept features (Command Palette, Profiles, Settings, Extensions, Keyboard Shortcuts, Snippets, Tasks, Themes, Layout Density, the update items) and the update badge (cargo test -p app manage_menu; ui-pair m11/manage-menu.json, port/results/manage-menu.md; Settings, Extensions and Tasks were missing until then: the earlier evidence checked the menu's placement, not its items against the reference); Source Control, Run and Debug and Extensions clicks open their views and their items badge the change and restart counts (cargo test -p app the_source_control_run_and_debug_and_extensions_items_open_their_views the_source_control_and_extensions_items_badge_their_counts); the bar's context menu (globalCompositeBar.ts, compositeBar.ts `getContextMenuActions`, activitybarPart.ts `fillContextMenuActions`; workbench/activity_bar_menu.rs): container toggles checked while pinned with their keybindings, unpinned containers leave the bar (`workbench.activity.pinnedViewlets2`), the last pinned one disabled, Accounts unchecked by default, Activity Bar Position and Size, Move Primary Side Bar (cargo test -p app activity_bar_menu; ui-pair icons/activity-bar-menu.json, port/results/icons.md); checking Accounts shows no icon: the Accounts icon is removed by decision (no sign-in); pixel-check (port/results/pixels.md): same geometry, codicon edge pixels and active background rounding only; keyboard: `workbench.action.focusActivityBar` (sidebarPart.ts `focusActivityBar`, a hidden bar comes back first), then actionbar.ts Up/Down/Home/End and Enter/Space over the view containers, Tab and Shift+Tab between them and the global bar's Manage gear (cargo test -p app the_activity_bar_items_take_the_keyboard_focus_with_their_hover) |
+| workbench/parts/activitybar | workbench part | M9 | verified | | workbench/activity_bar_menu.rs: cargo test -p app manage_menu activity_bar_menu the_source_control_run_and_debug_and_extensions_items_open_their_views the_source_control_and_extensions_items_badge_their_counts the_activity_bar_items_take_the_keyboard_focus_with_their_hover; port/tools/update-check; ui-pair m11/manage-menu.json (port/results/manage-menu.md), icons/activity-bar-menu.json (port/results/icons.md); pixel-check (port/results/pixels.md). The Accounts icon is removed by decision (no sign-in) |
| workbench/parts/auxiliarybar | workbench part | M11 | verified | | card with the composite title (the moved containers' tabs, their title actions, Toggle Maximized Secondary Side Bar with its toggled background, Hide Secondary Side Bar) over the active view or the empty message; Alt+Cmd+B, Maximize/Restore/Toggle Maximized Secondary Side Bar (layout.ts `setAuxiliaryBarMaximized`, `auxiliaryBarMaximized`); a panel tab dropped on it moves its container there (`views.customizations`, `workbench.auxiliarybar.activepanelid`) with the empty part's drop feedback; cargo test -p app part_grid (maximizing_the_secondary_side_bar_hides_the_other_parts_and_restore_brings_them_back, a_panel_view_dropped_on_the_secondary_side_bar_opens_there_and_stays_there); ui-pair port/fixtures/ui-steps/auxiliarybar.json (port/results/layout.md, secondary side bar): empty state, maximize tooltip, maximized and restored, the drag feedback and the moved Problems view as the reference |
| workbench/parts/banner | workbench part | M11 | verified | | workbench/banner.rs (bannerPart.ts): one item by priority, icon, message with ellipsis, link actions, Close Banner; Focus Banner, `bannerFocused`, arrow keys through the links and the close button, Enter and Space on them. `cargo test -p app banner`; verified: ui-pair banner.json vs the reference (port/results/windows.md, milestone 11 verification) |
| workbench/parts/chat | workbench part | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/parts/dialogs | workbench part | M11 | verified | | workbench/dialog_view.rs custom dialog, used for every message box with `window.dialogStyle: custom` (severity codicons, plain detail); cargo test -p app dialogs; verified: ui-pair dialogs.json `custom-modal` vs the reference (port/results/windows.md, milestone 11 verification): size, buttons in macOS order, Close Dialog; its buttons and Close Dialog are accessibility buttons named by their labels (dialog.ts monaco Buttons, the close action's aria-label): port/tools/update-check pre-release presses "Trust Publisher & Install" through them |
-| workbench/parts/editor | workbench part | M8 | ported | [3 S] modal_editor_group.rs:220: a scroll over the Settings modal editor scrolls the text editor below it and not the settings list (GUI, port/notes.md Scroll frame costs), where modalEditorPart.ts's overlay takes the wheel <br> [3 S] modal_editor_group.rs:41: `open_preferences_editor` opens Settings, Keyboard Shortcuts, Profiles and Workspace Trust in the modal group also with `workbench.editor.useModal` `off`, where preferencesService.ts:392 opens them as editor tabs in the active group <br> [3 S] keybindings_editor_view.rs `modal_header`: the built-in `modalEditor/editorTitle` items are not menu entries: the preferences ones are one hardcoded JSON action (`modal_editor_title_action`), editor.contribution.ts `enableInModalMode` items (Previous/Next Change, Reopen as Text) are missing; [3 S] keybindings_editor_view.rs `modal_editor_menu_actions`: header buttons are ~3pt narrower than the reference's, the "..." menu opens right-aligned to the button where the reference's is left-aligned, and the "..." draws no active background while open (ui-pair menus/modal-editor-title.json, shot `more`); [3 S] a submenu contributed to `modalEditor/editorTitle` gets no dropdown button | breadcrumbs click, file and outline pickers, `focusAndSelect`, `selectFocused`, `focusNext/PreviousWithPicker`, `revealFocusedFromTreeAside`, `toggleToOn` and `breadcrumbs.useQuickPick` (breadcrumbsControl.ts, breadcrumbsPicker.ts: cargo test -p app workbench::breadcrumbs; verified: ui-pair m8/breadcrumbs-pickers.json with `FILE=src/main.ts`, the picker's place, arrow, rows and icons and the focused last item match the reference), connected tab strip (preview/pinned, close, split and more actions), a dirty tab still open in another group closes without the save prompt (editorGroupView.ts `isOpenedInOtherGroup`: cargo test -p app the_wait_marker_waits_for_the_dirty_file_to_be_saved), breadcrumbs, text editor with gutter, current line, indent guides, word highlight, overview ruler, click, drag and keyboard selection, typing, undo, clipboard, save and dirty tabs (port/notes.md milestone 5): cargo test -p app editor::tests (91), keys_and_typed_text_edit_the_focused_editor_and_reach_the_host; tab context menu (Close, Close Others, Close to the Right, Close Saved, Close All, Keep Open; port/results/contextmenu.md): cargo test -p app editor_menus (8); `_workbench.open` and `vscode.open` (file, untitled with its path, web link, view columns): cargo test -p app workbench_open (3), `_workbench.diff` with the diff editor: cargo test -p app diff_editor; editor groups and splits (split, move, join, focus, tab drag and drop with editorDropTarget.ts split areas): cargo test -p app editor_groups (11), editor_grid (14); locked scrolling (workbench/scroll_locking.rs): cargo test -p app scroll_locking; editorpart.state restored from workspace storage: cargo test -p app the_grid_and_its_editors_come_back_from_workspace_storage; pixel-check file window (port/results/pixels.md milestone 4); all run at the milestone 20 sweep; one group: connected tab strip (preview/pinned, close, split and more actions drawn), breadcrumbs, text editor with gutter, current line, indent guides, word highlight, overview ruler, click, drag and keyboard selection, typing, undo, clipboard, save and dirty tabs (port/notes.md milestone 5); tab context menu with Close, Close Others, Close to the Right, Close Saved, Close All, Keep Open since milestone 9 (port/results/contextmenu.md, cargo test -p app editor_menus); `_workbench.open` and `vscode.open` open a file, an untitled file with its path or a web link (cargo test -p app workbench_open, port/results/api-tests.md M12 `_workbench.open`), every view column in the one group; no `_workbench.diff` (diff editor); editor groups and splits since milestone 11 (split, move, join, focus, tab drag and drop with editorDropTarget.ts split areas; cargo test -p app editor_groups, editor_grid); no scrolling sync; minimap since milestone 8; cargo test -p app (editor::tests, workbench keys_and_typed_text_edit_the_focused_editor_and_reach_the_host); pixel-check file window (port/results/pixels.md milestone 4, unchanged at milestone 5); editorpart.state: the grid and the groups' file editors restored from workspace storage (cargo test -p app the_grid_and_its_editors_come_back_from_workspace_storage); one group: connected tab strip (preview/pinned, close, split and more actions drawn), breadcrumbs, text editor with gutter, current line, indent guides, word highlight, overview ruler, click, drag and keyboard selection, typing, undo, clipboard, save and dirty tabs (port/notes.md milestone 5); tab context menu with Close, Close Others, Close to the Right, Close Saved, Close All, Keep Open since milestone 9 (port/results/contextmenu.md, cargo test -p app editor_menus); `_workbench.open` and `vscode.open` open a file, an untitled file with its path or a web link (cargo test -p app workbench_open, port/results/api-tests.md M12 `_workbench.open`), every view column in the one group; no `_workbench.diff` (diff editor); editor groups and splits since milestone 11 (split, move, join, focus, tab drag and drop with editorDropTarget.ts split areas; cargo test -p app editor_groups, editor_grid); no scrolling sync; minimap since milestone 8; cargo test -p app (editor::tests, workbench keys_and_typed_text_edit_the_focused_editor_and_reach_the_host); pixel-check file window (port/results/pixels.md milestone 4, unchanged at milestone 5); breadcrumbs editor type picker (editor_type_picker.rs, editorTypePicker.ts) for text and diff editors: Text Diff Editor label, `priority.diffEditor` ranks, `workbench.diffEditorAssociations`, Set Default (Diff Only), Open Original/Modified: cargo test -p app editor_type_picker; ui-pair m12/editor-type.json matches, the menus' width included; the editor title's ... menu (MenuId.EditorTitle with Reopen Editor With, the button's `toolbar.activeBackground` while it shows), the empty group context menu (MenuId.EmptyEditorGroupContext) and the watermark shortcuts: ui-pair m11/editor-menus.json and m11/watermark-tips.json (port/results/auxiliary-windows.md), cargo test -p app editor_menus editor_type_picker; the empty group menu's New Terminal; the Text Editor control at a second start, restored from the `memento/customEditors` profile memento as contributedCustomEditors.ts does (cargo test -p app editor_type_picker custom_editors, ui-pair m12/editor-type-second-start.json); terminal editors (terminalEditorService.ts, terminalEditorInput.ts): Create New Terminal in Editor Area, Move Terminal into Editor Area and into the Panel, the terminal tab's context and title menus, `TabInputKind.TerminalEditorInput` tabs (cargo test -p app terminal_editor, ui-pair m12/terminal-editor.json); terminal editors restored after a restart (terminalEditorSerializer.ts); the terminal tab menus' Change Color, Change Icon, Toggle Size to Content Width and Move Terminal into New Window with the color and icon pickers (cargo test -p app terminal_editor icon_select_box, ui-pair m12/terminal-pickers.json and m12/terminal-tab-list-menu.json, m12/editor-type-second-start.json); `workbench.editor.enablePreview` off opens every editor pinned and Toggle Keep Editors pins the preview editor (cargo test -p app previews_off_pins_every_opened_editor); tab labels keep fractional text widths (vendored GPUI elements/text.rs; cargo test -p app tab_labels_keep, ui-pair icons/seti.json); `workbench.editor.showTabs` per part (editorTitleControl.ts): `single` draws singleEditorTabsControl.ts, the active editor's label 35px high, its breadcrumbs inline with `/` while the group is active, else its `workbench.editor.labelFormat` description, the close or unpin action, the actions at half opacity in an inactive group, `none` only the breadcrumbs row, `editorTabsVisible` (workbench/editor_view.rs `single_editor_tab_title`; cargo test -p app show_tabs_picks_the_title_control_and_zen_mode_enforces_its_own; ui-pair `show-tabs.json` with SETTINGS single and none). `workbench.editor.editorActionsLocation` (titlebarPart.ts `editorActionsEnabled`): `titleBar`, or `default` with `showTabs: none`, draws the editor actions in the title bar before the layout controls with their overflow, Customize Layout moves into it (layoutActions.ts `EditorActionsInTitleBar`), the command center names the active file with its dirty dot, `hidden` draws them nowhere, and titlebarActions.ts `ToggleEditorActions` keeps the hidden location in profile storage; the six Show/Hide Editor Tabs commands (layoutActions.ts `AbstractSetShowTabsAction`) and the Editor Actions Position setters with their Tab Bar and Editor Actions Position submenus in View > Appearance and the tab bar's `EditorTabsBarContext` menu (workbench/editor_view.rs `title_bar_has_editor_actions`, workbench/editor_menus.rs `show_tabs_bar_context_menu`; cargo test -p app show_tabs_none_moves_the_editor_actions_into_the_title_bar the_tab_bar_menu_switches_the_tabs_mode the_editor_actions_toggle_restores_the_hidden_location menubar; ui-pair `show-tabs.json` with SETTINGS none: the title bar's split, close, separator, layout controls and `...` and the command center's main.ts match the reference); breadcrumbs focus mode (workbench/breadcrumbs.rs, breadcrumbsControl.ts): Focus Breadcrumbs focuses the last item, Left and Right move the focus, Space and Cmd+Enter reveal the focused file or symbol, Escape focuses the editor, the focused item underlined in `breadcrumb.focusForeground`, `breadcrumbsActive`: cargo test -p app the_keyboard_focuses_moves_through_and_reveals_the_breadcrumbs; the modal part's `modalEditor/editorTitle` actions (modalEditorPart.ts:425 `createEditorActions`): the menu's `navigation` items sorted with the JSON action by order then title, its other groups in a `...` (keybindings_editor_view.rs `modal_editor_menu_actions`; cargo test -p app the_modal_header_shows_the_modal_editor_title_menu; ui-pair menus/modal-editor-title.json: the order and the overflow item match the reference) |
+| workbench/parts/editor | workbench part | M8 | ported | [3 S] modal_editor_group.rs:220: a scroll over the Settings modal editor scrolls the text editor below it and not the settings list (GUI, port/notes.md Scroll frame costs), where modalEditorPart.ts's overlay takes the wheel <br> [3 S] modal_editor_group.rs:41: `open_preferences_editor` opens Settings, Keyboard Shortcuts, Profiles and Workspace Trust in the modal group also with `workbench.editor.useModal` `off`, where preferencesService.ts:392 opens them as editor tabs in the active group <br> [3 S] keybindings_editor_view.rs `modal_header`: the built-in `modalEditor/editorTitle` items are not menu entries: the preferences ones are one hardcoded JSON action (`modal_editor_title_action`), editor.contribution.ts `enableInModalMode` items (Previous/Next Change, Reopen as Text) are missing; [3 S] keybindings_editor_view.rs `modal_editor_menu_actions`: header buttons are ~3pt narrower than the reference's, the "..." menu opens right-aligned to the button where the reference's is left-aligned, and the "..." draws no active background while open (ui-pair menus/modal-editor-title.json, shot `more`); [3 S] a submenu contributed to `modalEditor/editorTitle` gets no dropdown button | breadcrumbs, tab strip, text editor, groups, title menus, terminal editors, `workbench.editor.showTabs` and `editorActionsLocation` (workbench/editor_view.rs, workbench/editor_menus.rs, editor_type_picker.rs, scroll_locking.rs; port/notes.md milestone 5): cargo test -p app workbench::breadcrumbs editor::tests keys_and_typed_text_edit_the_focused_editor_and_reach_the_host editor_menus workbench_open diff_editor editor_groups editor_grid scroll_locking the_grid_and_its_editors_come_back_from_workspace_storage the_wait_marker_waits_for_the_dirty_file_to_be_saved editor_type_picker custom_editors terminal_editor icon_select_box previews_off_pins_every_opened_editor tab_labels_keep show_tabs_picks_the_title_control_and_zen_mode_enforces_its_own show_tabs_none_moves_the_editor_actions_into_the_title_bar the_tab_bar_menu_switches_the_tabs_mode the_editor_actions_toggle_restores_the_hidden_location menubar the_keyboard_focuses_moves_through_and_reveals_the_breadcrumbs the_modal_header_shows_the_modal_editor_title_menu; ui-pair m8/breadcrumbs-pickers.json, m12/editor-type.json, m12/editor-type-second-start.json, m11/editor-menus.json, m11/watermark-tips.json, m12/terminal-editor.json, m12/terminal-pickers.json, m12/terminal-tab-list-menu.json, icons/seti.json, show-tabs.json, menus/modal-editor-title.json; pixel-check file window (port/results/pixels.md milestone 4); port/results/contextmenu.md, port/results/auxiliary-windows.md, port/results/api-tests.md |
| workbench/parts/notifications | workbench part | M11 | verified | | workbench/notifications_view.rs: toasts (3 at most, purge 10/12/15s unless sticky, focused or hovered, spam protection), notifications center (Clear All, Do Not Disturb menu with per-source filters, Hide), rows with expand, collapse, clear, More Actions, buttons, links, Copy Text, double-click toggle; status bar bell states and tooltips; notificationsCommands.ts commands and context keys; geometry from the reference DOM (port/tools/ref-dom); cargo test -p app notifications_view; `workbench.notifications.position` (bottom right, bottom left, top right with the title bar bell); no toast animation, no screen reader announcements; verified: ui-pair messages.json `center`, `progress` vs the reference (port/results/windows.md, milestone 11 verification) |
| workbench/parts/panel | workbench part | M11 | verified | | bottom centered card, view tabs from register_panel_view with the "..." overflow of compositeBar.ts (cargo test -p app workbench::panel::, ui-pair port/results/problems.md), `<view id>.focus` per view, Maximize/Restore, Close, Cmd+J, active view in workspace storage; Problems, Output, Debug Console, Test Results (`hideIfEmpty`) and Terminal views with their title actions (cargo test -p app editor_groups the_output_view_shows_in_the_panel, output_view, the_debug_console_and_test_results_are_panel_views, terminal); part_grid tests, ui-pair port/results/layout.md; no panel position or alignment change, no Views and More Actions menu; verified: ui-pair port/results/problems.md (milestone 11 verification): tabs, "..." overflow and the filter box as the reference; tabs at Chromium's fractional text widths (the Problems tab with its badge was 2px wider: GPUI rounds a text element's width up), the filter in the view below 600px of width (`shouldShowFilterInHeader`) |
| workbench/parts/partGrid | workbench part | M11 | verified | | workbench/layout.rs grid on split_view.rs (splitview.ts priorities, snap, visibility), workbench/part_grid.rs sashes, hidden parts, sizes and visibility in LayoutStateModel storage keys: cargo test -p app layout part_grid split_view (reference geometry at 1024x768, Cmd+B for the next open, sash drag, snap); ui-pair grid steps, port/results/layout.md |
| workbench/parts/sessions | workbench part | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/parts/sidebar | workbench part | M11 | verified | | Explorer and Search; compact activity bar for top and bottom (side_bar.rs) with every container the activity bar shows: built-in, Testing, extensions' `viewsContainers.activitybar` from startup and after an install, and generated ones (cargo test -p app the_top_activity_bar_shows_contributed_containers; it showed the five built-in ones only until then), No Folder Opened welcome in an empty window (empty_view.rs); pixel-check (port/results/pixels.md, milestone 3): chevron and label edge pixels only; ui-pair port/results/layout.md; verified: every pair of port/results/windows.md (milestone 11 verification) and port/results/references-view.md |
-| workbench/parts/statusbar | workbench part | M11 | verified | | a hovered entry keeps its outline and icon hover colors while keys are typed under the still pointer (cargo test -p app a_hovered_status_item_is_outlined_and_its_icons_take_the_hover_foreground; ui-pair with Cmd+N and typing after the `problems` step matches the reference); an extension entry's `$(icon)`s and progress spinner in its kind's hover foreground, an entry with its own `color` keeping it on hover (statusbarItem.ts `applyColor`; cargo test -p app a_hovered_extension_entry_s_icons_follow_its_label_color); ui-pair port/fixtures/ui-pair/statusbar-hover.json hc with `PORT_MESSAGES=status`, the messages extension and `statusBarItem.hoverForeground` #FF0000: the hovered plain, colored, bell and problems entries match the reference (dashed outline, red icons and text, the colored entry green; 223 to 403 differing pixels of 48000 at 3% fuzz); the language detection entry draws its icon with the same `status_item_icon`; no-folder and folder colors (problems, bell), no remote indicator (workbench/contrib/remote removed, port/notes.md; cargo test -p app the_status_bar_has_no_remote_indicator), a hovered label's HC dashed `contrastActiveBorder` outline and icons in `statusBarItem.hoverForeground` (a_hovered_status_item_is_outlined_and_its_icons_take_the_hover_foreground), editor items Ln/Col, indentation, encoding, EOL, language with tabular-nums at their shaped widths and their upstream hovers; each item runs its editorStatus.ts command (Go to Line, indentation, encoding, EOL and language pickers: cargo test -p app editor_status); extension entries in statusbarModel.ts order around problems and the editor items (status_entries.rs), and the `status.progress` window progress entry with its spinner; verified: ui-pair messages.json vs the reference (port/results/windows.md, milestone 11 verification): extension entries, warning background, window progress entry, bell |
-| workbench/parts/titlebar | workbench part | M9 | ported | [3 S] workbench.rs title bar: a non-compact editor window's title bar shows no `MenuId.TitleBar` actions (titlebarPart.ts `globalActionsEnabled` is `!isCompact`); [3 S] title_bar_actions.rs `title_bar_global_buttons`: a submenu contributed to `titleBar` gets no dropdown button (SubmenuItemActionViewItem) | `MenuId.TitleBar` (`titleBar`, proposal `contribTitleBar`): `0_leading` before the layout controls, `navigation` after them sorted with the bell, other groups in the overflow (cargo test -p app the_title_bar_menu_shows_contributed_global_actions; ui-pair `menus/title-bar.json` with port/fixtures/extensions/menus); command center with the folder name, nav and layout actions (Customize Layout runs since port/results/manage-menu.md; with the activity bar on top or bottom the title bar's Manage gear opens MenuId.GlobalActivity below it, cargo test -p app manage_menu); a click on the command center opens Quick Open with the Go to File and Show and Run Commands help picks (port/results/command-center.md); drag region as `-webkit-app-region` (empty bar drags and double-click zooms, command center and layout controls no-drag; cargo test -p app title_bar, port/results/command-center.md); context menus of the bar, the title and the command center with the Command Center, Navigation Controls and Layout Controls toggles and the path items (cargo test -p app title_bar); pixel-check file and titlebar (port/results/pixels.md): blending rounding and glyph edges only; the inactive window: `titleBar.inactiveBackground`/`inactiveForeground`, `commandCenter.inactiveBorder`, contents at 0.6 opacity, `modernUI.inactiveShellBackground` (cargo test -p app theme::tests; ui-pair `new-window.json`, port/results/windows.md) |
-| workbench/parts/views | workbench part | M11 | verified | | Explorer views as panes (view_panes.rs): collapse by mouse and keys, sashes, header drag to reorder with drop overlay, state in workbench.explorer.views.state; no view actions, view menus or hidden views; cargo test -p app view_panes, ui-pair port/results/layout.md; pane headers drawn statically (workbench.rs section_header): no collapse, resize or view actions; verified: ui-pair port/results/references-view.md and every pair of port/results/windows.md (milestone 11 verification): the Explorer panes and contributed views as the reference; Explorer and Source Control views as panes of a ViewPaneContainer (view_panes.rs `PaneContainer`): collapse by mouse and keys, sashes, header drag to reorder with drop overlay, single view merged into the container, header actions, state in the container's storageId; cargo test -p app view_panes scm_container, ui-pair port/results/layout.md and port/fixtures/ui-pair/m11/scm-panes.json (port/notes.md View panes); verified: ui-pair port/results/references-view.md and every pair of port/results/windows.md (milestone 11 verification): the Explorer panes and contributed views as the reference; Run and Debug, Extensions and webview containers still draw section_header rows: no collapse, resize or view actions; welcome buttons draw their `$(icon)`s (cargo test -p app a_welcome_button_draws_its_label_icons; ui-pair port/fixtures/ui-pair/icons/scm-welcome.json: github's Publish to GitHub button with the github codicon as the reference); wrapped text stacks unsnapped 18.2px lines as Chromium (vendor gpui elements/text.rs; cargo test -p app wrapped_lines_keep_their_fractional_line_height): scm-welcome's Publish button 0.5pt from the reference, was 2.5pt; left: the port wraps "Git" of "To learn more about how to use Git" to the next line; a merged view's "..." puts the Views submenu, a separator and the view's own actions (panecomposite.ts `getSecondaryActions`; cargo test -p app a_merged_changes_view_shows_the_views_submenu_in_its_more_actions a_merged_view_without_actions_lists_the_view_toggles_flat) |
+| workbench/parts/statusbar | workbench part | M11 | verified | | status_entries.rs: cargo test -p app a_hovered_status_item_is_outlined_and_its_icons_take_the_hover_foreground a_hovered_extension_entry_s_icons_follow_its_label_color the_status_bar_has_no_remote_indicator editor_status; ui-pair port/fixtures/ui-pair/statusbar-hover.json hc with `PORT_MESSAGES=status`, messages.json (port/results/windows.md, milestone 11 verification). No remote indicator: workbench/contrib/remote removed (port/notes.md) |
+| workbench/parts/titlebar | workbench part | M9 | ported | [3 S] workbench.rs title bar: a non-compact editor window's title bar shows no `MenuId.TitleBar` actions (titlebarPart.ts `globalActionsEnabled` is `!isCompact`); [3 S] title_bar_actions.rs `title_bar_global_buttons`: a submenu contributed to `titleBar` gets no dropdown button (SubmenuItemActionViewItem) | cargo test -p app the_title_bar_menu_shows_contributed_global_actions manage_menu title_bar theme::tests; ui-pair `menus/title-bar.json` with port/fixtures/extensions/menus, `new-window.json` (port/results/windows.md); port/results/command-center.md, port/results/manage-menu.md; pixel-check file and titlebar (port/results/pixels.md) |
+| workbench/parts/views | workbench part | M11 | verified | | view_panes.rs `PaneContainer`: cargo test -p app view_panes scm_container a_welcome_button_draws_its_label_icons wrapped_lines_keep_their_fractional_line_height a_merged_changes_view_shows_the_views_submenu_in_its_more_actions a_merged_view_without_actions_lists_the_view_toggles_flat; ui-pair port/results/layout.md, port/fixtures/ui-pair/m11/scm-panes.json, port/fixtures/ui-pair/icons/scm-welcome.json, port/results/references-view.md, port/results/windows.md (milestone 11 verification); port/notes.md View panes |
| workbench/services/accessibility | workbench service | M19 | verified | | electron-browser accessibilityService.ts over GPUI: screen reader attach follows Electron's `isAccessibilitySupportEnabled` on macOS (VoiceOver, or an assistive app setting AXManualAccessibility or AXEnhancedUserInterface, as cua-driver does; ui-pair screen-reader-detection.json with accessibility support auto shows the prompt in both), the Screen reader usage detected prompt and status entry; port/tools/a11y-check; cargo test -p app accessib; electron-browser accessibilityService.ts over GPUI: screen reader attach follows is_a11y_active, the Screen reader usage detected prompt and status entry; port/tools/a11y-check; cargo test -p app accessib |
| workbench/services/accounts | workbench service | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
-| workbench/services/actions | workbench service | M9 | verified | | contributes.menus ids of menusExtensionPoint.ts still unmapped wait on their views' menus, each a gap on its view's row (testing, webview, modal editor, inline completions, diff and multi diff editors, notebook, comments, title bar); issue/reporter (workbench/contrib/issue removed), ports/*, statusBar/remoteIndicator, menuBar/home class 4; touchBar class 2; contributes.menus and contributes.submenus for editor/context, explorer/context, editor/title/context (menus::extension_menus): cargo test -p app menus explorer_actions; terminal/context, terminal/title/context, debug/callstack/context, debug/variables/context, debug/watch/context, scm/resourceFolder/context and scm/historyItemRef/context (cargo test -p app api_menu_keys_reach_their_menus a_folder_row a_history_item_menu); viewContainer/title on the Run and Debug title with its debugViewlet.ts items (cargo test -p app view_container_title the_debug_container_more_actions; ui-pair `menus/view-container-title.json` with `ARGS=--extensionDevelopmentPath=port/fixtures/extensions/menus`, the rocket and the `...` items match the reference); extension/context in the Manage and row menus after extensionsActions.ts `ManageExtensionAction` (cargo test -p app the_manage_menu_lists_the_extension_context_menu; ui-pair `menus/extension-context.json`, the Copy, Settings and contributed groups match the reference); editor/title/run as the editor title's Run or Debug... split button after menuEntryActionViewItem.ts `DropdownWithDefaultActionViewItem` (cargo test -p app editor_title_run; ui-pair `menus/editor-title-run.json` with `FILE=LICENSE.txt` and an absolute `ARGS=--extensionDevelopmentPath=<repo>/port/fixtures/extensions/menus`: the split button, its open dropdown and the picked primary with the chevron hover match the reference); comments/comment/editorActions as secondary buttons left of the reply and edit form actions, comments/commentThread/title/context on the thread head and comments/commentThread/comment/context on a comment (cargo test -p app the_comment_editor_actions_and_context_menus_run_their_menus); mergeEditor/result/title primary commands in the result's title (cargo test -p app open_merge_editor_resets); the AI menu ids (chat/*, chatSessions/*, agents/*, agents/titleBar, editor/context/chat, searchPanel/aiResults/commands) removed by decision (port/notes.md:35); ui-pair README.md Explorer menu (port/results/contextmenu.md); other menu ids wait for their views |
+| workbench/services/actions | workbench service | M9 | verified | | menus::extension_menus: cargo test -p app menus explorer_actions api_menu_keys_reach_their_menus a_folder_row a_history_item_menu view_container_title the_debug_container_more_actions the_manage_menu_lists_the_extension_context_menu editor_title_run the_comment_editor_actions_and_context_menus_run_their_menus open_merge_editor_resets; ui-pair `menus/view-container-title.json`, `menus/extension-context.json`, `menus/editor-title-run.json` with `--extensionDevelopmentPath=port/fixtures/extensions/menus`, README.md Explorer menu (port/results/contextmenu.md). Removed by decision: issue/reporter, ports/*, statusBar/remoteIndicator and the AI menu ids (port/notes.md:35) |
| workbench/services/activity | workbench service | M11 | verified | | activity badges of view containers: view `$setBadge` values, the SCM and Extensions counts and `withProgress` progress badges (300 ms delay, kept 300 ms), numbers summed and shortened as compositeBarActions.ts (workbench/activity.rs; cargo test -p app -- activity progress_at_a_view_container_badges_its_activity_bar_item); `withCompositeProgress` progress bars of a container (side bar or panel title bottom) and of a view (pane header, merged title): `options.delay`, discrete worked of total, infinite, gone on done (progress_at_a_view_container_shows_its_progress_bar_under_the_title); ui-pair `activity-badge.json` on a git folder with two changes: the Source Control badge matches the reference (AE 1808 over the window, port/results/layout.md) |
| workbench/services/agentEditorComments | workbench service | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/services/agentHost | workbench service | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
@@ -437,32 +437,32 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/services/commands | workbench service | M9 | verified | | commands.rs `execute_command` as CommandService.executeCommand: waits for `onCommand:<id>` unless it is done or the host is not up, forwards an activation error, runs synchronously once done: cargo test -p app commands:: (commandService.test.ts cases; the '*' race of #62457 does not apply, the port activates '*' before it serves a request) |
| workbench/services/configuration | workbench service | M10 | verified | | settings, tasks, launch and mcp files reload on a file watcher change of their folders, a folder's new `.vscode` included (cargo test -p app settings_files_edited_outside_the_app_reach_the_watcher); cargo test -p config (configurationEditing.test.ts write cases, workspace file layer, folder scopes, the Profiles suite of configurationService.test.ts in service/profile_tests.rs); api-tests configuration.test.ts 3/3 (MOCHA_GREP=configuration; cargo test -p config service (configurationEditing.test.ts write cases, workspace file layer and folder scopes); port/tools/settings-check configuration; settings file changes reach the host, theme and models from workbench/configuration.rs (cargo test -p app configuration) |
| workbench/services/configurationResolver | workbench service | M10 | verified | | variableResolver.ts, configurationResolverExpression.ts and configurationVariables.ts as config/src/variables.rs with configurationResolverService.test.ts and configurationVariables.test.ts cases (cargo test -p config variables); baseConfigurationResolverService.ts as workbench/configuration_resolver.rs: the variable context used by findInFiles and the search editor commands, and `resolveWithInteraction`/`showUserInput` for `${command:}` (with a debugger's `variables`) and `${input:}` (promptString, pickString, command; `configResolveInputLru`), used by tasks (`_acquireInput`, the folder's tasks.json `inputs`) and launch configurations (cargo test -p app configuration_resolver: prompt order, a command seeing the values before it, the pick's default first, the remembered value, cancel ending the flow, task variable collection); app/src/variables.rs for the task runner's other variables (cargo test -p app variables::) |
-| workbench/services/contextmenu | workbench service | M9 | verified | | custom context menu (`window.menuStyle` inherit with the custom title bar): items, items as accessibility menu items labeled by their title that a press runs (port/tools/update-check), checks, groups, keybindings, alt commands, focus by pointer and keys, Enter/Space, 100ms click guard, submenus (250ms hover open, 750ms close, Right/Left/Escape, `calculateSubmenuMenuLayout`), look compared with 1.147.0 (port/results/contextmenu.md, cargo test -p app explorer_actions context_menu); no native menu style (GPUI has no native popup menu); custom context menu (`window.menuStyle` inherit with the custom title bar): items, checks, groups, keybindings, alt commands, focus by pointer and keys, Enter/Space, 100ms click guard, look compared with 1.147.0 (port/results/contextmenu.md, cargo test -p app explorer_actions); no submenus yet (no menu has one), no native menu style; custom context menu (`window.menuStyle` inherit with the custom title bar): items, checks, groups, keybindings, alt commands, focus by pointer and keys, Enter/Space, 100ms click guard, look compared with 1.147.0 (port/results/contextmenu.md, cargo test -p app explorer_actions); no submenus yet (no menu has one), no native menu style; custom context menu (`window.menuStyle` inherit with the custom title bar): items, checks, groups, keybindings, alt commands, focus by pointer and keys, Enter/Space, 100ms click guard, submenus (250ms hover open, 750ms close, Right/Left/Escape, `calculateSubmenuMenuLayout`), look compared with 1.147.0 (port/results/contextmenu.md, cargo test -p app explorer_actions context_menu); no native menu style (GPUI has no native popup menu); custom context menu (`window.menuStyle` inherit with the custom title bar): items, checks, groups, keybindings, alt commands, focus by pointer and keys, Enter/Space, 100ms click guard, look compared with 1.147.0 (port/results/contextmenu.md, cargo test -p app explorer_actions); no submenus yet (no menu has one), no native menu style |
+| workbench/services/contextmenu | workbench service | M9 | verified | | custom context menu with submenus (`window.menuStyle` inherit): cargo test -p app explorer_actions context_menu; port/tools/update-check; port/results/contextmenu.md. No native menu style: GPUI has no native popup menu |
| workbench/services/dataChannel | workbench service | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/services/decorations | workbench service | M11 | verified | | decorations.rs: per-resource cache by provider, merge newest provider first (color, letters joined with ", ", tooltips with " • "), bubbling to folders as the dot badge, change refetch; labels in the Explorer (`explorer.decorations.*`), editor tabs (`workbench.editor.decorations.*`) and SCM rows; cargo test -p app decorations file_decorations; verified: ui-pair messages.json vs the reference (port/results/windows.md, milestone 11 verification) |
-| workbench/services/dialogs | workbench service | M11 | verified | | workbench/file_dialogs.rs (defaultFilePath, defaultFolderPath, defaultWorkspacePath, preferredHome, pick commands, Save As filters), workbench/dialogs.rs (`window.dialogStyle`, About); `skipDialogs`: while extension tests run every workbench message box answers without showing, as `confirm` (the first button) or refused as `prompt`, `info`, `warn`, `error` and `about` are (dialog.rs `InTests`; a modal `showMessage` rejects with upstream's error), main process dialogs still show; workbench/simple_file_dialog.rs (simpleFileDialog.ts: `files.simpleDialog.enable` puts the quick pick dialog in place of the native panels, folder listing with `..`, typed paths, autocomplete, `~`, dot files toggle, save validation and overwrite or create folder prompt, `files.simpleDialog.selectInitialPath`; only `file` paths, so no Show Local button); cargo test -p app file_dialog dialogs simple_file_dialog (`the_simple_dialog_lists_a_folder_and_picks_a_typed_file`); verified: ui-pair messages.json `open-dialog`, dialogs.json vs the reference (port/results/windows.md, milestone 11 verification) |
+| workbench/services/dialogs | workbench service | M11 | verified | | workbench/file_dialogs.rs, workbench/dialogs.rs, dialog.rs `InTests`, workbench/simple_file_dialog.rs: cargo test -p app file_dialog dialogs simple_file_dialog; ui-pair messages.json `open-dialog`, dialogs.json (port/results/windows.md, milestone 11 verification). Only `file` paths in the simple dialog, so no Show Local button |
| workbench/services/driver | workbench service | M6 | n/a | | upstream test infrastructure; the port tests with cargo test and port/tools |
-| workbench/services/editor | workbench service | M11 | verified | | editor groups (editor_grid.rs grid of gridview.ts, workbench/editor_groups.rs): split (Cmd+\, directions, orthogonal, `workbench.editor.splitSizing`, `openSideBySideDirection`), one text model per resource shared by its editors (editor.rs `SharedModel`), focus and move editors between groups, move group, close group and closeEmptyGroups, join, the 8 editor layouts, flip, even and expand widths, maximize group, group sashes with double click reset; groups reach the host as view columns (`$acceptEditorTabModel`, editorPosition); cargo test -p app editor_groups editor_grid host_sync; pixel-check window split (port/results/layout.md). group drag and drop (editor_groups.rs `group_drop_area`, `split_direction` of editorDropTarget.ts: cargo test -p app a_drag_splits_at_the_edges_and_moves_in_the_center) and the persisted editor part state (editor_groups/part_state.rs: cargo test -p app the_grid_and_its_editors_come_back_from_workspace_storage sticky_editors_come_back_sticky); verified: cargo test -p app editor_grid (grid.test.ts, gridview.test.ts); ui-pair hot-exit.json `restored` vs the reference (port/results/windows.md, milestone 11 verification): the editor part state with its untitled editor restored and focused; locked groups (editor_groups/locked_groups.rs): Lock/Unlock/Toggle Editor Group Lock, the Unlock and Lock Group title icons, the empty group toolbar, opening editors skipping a locked group (editorGroupFinder.ts), `workbench.editor.autoLockGroups`, `locked` stored: cargo test -p app editor_groups (a_locked_group_hands_opened_editors_to_an_unlocked_group, auto_lock_groups_locks_a_new_group_of_a_listed_editor), ui-pair editor-window-compact-lock.json (port/results/auxiliary-windows.md); external drops (dnd.ts `handleDrop`, `handleWorkspaceDrop`): cargo test -p app files_dropped_from_outside_open_in_the_group_the_overlay_shows folders_dropped_from_outside_enter_an_untitled_workspace |
+| workbench/services/editor | workbench service | M11 | verified | | editor_grid.rs, workbench/editor_groups.rs, editor_groups/part_state.rs, editor_groups/locked_groups.rs: cargo test -p app editor_groups editor_grid host_sync a_drag_splits_at_the_edges_and_moves_in_the_center the_grid_and_its_editors_come_back_from_workspace_storage sticky_editors_come_back_sticky files_dropped_from_outside_open_in_the_group_the_overlay_shows folders_dropped_from_outside_enter_an_untitled_workspace (grid.test.ts, gridview.test.ts); pixel-check window split (port/results/layout.md); ui-pair hot-exit.json `restored` (port/results/windows.md), editor-window-compact-lock.json (port/results/auxiliary-windows.md) |
| workbench/services/encryption | workbench service | M10 | removed | | proxy of platform/encryption, removed with it |
| workbench/services/environment | workbench service | M10 | verified | | the workbench environment's paths and args as init data and app paths (platform/environment row): port/tools/settings-check environment; environmentService.test.ts reads the browser workbench's URL options (web only); copilotHomeService removed by decision (no AI) |
| workbench/services/extensionManagement | workbench service | M18 | verified | | installVSIX, install from Open VSX, uninstall, Install from VSIX and their errors: PORT_GALLERY=1 port/tools/extensions-check 6 ok; dependencies and pack members of a gallery or VSIX install queued before it: cargo test -p app workbench::extension_management::tests; enablement: cargo test -p app extension_enablement; trusted publishers (`checkForTrustedPublishers` before a gallery install, `extensions.trustedPublishers`, product.json `trustedExtensionPublishers`, Manage Trusted Extension Publishers: workbench/trusted_publishers.rs, cargo test -p app trusted_publishers; ui-pair port/fixtures/ui-steps/trusted-publisher.json against REF=~/Developer/vscode-ref-openvsx: the "Do you trust the publisher "MS-CEINTL"?" dialog matches, 3% of the dialog crop off where the product name rewraps the text) |
| workbench/services/extensionRecommendations | workbench service | M18 | verified | | workspaceExtensionsConfig.ts from `.vscode/` and `.vsrustium/` (`.vsrustium/` wins per key), ignored recommendations: cargo test -p app recommendation; ui-pair port/fixtures/extensions/ui-recommendations.json |
| workbench/services/extensions | workbench service | M18 | verified | | extensionsProposedApi.ts `enabledApiProposals` filtering with product.json's allow-list and `--enable-proposed-api`, one policy per window (cargo test -p exthost proposed_api, cargo test -p app a_host_restart_gives_the_extensions); `_deltaExtensions` with `_activateAddedExtensionIfNeeded` and configuration defaults: port/tools/extensions-check, exthost-probe --install-vsix/--uninstall; other extension points the workbench reads (icon themes, static status bar items) are read at startup only; extension_host_restart.rs `stopExtensionHosts`: the `onWillStop` vetoes of a debug session, an editable custom editor, a custom text editor and a notebook that does not save, then Please confirm restart of extensions with Restart Anyway: cargo test -p app a_debug_session_vetoes_the_restart_until_confirmed, ui-pair of Restart Extension Host over a dirty a.cdoc (custom-document-tests) |
| workbench/services/files | workbench service | M12 | verified | | the disk provider and watcher client run in process: native/crates/files (disk provider, FSEvents watcher, cargo test -p files); elevatedFileService.ts writeElevated is text_files.rs write_elevated of milestone 8 (port-integrate); verified: api-tests MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" at 44a309311e1: every workspace, workspace-fs, workspace events, workspace-watcher and file system test passes, api-workspace 4/0/0 (port/results/api-tests.md "M12 verification"), workspace-fs and file system |
-| workbench/services/filesConfiguration | workbench service | M8 | verified | | read-only part (`workbench/readonly.rs`): session override commands, `updateReadonly(target, false)` after Save Anyway, `files.readonlyInclude`/`readonlyExclude`/`readonlyFromPermissions`, tab lock badge, edit guards and the read-only message: cargo test -p app readonly, ui-pair ro.txt against the reference (port/notes.md milestone 8); `updateReadonly` fires its change only when the session override changes (`applyReadonly`, cargo test -p app update_readonly_notifies_only_when_the_session_override_changes); auto save part: `computeAutoSaveConfiguration`, `getAutoSaveMode` with reasons, `autoSaveWorkspaceFilesOnly`, `autoSaveWhenNoErrors`, `toggleAutoSave` and File > Auto Save (workbench/auto_save.rs, cargo test -p app auto_save); `files.hotExit` is read by the backup tracker (workbench/services/workingCopy row). Removed with their callers: `updateReadonly` with a custom reason or a resource array (filesConfigurationService.test.ts), called only by chat, inline chat and the issue reporter |
+| workbench/services/filesConfiguration | workbench service | M8 | verified | | workbench/readonly.rs, workbench/auto_save.rs: cargo test -p app readonly update_readonly_notifies_only_when_the_session_override_changes auto_save; ui-pair ro.txt (port/notes.md milestone 8). Removed with their callers (chat, inline chat, issue reporter): `updateReadonly` with a custom reason or a resource array |
| workbench/services/github | workbench service | M14 | removed | | binds the platform/github clients to sign-in sessions (no sign-in by decision); the anonymous gist read is main_thread_github.rs |
| workbench/services/history | workbench service | M11 | verified | | navigation.rs (EditorNavigationStack: 50 entries, 10-line threshold, navigation and jump entries, flatten on remove) and workbench/history_actions.rs: navigateBack/Forward/Last and the edit and navigation location variants, navigationScope default/editorGroup/editor, reopenClosedEditor (20), clearEditorHistory, open next/previous recently used editor, the can* context keys, command center Back/Forward; Quick Open editor history (`history.entries`); cargo test -p app navigation editor_groups editor_history quick_open; verified: cargo test -p app navigation (historyService.test.ts) |
-| workbench/services/host | workbench service | M11 | verified | | workbench/host.rs: New Window (Shift+Cmd+N, File menu), a folder or workspace opened in a new window (`window.openFoldersInNewWindow`, Cmd+click in Open Recent) brings its open window to the front instead of a second one, Reload Window and opening a folder in this window relaunch it in the same place after the shutdown vetoes, Switch Window and Quick Switch Window list the windows by title; Toggle Full Screen (Ctrl+Cmd+F, View > Appearance > Full Screen, `isFullscreen`), Toggle Window Always on Top (the floating window level); the window title, the close button's edited dot (window.ts `updateDocumentEdited`) and the active file as represented file are set on the NSWindow. Switch Window rows have the close button (window-active, close-dirty, remove-close), which closes the window and removes its row (cargo test -p app switch_window_lists_the_windows_and_closes_one_from_its_row). `cargo test -p app host menubar lifecycle`; verified: ui-pair hot-exit.json `switch-window`, `launched` vs the reference (port/results/windows.md, milestone 11 verification); cargo test -p app workbench::host |
+| workbench/services/host | workbench service | M11 | verified | | workbench/host.rs: cargo test -p app host menubar lifecycle workbench::host switch_window_lists_the_windows_and_closes_one_from_its_row; ui-pair hot-exit.json `switch-window`, `launched` (port/results/windows.md, milestone 11 verification) |
| workbench/services/imageResize | workbench service | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/services/inlineCompletions | workbench service | M13 | removed | | Artur: AI. inlineCompletionsUnification.ts unifies Copilot and chat completions |
| workbench/services/integrity | workbench service | M18 | n/a | | checks the shipped JS files against product.json `checksums`; the port ships no workbench JS and product.json has none (upstream answers isPure true then) |
| workbench/services/keybinding | workbench service | M9 | verified | | Registered commands with `args` metadata are not unbound (the reference's `commandsWithArgs`): keybindings_editor::tests::registered_commands_with_args_metadata_are_not_unbound; keyboard.rs: default-macos.json, contributes.keybindings, keybindings.json reload on a file watcher change after 50 ms (keyboard::tests::an_outside_edit_of_keybindings_json_applies), the troubleshooting log's `keyCode` as `EVENT_KEY_CODE_MAP` inverted (output_view tests), chords with the status bar message, scan code dispatch on the layout's keyboard mapper (`_resolveKeybindingItems`, `keyboard.dispatch`, `keyboard.mapAltGrToCtrlAlt`); cargo test -p app keybindings user_keybindings keyboard_mapper define_keybinding; pixel-check chord; Studio run with the mapper (port/results/keybindings-layout.md); keyboard.rs: default-macos.json, contributes.keybindings, keybindings.json reload, chords with the status bar message; cargo test -p app keybindings user_keybindings; pixel-check chord |
| workbench/services/label | workbench service | M12 | verified | | file scheme getUriLabel in quick_input.rs path_label and path_label_without_prefix (label.test.ts file scheme, multi-root and explicit separator cases: cargo test -p app path_labels copied_path_labels), tildify (search_view.rs), workspace labels (cargo test -p config labels_a_workspace_file_by_its_name); formatters and URI homes only come from remote resolvers (MainThreadLabelService removed); verified at port-m12b-verify: cargo test -p app path_labels 2/2 |
| workbench/services/language | workbench service | M7 | verified | | getAssociationByPath with the full glob dialect (languages::tests::file_patterns_take_the_whole_glob_dialect) plus firstLine detection (languages.rs); cargo test -p app languages::tests |
-| workbench/services/languageDetection | workbench service | M13 | verified | | language_detection.rs (languageDetectionWebWorker.ts `detectLanguagesImpl`, `adjustLanguageConfidence`, the 10000 char sample) and workbench/language_detection.rs (`LanguageDetectionWorkerClient`: the file name guess first, then @vscode/vscode-languagedetection 1.0.23 with its model in a Bun worker from the app's node_modules, model ids mapped as `getLanguageId`; `autoDetectLanguage` of textEditorModel.ts for untitled models and extensionless plain text files, 600 ms throttle, skipped after an explicit language and with `workbench.editor.languageDetection` off): cargo test -p app language_detection (the worker test runs the real model). The history biases only feed the regexp model, which 1.147.0 does not ship (`vscode-regexp-languagedetection` is not a dependency), so neither side has it; no telemetry. The reference checkout's worker detects nothing (Detect Language from Content: "Unable to detect editor language" on a typed Python snippet) while its own model in node gives py 0.33, which `detectLanguagesImpl` yields; the port shows Python (port/notes.md milestone 13 finding) |
+| workbench/services/languageDetection | workbench service | M13 | verified | | language_detection.rs, workbench/language_detection.rs (@vscode/vscode-languagedetection 1.0.23 in a Bun worker): cargo test -p app language_detection (the worker test runs the real model). No history biases (the regexp model is not in 1.147.0), no telemetry. The reference checkout's worker detects nothing where the port shows Python (port/notes.md milestone 13 finding) |
| workbench/services/languageStatus | workbench service | M13 | verified | | `$setLanguageStatus` / `$removeLanguageStatus`, statuses matched by selector, ordered by severity, source, id (workbench/language_status.rs): cargo test -p app language_status |
-| workbench/services/layout | workbench service | M11 | ported | [3 S] terminal_view.rs:1235: with Tab Focus Mode on, Tab in the terminal goes to the shell, where terminalInstance.ts:1204 leaves it to the browser's Tab order (port/notes.md Toggle Tab Key Moves Focus) <br> [3 S] action_bar.rs:45: an action bar item focused by Tab shows no hover, where the reference shows the command center's and Customize Layout's tooltips on focus, and the activity bar item's focus outline has square corners where the reference's are rounded (ui-pair Tab steps, port/notes.md Toggle Tab Key Moves Focus) <br> [3 L] workbench.rs:591: the Workbench is one GPUI view, so every scroll frame of any list renders and lays out every part again, where upstream's DOM updates only the scrolled list; the side bar, the editor area, the panel, the status bar, the activity bar and the title bar are cached part views (part_view.rs: a list scroll notifies only the view it was painted in, an editor scroll only the editor area's, a size measured while drawing redraws its view after the frame; the status bar gave no measurable change), the secondary side bar still renders with the Workbench; the Explorer's rows are absolutely placed 22px boxes as listView.ts's (workbench.rs Explorer rows; ~70% of the Explorer frame was the taffy layout of its rows in flow); the minimap copies unchanged rows from the last frame (minimap.rs `render_lines`) and the menu bar updates 200 ms after a frame as menubarControl.ts `menuUpdater` does; a folder with a sub-second mtime is cached 100 ms after its last change, not 2 s (explorer.rs `entries`: the Editor's first 1.5 s of frames re-read the fixture's 800-file root on each `key_context` call, port/notes.md Scroll frame costs, the Editor's slow start); `scroll_frame_time` median / p95 (two interleaved runs, the Studio shared): Explorer 2.9 / 3.2 and 2.9 / 3.6 ms (rows in flow: 10.9 / 18.6 and 11.0 / 21.4), Editor 6.9 / 7.7 and 6.9 / 7.5 ms, Settings 1.1 / 1.4 and 1.0 / 1.4 ms, Extensions 1.7 / 2.0 and 1.7 / 1.9 ms, every surface under the 8 ms gate headless (NoopTextSystem). GUI (release app on the Studio host lane with the extension host running, the same folder, a scratch CGEvent probe posting 30px continuous scroll events at about 120 Hz for 4 to 7 s down then up, `Window::draw` timed by a scratch timer; the Studio's accessibility client turns "Screen Reader Optimized" on, and every GUI number includes it): Editor median 8.0 to 8.8 / p95 18.4 to 21.4 ms over four 8 s runs (was 11.0 to 13.1 / 24.5 to 29.6 with the ruler's map rebuilt per frame; cursor on `export`, word highlights on all 20000 lines); Explorer scrolling up 7.8 / 11.3 ms (was 18.6 / 36.4), scrolling down 10.2 / 38.3 ms over 90 frames as it reaches the list's end; Extensions @builtin 5.1 / 7.9 down, 4.9 / 6.6 up (was 11.0 / 30.6 and 5.8 / 8.6). Fixed on the way: an inlay-hint answer, a file decoration answer and a gallery icon notified the Workbench (every part drew again each frame that asked), the cursor blink notified the Workbench every 500 ms, the overview ruler scanned every document highlight per word highlight (80 to 120 ms a frame), and the collapsed Outline and Timeline panes built their bodies (29% of an Explorer frame). The overview ruler reads the highlight kinds off the provider's list when the editor's highlights are that list (document_highlights.rs `word_highlight_ruler_lines`), not a map of 20000 highlights per frame. Left in the Editor's GUI frame (main-thread share): `editor_lines` 20%, background tokenization 12% (still running 30 s after the open), `key_context` 12% (two calls per frame: the root's `welcome_page_frame` (welcome_page.rs:216) builds it on every draw for the walkthroughs' `onContext:` events, where gettingStartedService.ts checks them on `onDidChangeContext`, and the GPUI focus refresh notifies no view, so a skip needs a context change signal; inside it every Explorer row is listed for the focused row's keys at explorer_actions.rs:311 (8%) with `resource_editors` for the focused file (4%), and the `config.*` clone at keyboard.rs:409), taffy `compute_layout` 11%, the minimap 10%, `shape_text` 10%. Explorer's 50 to 250 ms frames with a row's hover not reproduced in the last runs. Settings is not measured in the GUI: it opens as the modal editor, and a scroll over it reaches the text editor below (workbench/parts/editor gap; port/notes.md Scroll frame costs) | layout.ts as a split-view tree (workbench/layout.rs): panel position (bottom, top, left, right) and alignment, primary side bar left or right, maximized panel with `panelMaximizationSupportedWhen`, hidden parts, persisted sizes and positions; zen mode (zen_mode.rs) with its settings and restore; centered layout (centered_layout.rs) with its sashes and stored margins; View > Appearance entries and the Panel Position and Align Panel submenus (cargo test -p app -- layout part_grid centered_layout zen_mode); layoutActions.ts Customize Layout quick pick (workbench/customize_layout.rs) with live items, Restore Defaults and Close, Toggle Activity Bar Visibility, Align Quick Input Top/Center (cargo test -p app -- customize_layout toggling_the_activity_bar; ui-pair m11/manage-menu.json, port/results/manage-menu.md; missing until then though the title bar showed its button); ui-pair layout-positions.json and layout-zen.json against the reference (port/results/layout.md). The pairs run with `zenMode.fullScreen` off. Maximize Secondary Side Bar (`workbench.action.maximizeAuxiliaryBar`, `restoreAuxiliaryBar`, `toggleMaximizedAuxiliaryBar`, the title's toggle) hides the other parts and restores them (workbench/panel.rs; cargo test -p app -- maximizing_the_secondary_side_bar_hides_the_other_parts_and_restore_brings_them_back). Zen mode enforces `zenMode.showTabs` on the main editor part until it ends (layout.ts `toggleZenMode` `enforcePartOptions`; workbench/zen_mode.rs `editor_show_tabs`; cargo test -p app -- show_tabs_picks_the_title_control_and_zen_mode_enforces_its_own); navigationActions.ts `workbench.action.focusNextPart`/`focusPreviousPart` (F6, Shift+F6) walk editor, panel, auxiliary bar, status bar, activity bar and side bar past the hidden ones with layout.ts `focusPart` (the pane container's first expanded view; workbench/part_navigation.rs; cargo test -p app f6_walks_the_visible_parts); in an editor window F6 goes between its editor and its own status bar, whose entry focus is kept per window (workbench/auxiliary_windows.rs `auxiliary_status_bar`, workbench/status_entries.rs; cargo test -p app f6_in_an_editor_window_reaches_its_own_status_bar) |
-| workbench/services/lifecycle | workbench service | M11 | verified | | `describeEditors` names the upstream input's `typeId` and differing `editorId`, and `workbench.floatingWindowNotRestorable` blocks while the process explorer, the port's one window that is no editor part, is open (upstream's is an editor in an auxiliary window): cargo test -p app blockers_name_the_editor_kind_and_the_window_that_does_not_come_back; workbench/lifecycle.rs: ShutdownReason, onBeforeShutdown vetoes on quit, close button, closeWindow, reload and load (`window.confirmBeforeClose`, backup tracker auto save, hot exit, showSaveConfirm); cargo test -p app lifecycle; no phases or onWillShutdown joiners; workbench/unattended_restart.rs: `canRestartUnattended` with its blocker aggregation and change log, and the participants `workbench.starting` (2.5 s after restore), dialog, quick input, transient workspace, modal editor, editors not restored or not restorable, `debug.sessionActive`, `tasks.running`, the backup tracker's `workingCopy.*` and `cli.waitingForEditorClose`, terminalUnattendedRestart.ts with childProcessMonitor.ts `hasChildProcesses` (terminal/pty.rs, background jobs included: cargo test -p app a_background_job_is_a_child_process_of_the_shell), testingUnattendedRestart.ts, `testing.continuousRun`, webviewUnattendedRestart.ts and notebookUnattendedRestart.ts: cargo test -p app unattended_restart (unattendedRestart.test.ts, terminalUnattendedRestart.test.ts, testingUnattendedRestart.test.ts); update/unattended_restart.rs: unattendedRestartScheduler.ts's decisions (keep awake from the lock, restart once locked a minute, retry every minute, veto, a newer update postponing, battery and thermal pressure, resume restarting the clock, the update not installed last time) over injected time: cargo test -p app update::unattended_restart (13 of unattendedRestartScheduler.test.ts's cases, without the telemetry outcomes the port does not send); workbench/unattended_restart.rs `UnattendedRestart`: the scheduler's host on macOS (power events, window blur, update state, timers, the `prevent-app-suspension` blocker, `quitAndInstall` from a window), `getWindowBlockers` (`window.launchArguments` and `window.launchedFromCli` from the command line that opened the window, a second instance's `VSCODE_CLI` sent with its arguments), `hasArgumentsLostOnRelaunch`, `app.launchedFromCli`, `app.dialogOpen` (dialog.rs `has_open_dialogs`: the NSAlert sheets and the open and save panels) and the failed update remembered across the restart: cargo test -p app unattended_restart (a_locked_screen_keeps_the_machine_awake, windows_that_do_not_come_back_as_they_are_block, launch_arguments_the_relaunch_drops_block, a_restart_that_came_back_on_the_same_commit_failed_to_install); windows_state.rs `setNextExactRestore`/`takeExactRestore` (minimized windows, hidden app): cargo test -p app windows_state; verified: cargo test -p app backup_tracker lifecycle (workingCopyBackupTracker.test.ts); ui-pair hot-exit.json `dirty`, `restored` vs the reference (port/results/windows.md, milestone 11 verification) |
+| workbench/services/layout | workbench service | M11 | ported | [3 S] terminal_view.rs:1235: with Tab Focus Mode on, Tab in the terminal goes to the shell, where terminalInstance.ts:1204 leaves it to the browser's Tab order (port/notes.md Toggle Tab Key Moves Focus) <br> [3 S] action_bar.rs:45: an action bar item focused by Tab shows no hover, where the reference shows the command center's and Customize Layout's tooltips on focus, and the activity bar item's focus outline has square corners where the reference's are rounded (ui-pair Tab steps, port/notes.md Toggle Tab Key Moves Focus) <br> [3 L] workbench.rs:591: the Workbench is one GPUI view, so every scroll frame of any list renders and lays out every part again, where upstream's DOM updates only the scrolled list; the side bar, the editor area, the panel, the status bar, the activity bar and the title bar are cached part views (part_view.rs: a list scroll notifies only the view it was painted in, an editor scroll only the editor area's, a size measured while drawing redraws its view after the frame; the status bar gave no measurable change), the secondary side bar still renders with the Workbench; the Explorer's rows are absolutely placed 22px boxes as listView.ts's (workbench.rs Explorer rows; ~70% of the Explorer frame was the taffy layout of its rows in flow); the minimap copies unchanged rows from the last frame (minimap.rs `render_lines`) and the menu bar updates 200 ms after a frame as menubarControl.ts `menuUpdater` does; a folder with a sub-second mtime is cached 100 ms after its last change, not 2 s (explorer.rs `entries`: the Editor's first 1.5 s of frames re-read the fixture's 800-file root on each `key_context` call, port/notes.md Scroll frame costs, the Editor's slow start); `scroll_frame_time` median / p95 (two interleaved runs, the Studio shared): Explorer 2.9 / 3.2 and 2.9 / 3.6 ms (rows in flow: 10.9 / 18.6 and 11.0 / 21.4), Editor 6.9 / 7.7 and 6.9 / 7.5 ms, Settings 1.1 / 1.4 and 1.0 / 1.4 ms, Extensions 1.7 / 2.0 and 1.7 / 1.9 ms, every surface under the 8 ms gate headless (NoopTextSystem). GUI (release app on the Studio host lane with the extension host running, the same folder, a scratch CGEvent probe posting 30px continuous scroll events at about 120 Hz for 4 to 7 s down then up, `Window::draw` timed by a scratch timer; the Studio's accessibility client turns "Screen Reader Optimized" on, and every GUI number includes it): Editor median 8.0 to 8.8 / p95 18.4 to 21.4 ms over four 8 s runs (was 11.0 to 13.1 / 24.5 to 29.6 with the ruler's map rebuilt per frame; cursor on `export`, word highlights on all 20000 lines); Explorer scrolling up 7.8 / 11.3 ms (was 18.6 / 36.4), scrolling down 10.2 / 38.3 ms over 90 frames as it reaches the list's end; Extensions @builtin 5.1 / 7.9 down, 4.9 / 6.6 up (was 11.0 / 30.6 and 5.8 / 8.6). Fixed on the way: an inlay-hint answer, a file decoration answer and a gallery icon notified the Workbench (every part drew again each frame that asked), the cursor blink notified the Workbench every 500 ms, the overview ruler scanned every document highlight per word highlight (80 to 120 ms a frame), and the collapsed Outline and Timeline panes built their bodies (29% of an Explorer frame). The overview ruler reads the highlight kinds off the provider's list when the editor's highlights are that list (document_highlights.rs `word_highlight_ruler_lines`), not a map of 20000 highlights per frame. Left in the Editor's GUI frame (main-thread share): `editor_lines` 20%, background tokenization 12% (still running 30 s after the open), `key_context` 12% (two calls per frame: the root's `welcome_page_frame` (welcome_page.rs:216) builds it on every draw for the walkthroughs' `onContext:` events, where gettingStartedService.ts checks them on `onDidChangeContext`, and the GPUI focus refresh notifies no view, so a skip needs a context change signal; inside it every Explorer row is listed for the focused row's keys at explorer_actions.rs:311 (8%) with `resource_editors` for the focused file (4%), and the `config.*` clone at keyboard.rs:409), taffy `compute_layout` 11%, the minimap 10%, `shape_text` 10%. Explorer's 50 to 250 ms frames with a row's hover not reproduced in the last runs. Settings is not measured in the GUI: it opens as the modal editor, and a scroll over it reaches the text editor below (workbench/parts/editor gap; port/notes.md Scroll frame costs) | workbench/layout.rs, zen_mode.rs, centered_layout.rs, workbench/customize_layout.rs, workbench/panel.rs, workbench/part_navigation.rs: cargo test -p app -- layout part_grid centered_layout zen_mode customize_layout toggling_the_activity_bar maximizing_the_secondary_side_bar_hides_the_other_parts_and_restore_brings_them_back show_tabs_picks_the_title_control_and_zen_mode_enforces_its_own f6_walks_the_visible_parts f6_in_an_editor_window_reaches_its_own_status_bar; ui-pair m11/manage-menu.json (port/results/manage-menu.md), layout-positions.json and layout-zen.json with `zenMode.fullScreen` off (port/results/layout.md) |
+| workbench/services/lifecycle | workbench service | M11 | verified | | workbench/lifecycle.rs, workbench/unattended_restart.rs, update/unattended_restart.rs, windows_state.rs: cargo test -p app lifecycle backup_tracker unattended_restart update::unattended_restart windows_state blockers_name_the_editor_kind_and_the_window_that_does_not_come_back a_background_job_is_a_child_process_of_the_shell (unattendedRestart, terminalUnattendedRestart, testingUnattendedRestart, unattendedRestartScheduler without its telemetry outcomes, workingCopyBackupTracker tests); ui-pair hot-exit.json `dirty`, `restored` (port/results/windows.md, milestone 11 verification). No phases or onWillShutdown joiners |
| workbench/services/localTranscription | workbench service | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/services/localization | workbench service | M18 | verified | | ui-pair port/fixtures/extensions/ui-display-language.json: picking Deutsch installs MS-CEINTL.vscode-language-pack-de with the "Installing Deutsch language support..." progress and asks "Restart VSRustium to switch to Deutsch?"; localeService.ts: argv.json `locale` written and cleared, restart dialog, install of an MS-CEINTL pack: cargo test -p app nls localization; Command Palette titles, categories and descriptions translate by the reference call's module and key (port/tools/ref-commands with ref-nls-clone.ts; cargo test -p app a_palette_title_two_modules), menu bar items, side bar titles and pane headers by the reference's `nlsKeys` per menu, view and container (cargo test -p app menu_bar_items_and_view_titles_resolve_per_scope); other surfaces stay English (port/notes.md) |
| workbench/services/log | workbench service | M6 | verified | | output/log_levels.rs: defaultLogLevels.ts argv.json `log-level` read and write, `getDefaultLogLevel`, `parseLogLevel`; logs_actions.rs `setDefaultLogLevel` (cargo test -p app set_default_log_level_writes_argv, reads_and_writes_argv_log_levels); the Window log as logConstants.ts `windowLogId`; electron-browser logService.ts in a test run: the host console reaches stdout/stderr through the session; output/log_levels.rs: defaultLogLevels.ts argv.json `log-level` read and write, `getDefaultLogLevel`, `parseLogLevel`; logs_actions.rs `setDefaultLogLevel` (cargo test -p app set_default_log_level_writes_argv, reads_and_writes_argv_log_levels); the Window log as logConstants.ts `windowLogId` |
@@ -477,7 +477,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/services/path | workbench service | M12 | verified | | the user home is $HOME (path_label, tildify), hasValidBasename is file_actions.rs is_valid_basename (cargo test -p app validates_file_names); pathService.test.ts covers only remote path semantics (no remote); verified at port-m12b-verify: cargo test -p app validates_file_names 1/1 |
| workbench/services/policies | workbench service | M10 | removed | | account policies, managed chat settings, the organization support link and policy telemetry need sign-in, AI or telemetry, none of which the port has by decision (port/notes.md); system policies are the platform/policy row |
| workbench/services/power | workbench service | M19 | verified | | workbench/power.rs: suspend, resume, shutdown, lock, unlock, thermal, battery and speed limit events to ExtHostPower; port/tools/shell-check (port/fixtures/extensions/shell-tests, 6/6); cargo test -p app power |
-| workbench/services/preferences | workbench service | M10 | verified | | preferencesService.ts JSON parts (openSettingsJson with revealSetting (triggerSuggest after an edit) and @id: query, `openToSide` in SIDE_GROUP, the Open a folder first notification, createSettingsIfNotExists, openDefaultKeybindingsFile, defaultSettings resources) and preferencesModels.ts `DefaultSettings` / `DefaultRawSettingsEditorModel` as workbench/preferences.rs and default_settings.rs with preferencesModels.test.ts (cargo test -p app preferences default_settings; "merges untitled group into titled group" has no extension counterpart, the extension point titles every node); keybindingsEditorModel.ts and keybindingsEditorInput.ts as keybindings_editor.rs with keybindingsEditorModel.test.ts (cargo test -p app keybindings_editor); openGlobalKeybindingSettings opens the Keyboard Shortcuts editor (cargo test -p app keybindings_editor_view); openSettings (UI) opens the Settings editor (workbench/settings_editor_view.rs); preferencesValidation.ts as settings_editor/validation.rs with preferencesValidation.test.ts (cargo test -p app settings_editor); settings.json and keybindings.json open in the modal editor group unless `workbench.editor.useModal` is `off` (cargo test -p app modal_editor_group, ui-pair port/results/settings-editor.md milestone 11); editorCommands.ts `MoveModalEditorToMainWindowAction` merges the modal's editors into the main part, where the Settings and Keyboard Shortcuts editors draw too (open_modal_editor_in_main_window_moves_its_editors_to_the_main_part), as do the Profiles and Workspace Trust editors, `RequiresModal` group editors (the_workspace_trust_editor_moves_to_the_main_part); the split JSON settings editor (`useSplitJSON`, `openDefaultSettings`) as a side by side editor with the default settings of its target, and `openDefaultKeybindings` beside keybindings.json (cargo test -p app split_json open_default_keybindings, ui-pair port/fixtures/ui-pair/m11/split-settings.json); the breadcrumbs' editor type control, the EditSettingRenderer pencil and the side by side sash (cargo test -p app preferences editor_type_picker side_by_side); a copied or reopened side by side editor keeps both sides and the host sees both (cargo test -p app a_copied_or_reopened both_sides_of_a_side_by_side); media previews' editor type control (an_image_preview_offers_its_editors_in_the_breadcrumbs); verified: ui-pair port/fixtures/ui-pair/m11/split-settings-edit.json (port/results/layout.md Split settings editor), m11/split-settings-copy.json with SETTINGS `{"workbench.settings.useSplitJSON": true, "workbench.editor.useModal": "off"}`, m11/editor-type-image.json with FOLDER=port/fixtures/webviews FILE=image.png |
+| workbench/services/preferences | workbench service | M10 | verified | | workbench/preferences.rs, default_settings.rs, keybindings_editor.rs, settings_editor/validation.rs: cargo test -p app preferences default_settings keybindings_editor keybindings_editor_view settings_editor modal_editor_group open_modal_editor_in_main_window_moves_its_editors_to_the_main_part the_workspace_trust_editor_moves_to_the_main_part split_json open_default_keybindings editor_type_picker side_by_side a_copied_or_reopened both_sides_of_a_side_by_side an_image_preview_offers_its_editors_in_the_breadcrumbs (preferencesModels, keybindingsEditorModel, preferencesValidation tests); ui-pair port/results/settings-editor.md milestone 11, port/fixtures/ui-pair/m11/split-settings.json, port/fixtures/ui-pair/m11/split-settings-edit.json (port/results/layout.md), m11/split-settings-copy.json, m11/editor-type-image.json with FOLDER=port/fixtures/webviews FILE=image.png |
| workbench/services/process | workbench service | M15 | n/a | | electron-browser/processService.ts is the 10-line IPC proxy to `platform/process` in the main process; the port has no main process (see platform/process) |
| workbench/services/progress | workbench service | M11 | verified | | progressService.ts withNotificationProgress and withWindowProgress (delays 150 ms and 800 ms); Explorer, Extensions, SCM and Dialog locations not used by the port yet; verified: ui-pair messages.json `progress` vs the reference (port/results/windows.md, milestone 11 verification) |
| workbench/services/quickinput | workbench service | M9 | verified | | quick_input_view.rs with header drag (cargo test -p app dragging); api-tests quick input 11/11; view state in application storage (cargo test -p app dragging) |
@@ -493,10 +493,10 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/services/telemetry | workbench service | M19 | verified | | NullTelemetryService of the built product without enableTelemetry; telemetryInfo ids in init data (seam/init-data); port/tools/privacy-check (Bun and Node, 5/5 each: isTelemetryEnabled false, TelemetryLogger never calls its sender, inert @vscode/extension-telemetry and vscode-tas-client) |
| workbench/services/terminal | workbench service | M15 | n/a | | embedderTerminalService.ts only serves terminals a web embedder creates through `web.api.ts` (`IWorkbenchConstructionOptions`); the desktop workbench has no embedder |
| workbench/services/textMate | workbench service | M7 | verified | | textmate crate (vscode-textmate 9.3.2, onig); cargo test -p textmate; colorize test 109/109 fixtures; pixel-check main window |
-| workbench/services/textfile | workbench service | M8 | verified | | Cmd+S writes the model's encoding (files::encoding, port of encoding.ts with iconv-lite DOS code pages and its cp950 table: cargo test -p files encoding); `files.encoding` read for the resource's language, the open model's else its path's, also for `workspace.decode`/`encode` (cargo test -p files files_encoding_of_the_resource_language_wins, cargo test -p app workspace_encodings_read_files_encoding_of_the_resource_language) and clears dirty state (cargo test -p app keys_and_typed_text_edit_the_focused_editor_and_reach_the_host); save participants: the extensions' for extension saves, trim trailing whitespace, insert final newline and trim final newlines for every save (cargo test -p app save_participants), an auto save sparing the cursor lines; auto save (editorAutoSave.ts): after delay, on focus change, on window change, a delay restarted by each edit, saves held back by error markers, a dirty tab with a short delay drawn clean (`isSaving`) (cargo test -p app auto_save); Save As, Save without Formatting, revert as one undoable edit, save conflict and read-only/permission errors with their actions, file changes and deletes on disk (orphaned tabs), `files.associations` re-detection (workbench/text_files.rs): cargo test -p app text_files; the save conflict Compare editor (`conflictResolution` diff with the help message, Learn More and Don't Show Again, the accept and revert title actions, the help again on a failed save from it; workbench/save_conflict.rs): cargo test -p app compare_opens_the_save_conflict_editor; Format on Save: cargo test -p app format (format_on_save_formats_after_trimming_and_before_the_final_newline); `files.autoGuessEncoding` and `files.candidateGuessEncodings` (encoding.ts `guessEncodingByBuffer` over upstream's jschardet 3.1.4 and iconv-lite in a Bun worker, app/src/encoding_guess.rs; also the Reopen with Encoding picker's guess): cargo test -p app encoding_guess, the encoding.test.ts autoGuessEncoding cases; the packaged, Developer ID signed app ships the worker's jschardet and @vscode/iconv-lite-umd with their licenses appended to its ThirdPartyNotices.txt (port/tools/package-app) and guesses Shift JIS and windows-1252 files: port/tools/app-smoke (port/fixtures/extensions/encoding-guess-tests 2 ok) |
+| workbench/services/textfile | workbench service | M8 | verified | | files::encoding, workbench/text_files.rs, workbench/save_conflict.rs, app/src/encoding_guess.rs: cargo test -p files encoding files_encoding_of_the_resource_language_wins; cargo test -p app workspace_encodings_read_files_encoding_of_the_resource_language keys_and_typed_text_edit_the_focused_editor_and_reach_the_host save_participants auto_save text_files compare_opens_the_save_conflict_editor format format_on_save_formats_after_trimming_and_before_the_final_newline encoding_guess (encoding.test.ts autoGuessEncoding cases); the packaged app's encoding guess: port/tools/package-app, port/tools/app-smoke with port/fixtures/extensions/encoding-guess-tests 2 ok |
| workbench/services/textmodelResolver | workbench service | M8 | verified | | models keep a non-file URI's query, so two git refs of one file are two models: cargo test -p app two_refs_of_one_file_diff_as_two_models; content providers newest first (`ContentProviders`, workbench/text_model_resolver.rs, main_thread.rs `$registerTextContentProvider`), model lifetime as `destroyReferencedObject` (`EditorGroup::is_referenced`: dirty, a diff side, an unexpired host reference), `inmemory` without a model fails to resolve: cargo test -p app text_model_resolver (11 textModelResolverService.test.ts cases); the synthetic-document and multi-diff cases need chat and the multi-diff editor (milestone 14's `workbench/contrib/multiDiffEditor`), `canHandleResource`'s one caller is compareWithClipboard (milestone 12's files contribution); content provider registrations newest first and provider-backed models (main_thread.rs) |
| workbench/services/textresourceProperties | workbench service | M8 | verified | | `getEOL`: a model without line breaks takes the resource's and language's `files.eol`, LF for `auto` on macOS (editor.rs `default_eol`): cargo test -p app files_eol; the remote OS branch belongs to remote, removed; `getEOL`: a model without line breaks takes the resource's and language's `files.eol`, LF for `auto` on macOS (editor.rs `default_eol`): cargo test -p app files_eol; no remote OS |
-| workbench/services/themes | workbench service | M7 | verified | | `.tmTheme` themes and `tokenColors` paths, JSON `settings` themes (themeCompatibility.ts `convertSettings`): theme::tests::tm_theme_settings_give_token_rules_and_editor_colors. Icon theme keys with a parent folder (file_icons::tests::keys_with_a_parent_folder_match_inside_that_folder_only). all 19 built-in color themes with `include` and tokenColors, `workbench.colorCustomizations` and `editor.tokenColorCustomizations` with `[theme]` scopes and token groups, `window.autoDetectColorScheme`, `window.autoDetectHighContrast` and the four preferred theme settings (system appearance and Increase Contrast, followed while running), the theme and file icon theme follow settings.json edits (cargo test -p app theme themes configuration); `semanticTokenColors` and `editor.semanticTokenColorCustomizations` (editor/contrib/semanticTokens row); product icon themes (productIconThemeData.ts: `contributes.productIconThemes`, `workbench.productIconTheme`, truetype, opentype, woff and woff2 fonts (woff2 through the wuff crate), glyphs drawn as SVG paths since GPUI cannot load icon fonts: product_icons.rs, cargo test -p app product_icon; port/tools/product-icons-pair with port/fixtures/extensions/product-icons: the activity bar glyphs match the reference, 86 of 50000 pixels off in the activity bar crop). Registered icon ids resolve as `_resolveIconDefinition` does (codicons.rs `icon_ids`, the defaults generated by port/tools/gen-icon-registry.ts): the activity bar draws `explorer-view-icon` and the other view container icons, and the fixture's woff2 font and `explorer-view-icon` definition match the reference in product-icons-pair; views that still pass codicon ids are listed in port/notes.md milestone 20; all 19 built-in color themes with `include` and tokenColors, `workbench.colorCustomizations` and `editor.tokenColorCustomizations` with `[theme]` scopes and token groups, `window.autoDetectColorScheme`, `window.autoDetectHighContrast` and the four preferred theme settings (system appearance and Increase Contrast, followed while running), the theme and file icon theme follow settings.json edits (cargo test -p app theme themes configuration). Blocked: `semanticTokenColors` and `editor.semanticTokenColorCustomizations` need semantic tokens (editor/contrib/semanticTokens, milestone 13); product icon themes need a contributing extension (gallery, milestone 18); all 19 built-in color themes incl. hc-light, tokenColors (theme.rs, syntax.rs); cargo test -p app theme::tests; `setColorTheme` from the theme picker (preview, write, `$onColorThemeChange`), not on a settings.json edit; no semanticTokenColors (needs semantic tokens), no icon themes; extension `contributes.colors` defaults (colorExtensionPoint.ts, theme.rs `extension_colors`): cargo test -p app a_contributed_color_has_its_default_in_themes_without_it; switching between non-high-contrast themes or defining any border color but `window.*Border` and `contrast*Border` moves nothing in the workbench (cargo test -p app moves_nothing) |
+| workbench/services/themes | workbench service | M7 | verified | | theme.rs, product_icons.rs, codicons.rs `icon_ids` (port/tools/gen-icon-registry.ts): cargo test -p app theme themes configuration product_icon theme::tests::tm_theme_settings_give_token_rules_and_editor_colors file_icons::tests::keys_with_a_parent_folder_match_inside_that_folder_only a_contributed_color_has_its_default_in_themes_without_it moves_nothing; port/tools/product-icons-pair with port/fixtures/extensions/product-icons: 86 of 50000 pixels off in the activity bar crop. Semantic token colors: editor/contrib/semanticTokens row; views that still pass codicon ids: port/notes.md milestone 20 |
| workbench/services/timer | workbench service | M19 | verified | | timer.rs: timerService.ts startup metrics over the marks main.rs sets for the phases the native process has (Electron-only phases have no marks and no rows); cargo test -p app timer:: |
| workbench/services/title | workbench service | M11 | verified | | titleService.ts registers the title bar part: workbench.rs `title_bar` (workbench/parts/titlebar), active and inactive.; verified: every pair of port/results/windows.md (milestone 11 verification): the title bar and command center, "[Extension Development Host]" titles |
| workbench/services/treeSitter | workbench service | M7 | n/a | | tree-sitter tokens run only with `editor.experimental.preferTreeSitter.*` (experimental, off by default) or `editor.experimental.treeSitterTelemetry` (telemetry, removed); its other user is the chat agent terminal tools (AI, removed). TextMate tokens cover every language (workbench/services/textMate) |
@@ -507,11 +507,11 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/services/userActivity | workbench service | M19 | verified | | workbench/user_activity.rs: domActivityTracker.ts 30 s checks and the 10 s inactive debounce over every keystroke and mouse press, sent as $onDidChangeWindowActive (cargo test -p app user_activity); a progress held over 15 s while active keeps the mark until it ends, as progressService.ts `withProgress` (cargo test -p app a_long_progress_holds_the_window_active_until_it_ends) |
| workbench/services/userAttention | workbench service | M19 | n/a | | its only consumer is editTelemetry (editSourceTrackingImpl.ts); the port has no telemetry by decision (port/notes.md) |
| workbench/services/userData | workbench service | M10 | removed | | userDataInit.ts initializes a web window's user data from Settings Sync: browser only, and no sync by decision (port/notes.md) |
-| workbench/services/userDataProfile | workbench service | M10 | verified | | one app-wide `UserDataProfilesService` (a gpui Global in app/src/user_data_profile.rs) for every window of the process: profile windows open in this process, a transient profile lives while a window runs it (userDataProfilesHandler.ts cleanup on close), and `onDidChangeProfiles` reaches every window (cargo test -p app workbench::user_data_profile: profile_windows_open_in_this_process, every_window_sees_a_profile_another_window_creates_and_removes); userDataProfileManagement.ts `switchProfile`, `removeProfile` and `changeCurrentProfile` (configuration, keybindings, global state and user extensions move to the profile's files, the extension host restarts, workbench/extension_host_restart.rs) in workbench/user_data_profile.rs; the configuration layers of a profile (`ApplicationConfiguration`, PROFILE_SCOPES, `workbench.settings.applyToAllProfiles`) with configurationService.test.ts's Profiles suite (cargo test -p config profile_tests); the settings, keybindings, tasks, snippets, globalState and extensions resources and the `.code-profile` template of userDataProfileImportExportService.ts as app/src/profile_template.rs (cargo test -p app profile_template); a template's extensions install the way extensionsResource.ts `apply` does, one publisher trust dialog for all of them and an error naming the ones that failed (cargo test -p app template_extensions_ask_for_publisher_trust_once); per-profile extensions.json (cargo test -p exthost extension_management); `createTroubleshootProfile` is removed with contrib/issue, its only caller (issueTroubleshoot.ts); profile templates from `profileTemplatesUrl` have no source, the product.json has none |
+| workbench/services/userDataProfile | workbench service | M10 | verified | | app/src/user_data_profile.rs, workbench/user_data_profile.rs, app/src/profile_template.rs: cargo test -p app workbench::user_data_profile profile_windows_open_in_this_process every_window_sees_a_profile_another_window_creates_and_removes profile_template template_extensions_ask_for_publisher_trust_once; cargo test -p config profile_tests; cargo test -p exthost extension_management. Removed: `createTroubleshootProfile` with contrib/issue; `profileTemplatesUrl` (product.json has none) |
| workbench/services/userDataSync | workbench service | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/services/utilityProcess | workbench service | | verified | | no utility process workers: the file watcher worker, the one kept client, is files/src/watcher.rs on an FSEvents thread (platform/files; api-tests `vscode API - workspace-watcher` passes in the milestone 20 whole-suite run); localTranscription is AI, removed (port/notes.md milestone 20) |
-| workbench/services/views | workbench service | M11 | ported | [3 S] view_panes.rs:414 `moved_views_in`: a `"visibility": "collapsed"` view moved into another side bar container starts expanded there (viewContainerModel.ts keeps the descriptor's `collapsed`)<br>[3 S] activity_bar_menu.rs:179 `drop_composite`: a container dropped on the panel shows no focus, the reference outlines Port Panes' First pane and the Extensions search box (ui-pair contributed-panes.json "moved", "extensions-moved")<br>[3 S] view_panes.rs collapsed pane strip in the panel: the reference draws the view's icon under the chevron, the port only the chevron (ui-pair contributed-panes.json "moved")<br>[3 S] activity_bar_menu.rs:295 `composite_keybinding_command`: the Port Panes item's menu opens without Configure Keybinding, the reference's with it, though the extension container has no `openCommandActionDescriptor` (ui-pair contributed-panes.json "item-menu") | view containers of `viewsContainers.activitybar` and `viewsContainers.panel` and the tree views of every container (workbench/view_containers.rs): activity bar items while a view's `when` holds, `workbench.view.extension.<id>` with its "View: Show <title>" Command Palette item while `viewContainer.<id>.enabled` (cargo test -p app an_extension_container_is_shown), a panel container's tab after the built-in ones, its views as side-by-side panes under its "..." and "View: Toggle <title>" (cargo test -p app an_extension_panel_container_is_a_panel_tab), each contributed view's "<container>: Focus on <view> View" palette item (ui-pair port/fixtures/ui-pair/contributed-panes.json "palette" and "panel" match the reference but its Ports tab, removed by decision), `<view id>.focus`, `<view id>.active`, merged single views, view_panes.rs panes for the views of an extension container and of Testing (`PaneContainer::Contributed`: cargo test -p app view_containers::; ui-pair port/fixtures/ui-pair/contributed-panes.json with port/fixtures/extensions/contributed-panes, the Port Panes and Testing side bars as the reference), treeView.ts `noDataProviderMessage` (cargo test -p app tree_view::), contributed views of scm and debug as panes of those containers; the Explorer's ViewDescriptorsState (view_panes.rs); ui-pair port/results/references-view.md; `visibility` (`hidden` views stay out until the Views submenu of the Explorer's "..." shows them, `collapsed`; workbench/view_visibility.rs: cargo test -p app view_visibility); the Explorer container's ViewDescriptorsState (view_panes.rs); moving views (workbench/view_locations.rs, verified): `views.customizations` viewLocations and generated containers `workbench.views.service.<location>.<uuid>` with their activity bar items and panel tabs, View: Move View, Move Focused View, Reset Focused View Location, a view header dropped on another container's pane (at its position), on the activity bar or on a panel's title (a new entry), `focusedView`; the folder view, Open Editors, Outline, Timeline, Source Control's Changes, Search, the debug views and the panel's views move into any built-in container or a new entry and back, the moved view opens focused, the picker lists only visible views, a moved view's hidden state is in its current container's state (cargo test -p app a_moved_view_is_hidden); an activity item's and a tab's context menu with Move To (the other locations) and Reset Location away from the default location or for a lone view at home (paneCompositeBar.ts `getContextMenuActionsForComposite`: cargo test -p app the_explorer_item_menu), above them Configure Keybinding, Hide/Keep '{name}' and Show/Hide Badge, a panel or secondary side bar tab's menu ending with its bar's actions and its unpinned tabs hidden (compositeBarActions.ts `showContextMenu`, panelPart.ts `fillExtraContextMenuActions`: cargo test -p app an_item_menu_hides), an activity item dragged onto the panel or secondary side bar and a tab dropped on the activity bar (compositeBar.ts `CompositeDragAndDrop.drop`: cargo test -p app the_explorer_item_drags; at the drop index, reordered on its own bar and stored in its pinned items, opened focused: cargo test -p app a_dropped_composite; an activity item drags as its icon: cargo test -p app an_activity_item_drags_as_its_icon; no hover after a drop: cargo test -p app a_composite_drop_leaves_no_hover; a moved container's tab with its progress or icon badge over its number: cargo test -p app a_moved_container_tab_shows; the compact activity bar's tabs with the item menu, drag and keyboard focus: cargo test -p app the_compact_activity_bar_tabs; a collapsed view of a container moved to the panel stays a collapsed strip: cargo test -p app a_collapsed_view_stays_collapsed; ui-pair contributed-panes.json "moved": Port Panes moves into the panel and opens in both), the Extensions and Testing containers move to the panel and the secondary side bar and back with their views and open commands (cargo test -p app the_extensions_and_testing_containers; ui-pair contributed-panes.json "extensions-moved" and "testing-moved": both items dragged onto the panel open there as in the reference); cargo test -p app (2594 passed); ui-pair port/fixtures/ui-pair/m11/move-view.json, port/results/move-view.md (8 steps match, Ports removed by decision); verified: ui-pair port/results/references-view.md (milestone 11 verification) |
-| workbench/services/workingCopy | workbench service | M8 | verified | | the text file and untitled working copies are the editor models (dirty state, save, revert, the window's edited dot of `onDidChangeDirty`): cargo test -p app untitled (30), lifecycle (3); WorkingCopyFileService create, move, copy, delete with participants: cargo test -p files operations (12); WorkingCopyHistoryService and its tracker for saves into User/History, entries following renames and folder moves (`moveEntries`): cargo test -p app local_history (10); WorkingCopyBackupService and the backup tracker with hot exit (backups.rs, workbench/backup_tracker.rs), a backup of a deleted file restoring as an orphaned model (`doResolveFromBackup`), modified scratchpads backing up: cargo test -p app backup (19); the working copies of editable custom documents (MainThreadCustomEditorModel, workbench/custom_documents.rs: `$onDidEdit` edits for undo and redo with `$disposeEdits`, `$onContentChange`, dirty tabs, `$onSave`, Save As with `$onSaveAs` and the editor moved to the target, `$revert`, `$backup` into a `vscode-custom-editor` backup restored with its backup id): cargo test -p app custom_documents (3), and port/fixtures/extensions/custom-document-tests (FIXTURE=custom-document-tests port/tools/webview-check: 4/4 in the reference and 4/4 in the port). Notebook working copies are the contrib/notebook row's; their backups are typed (`hashIdentifier` with a type id, backups.rs: cargo test -p app backups::, the upstream typed hashes) and the shutdown joins backups still being written |
+| workbench/services/views | workbench service | M11 | ported | [3 S] view_panes.rs:414 `moved_views_in`: a `"visibility": "collapsed"` view moved into another side bar container starts expanded there (viewContainerModel.ts keeps the descriptor's `collapsed`)<br>[3 S] activity_bar_menu.rs:179 `drop_composite`: a container dropped on the panel shows no focus, the reference outlines Port Panes' First pane and the Extensions search box (ui-pair contributed-panes.json "moved", "extensions-moved")<br>[3 S] view_panes.rs collapsed pane strip in the panel: the reference draws the view's icon under the chevron, the port only the chevron (ui-pair contributed-panes.json "moved")<br>[3 S] activity_bar_menu.rs:295 `composite_keybinding_command`: the Port Panes item's menu opens without Configure Keybinding, the reference's with it, though the extension container has no `openCommandActionDescriptor` (ui-pair contributed-panes.json "item-menu") | workbench/view_containers.rs, view_panes.rs, workbench/view_visibility.rs, workbench/view_locations.rs: cargo test -p app an_extension_container_is_shown an_extension_panel_container_is_a_panel_tab view_containers:: tree_view:: view_visibility a_moved_view_is_hidden the_explorer_item_menu an_item_menu_hides the_explorer_item_drags a_dropped_composite an_activity_item_drags_as_its_icon a_composite_drop_leaves_no_hover a_moved_container_tab_shows the_compact_activity_bar_tabs a_collapsed_view_stays_collapsed the_extensions_and_testing_containers; ui-pair port/fixtures/ui-pair/contributed-panes.json with port/fixtures/extensions/contributed-panes (palette, panel, moved, extensions-moved, testing-moved), port/fixtures/ui-pair/m11/move-view.json (port/results/move-view.md), port/results/references-view.md. Ports removed by decision |
+| workbench/services/workingCopy | workbench service | M8 | verified | | backups.rs, workbench/backup_tracker.rs, workbench/custom_documents.rs: cargo test -p app untitled lifecycle local_history backup backups:: custom_documents; cargo test -p files operations; FIXTURE=custom-document-tests port/tools/webview-check with port/fixtures/extensions/custom-document-tests 4/4. Notebook working copies: the contrib/notebook row |
| workbench/services/workspaces | workbench service | M12 | verified | | workspace_trust.rs: WorkspaceTrustManagementService (uriTrustInfo in shared storage, longest trusted parent, empty window memento, parent folder trust) and WorkspaceTrustRequestService: cargo test -p app workspace_trust; workbench/workspace_editing.rs: abstractWorkspaceEditingService.ts addFolders, removeFolders, updateFolders, saveAndEnterWorkspace, enterWorkspace in the same window (stopped and started host, settings, backups, storage, Explorer, title), duplicate workspace: cargo test -p app folders_added_and_removed_in_a_workspace_reach_its_file_the_explorer_settings_and_host adding_a_folder_enters_an_untitled_workspace_in_the_same_window workspace_editing (the Remove Folder picker's ROOT_FOLDER icons, `setProfileForWorkspace`: a_new_workspace_keeps_the_window_profile); ui-pair port/fixtures/ui-pair/m12/workspace-folders.json, verified at port-m12b-verify |
| workbench/contrib/accessibility | workbench contribution | M19 | verified | | workbench/accessible_view.rs and workbench/accessibility.rs: accessible view and accessibility help (Alt+F2, Alt+F1 with the editor, hover, view help providers, the hover's and a workbench hover's accessible view, Escape from the latter focusing the hover again, a focused contributed tree or webview view's `accessibilityHelpContent`, a webview view the `focusedView` while its webview has the keyboard; Alt+F6, Alt+H, Alt+K, Alt+A, Alt+]/[), notification aria labels with the verbosity hint, unfocused editor dimming, Toggle Screen Reader Accessibility Mode, status entry; cargo test -p app accessib (alt_f1_shows_the_editor_help..., alt_f1_in_a_contributed_view..., alt_f1_in_a_webview_view..., dimming), cargo test -p app content_hover (the hover's accessible view), port/tools/a11y-check reads the help text area (port/notes.md milestone 19) |
| workbench/contrib/accessibilitySignals | workbench contribution | M19 | verified | | saveAccessibilitySignal.ts, editorTextPropertySignalsContribution.ts (line and position signals, state changes under the cursor, delays, breakpoints on the line), List Signal Sounds/Announcements; cargo test -p app accessib (errors_are_announced_on_a_new_line_and_at_each_position_on_them) |
@@ -525,21 +525,21 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/contrib/chat | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/chatWindow | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/codeActions | workbench contribution | M13 | verified | | codeActionsContribution.ts `updateConfigurationSchema`: every provided `source` kind gets its property in `editor.codeActionsOnSave` and `notebook.codeActionsOnSave` (config registry.rs `list_code_actions_on_save`, cargo test -p config code_actions_on_save). The keybindings schema (config json_schema.rs `keybindings_schema`, served at `vscode://schemas/keybindings` with `vscode://schemas/inlineCompletionProviderIdArgs`) adds the extensions' commands and the provided kinds to `editor.action.codeAction`, `refactor` and `sourceAction` args: cargo test -p config json_schema; ui-pair user keybindings.json `editor.action.refactor` with `{}` args: "Missing property \"kind\"." at Ln 3, Col 60 in both (port/results/language-features.md Keybindings schema) |
-| workbench/contrib/codeEditor | workbench contribution | M8 | verified | | quickaccess/gotoLineQuickAccess (Go to Line/Column, Go to Offset) ported; toggleRenderWhitespace's View: Toggle Render Whitespace and toggleMinimap's View: Toggle Minimap with `editor.minimap.enabled` (workbench/editor_commands.rs, ui-pair notes.txt); toggleColumnSelection's Toggle Column Selection Mode with its Selection menu check, and `editor.columnSelection` drags and Shift+clicks selecting a column (cargo test -p app column_selection_mode); toggleMultiCursorModifier's Toggle Multi-Cursor Modifier and its Selection menu items, with `editor.multiCursorModifier` `ctrlCmd` making Cmd+click the multi-cursor click (cargo test -p app multi_cursor_modifier); saveParticipants' text participants (cargo test -p app save_participants) and `CodeActionOnSaveParticipant` with `editor.codeActionsOnSave` before formatting (workbench/code_actions/on_save.rs: cargo test -p app code_actions), its `triggerCodeActionsCommand` running the `always` source kinds on window focus and active editor changes with `editor.codeActions.triggerOnFocusChange` and `files.autoSave` `afterDelay` (cargo test -p app a_window_focus_change_runs_the_always_code_actions_on_save); toggleOvertype's Toggle Overtype/Insert Mode with typing, IME composition and `editor.overtypeOnPaste` paste overtyping, its OVR status item and block cursor (cargo test -p app overtype_mode; ui-pair notes.txt); toggleRenderControlCharacter's Toggle Control Characters (workbench/editor_commands.rs); largeFileOptimizations' prompt with Forcefully Enable Features and Don't Show Again, and `isTooLargeForTokenization` turning off tokens, folding, word and selection highlights and sticky scroll (workbench/large_file.rs: cargo test -p app large_file); editorLineNumberMenu's `editor/lineNumber/context` menu with `editorLineNumber` (cargo test -p app the_line_number_menu); toggleWordWrap's View: Toggle Word Wrap (Alt+Z), View > Word Wrap and the long-lines editor title action over `editor.wordWrap` wrapping (editor/word_wrap.rs: cargo test -p app word_wrap, the monospaceLineBreaksComputer.test.ts cases; ui-pair wrap.ts); inspectEditorTokens with the semantic token's table from the first document or range provider (workbench/inspect_tokens.rs: cargo test -p app inspect_tokens a_semantic_token_adds_its_table_and_strikes_the_textmate_rule_it_overrides, a fresh tokenization past the line length limit: a_line_past_the_tokenization_limit_is_tokenized_for_the_inspector), the editor accessibility help (workbench/accessible_view.rs), quickaccess/gotoSymbolQuickAccess and the outline (workbench/quick_access/goto_symbol.rs, workbench/outline_pane.rs: cargo test -p app goto_symbol outline_pane); emptyTextEditorHint without its inline chat parts (workbench/empty_editor_hint.rs: cargo test -p app empty_editor_hint; ui-pair port/fixtures/ui-steps/empty-editor-hint.json: same text, links, italics and wrap at the editor width); diffEditorHelper.ts: the "Show Whitespace Differences" button of a whitespace-only diff and the "The diff algorithm was stopped early" prompt with Remove Limit (workbench/editor_view/diff_editor_view.rs: cargo test -p app a_whitespace_only_diff_offers_to_show_whitespace a_diff_stopped_early_offers_to_remove_the_limit; ui-pair port/fixtures/diff-whitespace/steps.json: the same button, then the same whitespace diff with the toggled action and the cursor left at Ln 1, Col 1). Removed by decision: dictation and the voice parts (AI), diffEditorTryout (an experiment), startDebugTextMate (a developer tool), menuPreventer and selectionClipboard (Linux), and Electron's displayChangeRemeasureFonts and sleepResumeRepaintMinimap workarounds. editorSettingsMigration and diffEditorHelper's `collapseUnchangedRegions` migration through ConfigurationMigrationWorkbenchContribution: every migrateOptions.ts item rewritten in user, workspace and multi-root folder settings and their `[language]` blocks, at startup and when folders are added (workbench/configuration_migration.rs: cargo test -p app configuration_migration). emptyEditorHintActions without its chat rows: the experimental `workbench.editor.experimental.emptyEditorHintActions` list with Select a Language, the editor last picked from the hint or the Markdown Editor matched through `getResourceForPatternMatching`, the split editor picker, Escape and the aria label (workbench/empty_editor_hint/actions.rs: cargo test -p app the_actions_hint_offers_the_last_picked_editor_first_and_escape_closes_it the_list_fits_the_editor_or_gives_way_to_the_classic_hint; ui-pair port/fixtures/ui-steps/empty-editor-hint.json with the setting on: the same rows, keys and footer) |
+| workbench/contrib/codeEditor | workbench contribution | M8 | verified | | workbench/editor_commands.rs, workbench/code_actions/on_save.rs, workbench/large_file.rs, editor/word_wrap.rs, workbench/inspect_tokens.rs, workbench/accessible_view.rs, workbench/quick_access/goto_symbol.rs, workbench/outline_pane.rs, workbench/empty_editor_hint.rs, workbench/empty_editor_hint/actions.rs, workbench/editor_view/diff_editor_view.rs, workbench/configuration_migration.rs: cargo test -p app column_selection_mode multi_cursor_modifier save_participants code_actions a_window_focus_change_runs_the_always_code_actions_on_save overtype_mode large_file the_line_number_menu word_wrap inspect_tokens a_semantic_token_adds_its_table_and_strikes_the_textmate_rule_it_overrides a_line_past_the_tokenization_limit_is_tokenized_for_the_inspector goto_symbol outline_pane empty_editor_hint a_whitespace_only_diff_offers_to_show_whitespace a_diff_stopped_early_offers_to_remove_the_limit configuration_migration the_actions_hint_offers_the_last_picked_editor_first_and_escape_closes_it the_list_fits_the_editor_or_gives_way_to_the_classic_hint; ui-pair notes.txt, wrap.ts, port/fixtures/ui-steps/empty-editor-hint.json, port/fixtures/diff-whitespace/steps.json. Removed by decision: dictation and voice (AI), diffEditorTryout, startDebugTextMate, menuPreventer and selectionClipboard (Linux), displayChangeRemeasureFonts and sleepResumeRepaintMinimap (Electron) |
| workbench/contrib/commands | workbench contribution | M9 | verified | | runCommands (commands.rs register_run_commands): cargo test -p app commands::, argument checks, spread args, order, stop at a failure; argument errors and the failure notify (cargo test -p app run_commands_argument_errors_notify) |
-| workbench/contrib/comments | workbench contribution | M13 | ported | [3 S] comment_node.rs: with a comment in edit, its reactions row sits about 3px left of the reference's (port/results/language-features.md, `steps-comment-menus.json` shot `editing`) | Done: a reply and an edit form per thread and comment, open together (commentReply.ts per CommentThreadWidget): cargo test -p app two_threads_keep_their_reply_forms_open_together; a zone sized by the drawn comment bodies: cargo test -p app a_wrapped_comment_body_grows_its_zone; next/previous thread and Focus Comment on Current Line focus the thread's comments (`commentFocused`, Up/Down between comments, Escape collapses and selects the range): cargo test -p app the_reached_thread_takes_the_focus. Done in diff editors: glyphs, commenting ranges (asked for every side of every multi diff file), range highlights and zones on both sides of the diff editor and of each multi diff file, the other side aligned by a diagonal fill (workbench/editor_view/diff_editor_view.rs, multi_diff_editor_view.rs, diff_editor.rs `additional_heights`): cargo test -p app diff comment; ui-pair `portComments.openDiff` modified, original and multi. Floating widgets on a diff's original side and on both sides of each multi diff file (comment_thread_floating.rs `FloatingHost`, multi_diff_editor_view.rs `multi_diff_floating_hosts`), with `FloatingWidgetRoom` growing a file below its last line (commentThreadFloatingWidgetRoom.ts, `FileDiff.room`): cargo test -p app floating room multi_diff; ui-pair `portComments.openDiff` original and multi with the floating style. Range decorations (commentThreadRangeDecorator.ts and the floating empty-range line, workbench/comment_thread_widget.rs `comment_range_highlights`): cargo test -p app comment_thread_floating. The floating thread style (`comments.thread.experimental.style: floating`; workbench/comment_thread_floating_layout.rs with commentThreadFloatingWidget.test.ts ported, workbench/comment_thread_floating.rs: placement beside the code or its lines in code order, the outline and connector, title drag, edge resize, double-click reset, the layout kept per thread, wheel to the editor): cargo test -p app comment_thread_floating, ui-pair steps-comment-floating.json (port/results/language-features.md Floating comment threads). Done: the Comments panel (workbench/comments_view.rs: resources, threads with author, relative time, first line, range and replies, the unresolved badge, a markdown preview's images as "Image: {alt}" (cargo test -p app a_markdown_comment_previews_its_first_rendered_block), the filter box with Show Resolved/Unresolved and Sort By, its history in the memento's `filterHistory`, Escape and Cmd+Down while `commentsFilterFocus` (cargo test -p app the_filter_keeps_its_history_and_escape_clears_it; no match highlights, as commentsTreeViewer.ts's renderers ignore the filter data), Collapse/Expand All, row selection and keys; hideIfEmpty; a thread row's `commentsView/commentThread/context` inline actions and context menu with the built-in Reply, which reveals the thread with its zone expanded and reply open: cargo test -p app the_thread_menu_replies_to_the_thread), the gutter glyph that toggles the thread (workbench/editor_view/comment_glyph.rs) and the thread widget (workbench/comment_thread_widget.rs: zone, state colors, head with `comments/commentThread/title` actions and Collapse, markdown comments with `code` spans on no `textCodeBlock.background` (cargo test -p app a_comment_s_code_span_draws_no_code_block_background), reply form with `comments/commentThread/context` buttons and Cmd+Enter, the `comments/commentThread/additionalActions` bar under the body (commentThreadAdditionalActions.ts: separator, secondary buttons, a submenu as ButtonWithDropdown, at most 4, in the zone height and the floating widths): cargo test -p app additional_actions_show_under_the_body_and_run_with_the_thread; ui-pair steps-comment-additional.json), each comment (workbench/comment_node.rs: `comments/comment/title` actions, edit mode with `comments/comment/context` buttons, reactions and their picker), commenting ranges with the add glyph, Add Comment and template threads (workbench/commenting_ranges.rs), the comment commands (workbench/comment_navigation.rs: Collapse/Expand All, Expand Unresolved, Toggle Editor Commenting, Focus Comment on Current Line, Dismiss Comment, next/previous thread, commented range and commenting range, reached at the provider's columns unless it holds the cursor: cargo test -p app a_commenting_range_is_reached_at_its_columns_unless_it_holds_the_cursor) and the comments accessibility help: cargo test -p app comment; ui-pair port/results/language-features.md (Comments, Comment editing and commands); Escape keeps a new template open as the reference does (ui-pair steps-comment-escape-typed.json, cargo test -p app dismissing_a_new_template_keeps_it_open). The reply and edit inputs are code editors (simpleCommentEditor.ts: a `comment`-scheme markdown model, word wrap, no glyph margin, line numbers or folding, `scrollBeyondLastLine` false, 5 to 25 lines by `calculateEditorHeight`) that take the focus with `commentEditorFocused`, Cmd+Enter submits and Escape hides; the host gets the input's document and no text editor (workbench/comment_thread_widget.rs `open_comment_editor`, workbench/editor.rs `comment_editor`): cargo test -p app an_expanded_thread_shows_a_zone_and_replies_run_the_form_actions a_comment_switched_to_editing_runs_the_edit_actions; ui-pair steps-comment-reply-editor.json (reply-empty, reply-lines, reply-grown). Comments panel rows: 4px pane inset, 4px radius and the tree's indent guides as the Problems tree (cargo test -p app rows_sit_in_the_pane_s_inset_with_the_tree_s_indent_and_guides; ui-pair steps-comments.json: chevron, name and thread line at the reference's x and y) |
-| workbench/contrib/customEditor | workbench contribution | M17 | verified | | Each editor of a custom text editor's resource, the one opened in another group and a split's copy, has a webview of its own (customEditorInput.ts: cargo test -p app each_group_s_custom_text_editor_has_its_own_webview); Opening a custom text editor with `options.selection` reveals it in the panel and leaves the text model's cursor (cargo test -p app a_custom_text_editor_s_navigation_drives_the_outline); A custom document open in another group moves to the active one, or with `supportsMultipleEditorsPerDocument` gets a second editor there (editorResolverService.ts `moveExistingEditorForResource`: cargo test -p app a_custom_document_open_in_another_group_moves_to_the_active_one a_custom_document_with_multiple_editors_opens_one_more_in_the_active_group); `workbench.editorAssociations` merged as editorResolverService.ts `getAllUserAssociationsForSetting`: the workspace's globs before the default's and user's (cargo test -p app a_workspace_association_wins_over_a_user_one_of_the_same_length); Reopen Editor With puts a closed custom or notebook editor's replacement in its place, pinned (editorGroupView.ts `replaceEditors`: cargo test -p app a_reopened_preview_keeps_its_tab_position); Two default editors for one resource warn once and remember the choice per extension glob (editorResolverService.ts `doHandleConflictingDefaults`: cargo test -p app two_default_editors_for_a_resource_ask_once_which_to_keep); the memento's custom editors until the extensions register (cargo test -p app markdown_editor_files_offer); editor resolution by `workbench.editorAssociations` and contributed selectors (editorResolverService.ts ranks), Reopen Editor With picker (`reopenActiveEditorWith`, `workbench.action.reopenWithEditor`), `_workbench.open`, `_workbench.openWith`; `FIXTURE=custom-editor-tests port/tools/webview-check` 8/8; cargo test -p app custom_editors |
-| workbench/contrib/debug | workbench contribution | M16 | ported | [3 M] breakpoint_widget.rs `show_glyph_margin_menu`: a right-click on the glyph margin shows only the breakpoint actions, where breakpointEditorContribution.ts leaves it to editorLineNumberMenu.ts `doShow`, and the line-number menu (editor_menus.rs `show_line_number_context_menu`) lacks the `2_debug` group of its gutter actions generator, so a test glyph's menu has no Add Breakpoint, Add Conditional Breakpoint..., Add Logpoint... and Add Triggered Breakpoint... below the testing items (ui-pair right-click on the run glyph of line 2 of port/fixtures/debug-node/math.test.js); the glyph menu also lacks Add Triggered Breakpoint...<br> [3 S] breakpoint_widget.rs:246: a breakpoint on the stopped line draws the full breakpoint circle inside the stack frame outline where debug.contribution.css's `--vscode-icon-debug-stackframe-dot` overlay draws a small dot (ui-pair `debug/call-stack-menu.json` stopped.png, line 5) <br> [3 S] debug: the Run and Debug activity item shows no badge while stopped where the reference shows "1" (ui-pair `debug/call-stack-menu.json` stopped.png; its source not traced) <br> [3 M] variable_menu.rs: no View Binary Data: debug.contribution.ts registers it only in the rows' `inline` group, and the port's Variables, Watch and hover rows have no inline action bar, no `vscode-debug-memory` file system and no hex editor install prompt (variablesView.ts `VIEW_MEMORY_ID`) <br> [3 S] debug status bar: the debug entry reads "Launch server.js" where the reference reads "Launch server.js (debug-node)" (ui-pair `debug/variables-menu.json` watch-menu.png; its source not traced) <br> [3 S] debug: while stopped the panel shows a Problems tab beside Debug Console where the reference shows Debug Console alone (ui-pair `debug/variables-menu.json` watch-menu.png; its source not traced) <br> [3 S] variable_menu.rs: Copy Value, Copy Expression, Edit Expression and Remove Expression from their keys (Cmd+C, Cmd+Alt+C, Enter, Cmd+Backspace in the views) do nothing: the views keep no tree selection to act on <br> [3 S] variable_menu.rs: a Variables row's menu passes `container` as `{ variablesReference }` only, where variablesView.ts `getVariablesContext` passes the scope's or parent variable's protocol object <br> [3 M] debug_visualizers.rs: visualized rows draw only in the Variables view; the Watch view's and the debug hover's expression children keep their plain rows (watchExpressionsView.ts:98, debugHover.ts:142 register `VisualizedVariableRenderer`) <br> [3 S] debug_visualizers.rs `visualizer_icon`: a visualizer whose `iconPath` is a Uri (`iconPath` in extHostDebugService.ts `getIconPathOrClass`) draws an empty button, only `iconClass` codicons draw <br> [3 S] debug_view.rs: while stopped the Variables pane is shorter than the reference's, so Watch starts at y 230 where the reference's starts at y 283 and an expanded Local scope pushes Global under Watch (ui-pair `debug/visualizer.json` local.png; its source not traced) <br> [3 S] lazy variables: the port's side of ui-pair `debug/lazy-variable.json` eye-hover.png, the eye button's "Click to expand" hover over the debug hover, not yet taken (the Studio's GUI lane stopped at a system prompt); a gpui test covers it <br> [3 S] debug_hover.rs: the hover's find widget starts about 20px right of the reference's and is narrower, and a name matching the find draws on a red box where the reference only recolors it (ui-pair `debug/hover-find.json` hover-find.png) <br> [3 S] view_visibility.rs: the Run and Debug container's `...` menu has no "Debug Console" item and separator above the view toggles, and its button shows no pressed background while the menu is open (ui-pair `menus/view-container-title.json`, `FOLDER=port/fixtures/debug-node`) <br> [3 S] debug_service.rs: `guess_debugger`'s Select Debugger picker has no "More {0} options..." picks of the dynamic configuration providers (debugAdapterManager.ts `getDynamicProviders`), which the port does not have <br> [3 S] debugQuickAccess.ts: the picker has no dynamic configuration providers' `{label}...` picks with the `contributed` description, where the reference lists `Node.js...` (ui-pair `debug/quick-access.json`, `FOLDER=port/fixtures/debug-node`) <br> [3 S] debug_service.rs: a stop opens the Run and Debug view for any reason, where debugSession.ts opens it only for `reason === 'breakpoint'`: at the `debugger;` of port/fixtures/debug-node/lazy.js the reference stays on the Explorer (ui-pair `debug/lazy-variable.json`) <br> [3 S] debug_view.rs: the Variables and Call Stack rows' twisties sit about 7px left of the reference's and the trees draw no indent guides (ui-pair `debug/visualizer.json` local.png, `debug/call-stack-menu.json` stopped.png) <br> [3 M] debug_editor: the stopped line has no `debug-top-stack-frame-column` inline arrow before the frame's column (callStackEditorContribution.ts `makeStackFrameColumnDecoration`) and no inline breakpoint candidate dots (breakpointEditorContribution.ts, `breakpointLocations` request), and the glyph of a breakpoint the frame stops on draws a red filled shape where the reference draws the yellow outlined stack frame with a small red dot (ui-pair `debug/variables-menu.json`, line 5 of app.js) <br> [3 S] debug_toolbar.rs: the floating toolbar draws at the window's top over the title bar where the reference's sits below it over the editor tabs (ui-pair `debug/variables-menu.json`) <br> [3 S] debug_toolbar.rs: with `debug.toolBarLocation` `commandCenter` the label sits right after the actions where the reference centers it behind a `•` separator (ui-pair `debug/toolbar.json`) | ui-pair port/fixtures/debug-node: gutter breakpoint, F5 stops at it, Variables (Local: main), Call Stack with folded deemphasized frames, Breakpoints, Debug Console REPL, toolbar, status bar entry; cargo test -p app debug; the launch picker shrinks to an ellipsis beside a `flex: 1` title (cargo test -p app launch_picker_shrinks; ui-pair menus/view-container-title.json); the container's `...` menu opens below the button, left aligned in a left side bar (cargo test -p app the_debug_container_more_actions); Select Debugger groups the Suggested debuggers and ends with Install, and a file without a debugger offers to find one (cargo test -p app debug_service); own getters come as lazy rows whose `$(eye)` button matches the reference's (ui-pair `debug/lazy-variable.json` hover.png), and the workbench hover draws over the debug hover (cargo test -p app a_workbench_hover_draws_over_the_debug_hover); a complex hover's tree height counts the editor's top in its group, six rows above line 3 of app.js as the reference (cargo test -p app the_tree_height_keeps_an_above_hover_off_the_hovered_line; ui-pair `debug/hover-find.json`); Call Stack frame names, Variables, Watch and hover rows' expression labels in 11px Menlo (cargo test -p app watch_expression_labels_use_the_monospace_font; ui-pair `debug/call-stack-menu.json` stopped.png); Breakpoints header `$(warning)` hint for the debugger's `strings.unverifiedBreakpoints` after breakpointsView.ts's 4s `hintDelayer`, restarted by every breakpoint change (cargo test -p app debug_view; ui-pair port/fixtures/ui-pair/debug/unverified-breakpoints.json with js-debug's unbound math.test.js breakpoint); preLaunchTask, postDebugTask, compound preLaunchTask and the restart tasks through debugTaskRunner.ts's runner with `debug.onTaskErrors`, the remembered task error choice and the slow task notification (cargo test -p app debug_task_runner); Run to Cursor's temporary breakpoint with debugService.ts `runTo`'s 2s verification wait, thread choice from the sessions that verified it, and removal at the next stop or session end (cargo test -p app debug_commands); Debug Console output styled by its SGR sequences with the theme's ANSI colors at contrast 4 (cargo test -p app debug_console debug::ansi); Debug Console filter box (replFilter.ts terms, "Showing N of M" badge, Cmd+F `repl.action.filter`, value and history in workspace storage) and session picker (consoles of the sessions with `hasSeparateRepl`, `mergeWithParent` children in the parent's, selection focuses the session or its stopped child), input history in workspace storage (`debug.repl.history`) (cargo test -p app debug_console); ended sessions stay inactive in the console picker with their output until Clear Console or a start of the same configuration (debugModel.ts `addSession`, repl.ts `sessionsToIgnore`; cargo test -p app an_ended_session_stays_in_the_picker_until_cleared_or_started_again); debugUtils.ts `saveAllBeforeDebugStart` before a start (not for a child session or with `suppressSaveBeforeStart`) and a restart, by `debug.saveBeforeStart` (cargo test -p app a_start_or_restart_saves_the_dirty_editors); triggered breakpoints: debugSession.ts `enableDependentBreakpoints` by `hitBreakpointIds` or the top frame's position sets `sessionsDidTrigger` and sends the files again, continue and the steps wait for it up to 1.5 s (`waitForTriggeredBreakpoints`), a restart clears it (cargo test -p app a_hit_breakpoint_enables_its_dependents); `debug.inlineValues` after the focused frame's lines: the `InlineValuesProvider`s' values (`$provideInlineValues`) or the most specific scopes' variables named on each line, their `formatHoverContent` hover, the 100ms removal on continue (cargo test -p app debug_inline_values); debugHover.ts in place of the editor hover while a frame is focused in the file: the `$provideEvaluatableExpression` range or the dotted path under the mouse, `hover` evaluation or the scopes' variable, Cmd+K Cmd+I focused, Alt for the editor hover, the tree's list keys, Alt+click and Alt+Space toggling the loaded subtree (abstractTree.ts `onSpace`: cargo test -p app alt_click_toggles_the_loaded_subtree), a row click's tree focus, selection and twistie toggle (abstractTree.ts `onViewPointer`: cargo test -p app a_click_on_a_hover_row_focuses_the_tree) and `layoutTree` height, the glyph margin's lockout release, the caret edge nearer the mouse, lazy rows' `$(eye)` button (baseDebugView.ts `lazyButton`, `debug.autoExpandLazyVariables`; cargo test -p app a_lazy_row_takes_its_value_from_the_eye_button), the tree's find widget (abstractTree.ts `FindController`: cargo test -p app the_find_widget_filters_the_hover_tree; ui-pair port/fixtures/ui-pair/debug/hover-find.json) (cargo test -p app debug_hover; ui-pair port/fixtures/debug-node `greeting` and `numbers` hovers); disassemblyView.ts: the `disassemble` requests around the focused frame's instruction pointer, the glyph click's instruction breakpoint (`setInstructionBreakpoints`), the Breakpoints view's instruction rows, `instruction` stepping granularity while the view is active, the table's focus on reload, the list keys' focus, selection and clear, Page Up/Down over the rows' own heights, the hover column border (cargo test -p app disassembly list_tree a_step_in_the_disassembly_view debug::tests::instruction_breakpoints debug::tests::remove_instruction_breakpoints); Call Stack: js-debug's compact child session merged into its parent's row with modernUI's capitalized state label, the folded frames' common source `origin` (callStackView.ts `CallStackCompressionDelegate`, `ShowMoreRenderer`: cargo test -p app debug_view), the frame's `line:column` count badge and the trees' list focus a right click moves to them (cargo test -p app a_right_clicked_call_stack_row_takes_the_list_focus); the floating toolbar from `MenuId.DebugToolBar` with the extensions' `debug/toolBar` items, and `debug/createConfiguration` items in Select Debugger (cargo test -p app the_debug_toolbar_and_create_configuration_menus_take_contributed_items; ui-pair port/fixtures/ui-pair/debug/call-stack-menu.json); the toolbar's Focus Session select with `multiSessionDebug`, Stop's `MenuId.DebugToolBarStop` dropdown, Alt showing the alt command, `debug.toolBarLocation` docked in the Run and Debug title and `commandCenter` in the command center (debugToolBar.ts, debugActionViewItems.ts `FocusSessionActionViewItem`, commandCenterControl.ts `CommandCenterCenterViewItem`: cargo test -p app debug_toolbar; ui-pair port/fixtures/ui-pair/debug/toolbar.json with `SETTINGS` docked and commandCenter); Variables, Watch and hover row context menus (debug.contribution.ts `DebugVariablesContext`, `DebugWatchContext`, `DebugHoverContext`, watchExpressionsView.ts Copy Expression and Copy All, Set Value through `setVariable` or `setExpression` with the adapter's error under the input, Break on Value Read/Change/Access from the `dataBreakpointInfo` answer: cargo test -p app variable_menu; ui-pair port/fixtures/ui-pair/debug/variables-menu.json); a stop reveals its line centered only when outside the view, after the editor's first layout (debugSource.ts `openInEditor` `CenterIfOutsideViewport`: cargo test -p app a_stop_on_a_line_in_view_keeps_the_scroll; ui-pair port/fixtures/ui-pair/debug/lazy-variable.json); debugQuickAccess.ts `debug ` picks: the launch configurations by folder with Most Recent, their gear to launch.json, Add Configuration..., and Debug: Select and Start Debugging opening it (cargo test -p app the_debug_picker_lists_and_starts_the_launch_configurations; ui-pair port/fixtures/ui-pair/debug/quick-access.json); the first cheap scope expands on a focus change only once the Variables view has shown, as variablesView.ts `renderBody` sets its first input unexpanded (cargo test -p app the_first_scope_expands_only_once_the_variables_view_exists; ui-pair port/fixtures/ui-pair/debug/variables-menu.json `Local: main` collapsed in both); shortcuts in port/notes.md |
+| workbench/contrib/comments | workbench contribution | M13 | ported | [3 S] comment_node.rs: with a comment in edit, its reactions row sits about 3px left of the reference's (port/results/language-features.md, `steps-comment-menus.json` shot `editing`) | workbench/comments_view.rs, workbench/comment_thread_widget.rs, comment_thread_floating.rs, workbench/comment_thread_floating_layout.rs, workbench/comment_node.rs, workbench/commenting_ranges.rs, workbench/comment_navigation.rs, workbench/editor_view/comment_glyph.rs, multi_diff_editor_view.rs: cargo test -p app comment diff floating room multi_diff comment_thread_floating two_threads_keep_their_reply_forms_open_together a_wrapped_comment_body_grows_its_zone the_reached_thread_takes_the_focus a_markdown_comment_previews_its_first_rendered_block the_filter_keeps_its_history_and_escape_clears_it the_thread_menu_replies_to_the_thread a_comment_s_code_span_draws_no_code_block_background additional_actions_show_under_the_body_and_run_with_the_thread a_commenting_range_is_reached_at_its_columns_unless_it_holds_the_cursor dismissing_a_new_template_keeps_it_open an_expanded_thread_shows_a_zone_and_replies_run_the_form_actions a_comment_switched_to_editing_runs_the_edit_actions rows_sit_in_the_pane_s_inset_with_the_tree_s_indent_and_guides (commentThreadFloatingWidget.test.ts); ui-pair `portComments.openDiff` (modified, original, multi, floating), steps-comment-floating.json, steps-comment-additional.json, steps-comment-escape-typed.json, steps-comment-reply-editor.json, steps-comments.json (port/results/language-features.md Comments, Comment editing and commands, Floating comment threads) |
+| workbench/contrib/customEditor | workbench contribution | M17 | verified | | cargo test -p app custom_editors each_group_s_custom_text_editor_has_its_own_webview a_custom_text_editor_s_navigation_drives_the_outline a_custom_document_open_in_another_group_moves_to_the_active_one a_custom_document_with_multiple_editors_opens_one_more_in_the_active_group a_workspace_association_wins_over_a_user_one_of_the_same_length a_reopened_preview_keeps_its_tab_position two_default_editors_for_a_resource_ask_once_which_to_keep markdown_editor_files_offer; `FIXTURE=custom-editor-tests port/tools/webview-check` 8/8 |
+| workbench/contrib/debug | workbench contribution | M16 | ported | [3 M] breakpoint_widget.rs `show_glyph_margin_menu`: a right-click on the glyph margin shows only the breakpoint actions, where breakpointEditorContribution.ts leaves it to editorLineNumberMenu.ts `doShow`, and the line-number menu (editor_menus.rs `show_line_number_context_menu`) lacks the `2_debug` group of its gutter actions generator, so a test glyph's menu has no Add Breakpoint, Add Conditional Breakpoint..., Add Logpoint... and Add Triggered Breakpoint... below the testing items (ui-pair right-click on the run glyph of line 2 of port/fixtures/debug-node/math.test.js); the glyph menu also lacks Add Triggered Breakpoint...<br> [3 S] breakpoint_widget.rs:246: a breakpoint on the stopped line draws the full breakpoint circle inside the stack frame outline where debug.contribution.css's `--vscode-icon-debug-stackframe-dot` overlay draws a small dot (ui-pair `debug/call-stack-menu.json` stopped.png, line 5) <br> [3 S] debug: the Run and Debug activity item shows no badge while stopped where the reference shows "1" (ui-pair `debug/call-stack-menu.json` stopped.png; its source not traced) <br> [3 M] variable_menu.rs: no View Binary Data: debug.contribution.ts registers it only in the rows' `inline` group, and the port's Variables, Watch and hover rows have no inline action bar, no `vscode-debug-memory` file system and no hex editor install prompt (variablesView.ts `VIEW_MEMORY_ID`) <br> [3 S] debug status bar: the debug entry reads "Launch server.js" where the reference reads "Launch server.js (debug-node)" (ui-pair `debug/variables-menu.json` watch-menu.png; its source not traced) <br> [3 S] debug: while stopped the panel shows a Problems tab beside Debug Console where the reference shows Debug Console alone (ui-pair `debug/variables-menu.json` watch-menu.png; its source not traced) <br> [3 S] variable_menu.rs: Copy Value, Copy Expression, Edit Expression and Remove Expression from their keys (Cmd+C, Cmd+Alt+C, Enter, Cmd+Backspace in the views) do nothing: the views keep no tree selection to act on <br> [3 S] variable_menu.rs: a Variables row's menu passes `container` as `{ variablesReference }` only, where variablesView.ts `getVariablesContext` passes the scope's or parent variable's protocol object <br> [3 M] debug_visualizers.rs: visualized rows draw only in the Variables view; the Watch view's and the debug hover's expression children keep their plain rows (watchExpressionsView.ts:98, debugHover.ts:142 register `VisualizedVariableRenderer`) <br> [3 S] debug_visualizers.rs `visualizer_icon`: a visualizer whose `iconPath` is a Uri (`iconPath` in extHostDebugService.ts `getIconPathOrClass`) draws an empty button, only `iconClass` codicons draw <br> [3 S] debug_view.rs: while stopped the Variables pane is shorter than the reference's, so Watch starts at y 230 where the reference's starts at y 283 and an expanded Local scope pushes Global under Watch (ui-pair `debug/visualizer.json` local.png; its source not traced) <br> [3 S] lazy variables: the port's side of ui-pair `debug/lazy-variable.json` eye-hover.png, the eye button's "Click to expand" hover over the debug hover, not yet taken (the Studio's GUI lane stopped at a system prompt); a gpui test covers it <br> [3 S] debug_hover.rs: the hover's find widget starts about 20px right of the reference's and is narrower, and a name matching the find draws on a red box where the reference only recolors it (ui-pair `debug/hover-find.json` hover-find.png) <br> [3 S] view_visibility.rs: the Run and Debug container's `...` menu has no "Debug Console" item and separator above the view toggles, and its button shows no pressed background while the menu is open (ui-pair `menus/view-container-title.json`, `FOLDER=port/fixtures/debug-node`) <br> [3 S] debug_service.rs: `guess_debugger`'s Select Debugger picker has no "More {0} options..." picks of the dynamic configuration providers (debugAdapterManager.ts `getDynamicProviders`), which the port does not have <br> [3 S] debugQuickAccess.ts: the picker has no dynamic configuration providers' `{label}...` picks with the `contributed` description, where the reference lists `Node.js...` (ui-pair `debug/quick-access.json`, `FOLDER=port/fixtures/debug-node`) <br> [3 S] debug_service.rs: a stop opens the Run and Debug view for any reason, where debugSession.ts opens it only for `reason === 'breakpoint'`: at the `debugger;` of port/fixtures/debug-node/lazy.js the reference stays on the Explorer (ui-pair `debug/lazy-variable.json`) <br> [3 S] debug_view.rs: the Variables and Call Stack rows' twisties sit about 7px left of the reference's and the trees draw no indent guides (ui-pair `debug/visualizer.json` local.png, `debug/call-stack-menu.json` stopped.png) <br> [3 M] debug_editor: the stopped line has no `debug-top-stack-frame-column` inline arrow before the frame's column (callStackEditorContribution.ts `makeStackFrameColumnDecoration`) and no inline breakpoint candidate dots (breakpointEditorContribution.ts, `breakpointLocations` request), and the glyph of a breakpoint the frame stops on draws a red filled shape where the reference draws the yellow outlined stack frame with a small red dot (ui-pair `debug/variables-menu.json`, line 5 of app.js) <br> [3 S] debug_toolbar.rs: the floating toolbar draws at the window's top over the title bar where the reference's sits below it over the editor tabs (ui-pair `debug/variables-menu.json`) <br> [3 S] debug_toolbar.rs: with `debug.toolBarLocation` `commandCenter` the label sits right after the actions where the reference centers it behind a `•` separator (ui-pair `debug/toolbar.json`) | cargo test -p app debug launch_picker_shrinks the_debug_container_more_actions debug_service a_workbench_hover_draws_over_the_debug_hover the_tree_height_keeps_an_above_hover_off_the_hovered_line watch_expression_labels_use_the_monospace_font debug_view debug_task_runner debug_commands debug_console debug::ansi an_ended_session_stays_in_the_picker_until_cleared_or_started_again a_start_or_restart_saves_the_dirty_editors a_hit_breakpoint_enables_its_dependents debug_inline_values debug_hover alt_click_toggles_the_loaded_subtree a_click_on_a_hover_row_focuses_the_tree a_lazy_row_takes_its_value_from_the_eye_button the_find_widget_filters_the_hover_tree disassembly list_tree a_step_in_the_disassembly_view debug::tests::instruction_breakpoints debug::tests::remove_instruction_breakpoints a_right_clicked_call_stack_row_takes_the_list_focus the_debug_toolbar_and_create_configuration_menus_take_contributed_items debug_toolbar variable_menu a_stop_on_a_line_in_view_keeps_the_scroll the_debug_picker_lists_and_starts_the_launch_configurations the_first_scope_expands_only_once_the_variables_view_exists; ui-pair port/fixtures/debug-node (breakpoint, F5, views, REPL, toolbar, `greeting` and `numbers` hovers), menus/view-container-title.json, port/fixtures/ui-pair/debug/hover-find.json, port/fixtures/ui-pair/debug/unverified-breakpoints.json, port/fixtures/ui-pair/debug/call-stack-menu.json, port/fixtures/ui-pair/debug/toolbar.json, port/fixtures/ui-pair/debug/variables-menu.json, port/fixtures/ui-pair/debug/lazy-variable.json, port/fixtures/ui-pair/debug/quick-access.json; shortcuts in port/notes.md |
| workbench/contrib/dropOrPasteInto | workbench contribution | M13 | verified | | commands.ts `configurePreferredPasteAction`/`configurePreferredDropAction`: the widgets' menus and the Paste As pick open user settings JSON at `editor.pasteAs.preferences` or `editor.dropIntoEditor.preferences` (workbench/paste_edits.rs); the `editor.pasteAs.*` and `editor.dropIntoEditor.*` settings come from core-settings.json; ui-pair paste-menu (port/results/language-features.md) |
| workbench/contrib/editSessions | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/editTelemetry | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/emergencyAlert | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/emmet | workbench contribution | M13 | verified | | workbench/emmet.rs: Emmet: Expand Abbreviation (`emmet.expandAbbreviation` with the language at the cursor and the emmet parent mode of its grammar's scope, emmetAction.test.ts cases), Tab with `emmet.triggerExpansionOnTab`, the Edit menu entry: cargo test -p app emmet menubar |
| workbench/contrib/encryption | workbench contribution | M10 | n/a | | encryption.contribution.ts only migrates Linux `password-store` argv values to gnome-libsecret; the port runs on macOS and keeps secrets in the Keychain |
-| workbench/contrib/extensions | workbench contribution | M18 | ported | [3 M] extensions_list_view.rs `manage_extension_actions`: Install Specific Version... (extensionsActions.ts `InstallAnotherVersionAction`) stays disabled, the gallery's `getAllCompatibleVersions` and the version pick are not ported <br> [3 S] extensions_list_view.rs `extension_row`: no activation time (`ActivationTimeWidget`, the reference shows `33ms` on `@builtin emmet` in ui-pair `menus/extension-context.json`), and the name sits about 4px higher and the description and publisher 2px to 5px lower than the reference's <br> [3 M] extensions.contribution.ts: of the `MenuId.ExtensionContext` items the port has Set Color/File Icon/Product Icon Theme, Copy, Copy Extension ID, Copy Link, Settings and Keyboard Shortcuts; the pre-release, install, download, account, profile, sync and recommendation items wait for their commands, and the keys they read (`isExtensionRecommended`, `isExtensionAllowed`, ...) are not set | Manage menu after extensionsActions.ts `ManageExtensionAction.getActionGroups`: Enable, Enable (Workspace), Disable, Disable (Workspace), Install Specific Version... and Uninstall always listed, disabled by their `update()` rules, and the right-clicked row keeps its focus outline while the menu is open (cargo test -p app the_manage_menu_lists_the_extension_context_menu; ui-pair `menus/extension-context.json` with an absolute `ARGS=--extensionDevelopmentPath=<repo>/port/fixtures/extensions/menus`: the menu and the outlined row match the reference); Set Color Theme, Set File Icon Theme and Set Product Icon Theme (extensionsActions.ts `SetColorThemeAction` and siblings: the extension's themes in a pick, previewed, restored on cancel; not in the extension editor's menu): cargo test -p app the_manage_menu_sets_a_theme_of_the_extension; ui-pair `menus/extension-theme.json` (`@builtin monokai`): the menu matches the reference; Extensions view as view panes (cargo test -p app the_views_are_panes; ui-pair port/fixtures/extensions/ui-view.json), queries, details editor, enablement, updates, badge, Help: Start/Continue/Stop Extension Bisect (services/extensionManagement/browser/extensionBisect.ts: state in the application storage across reloads, bisect-disabled extensions as DisabledByEnvironment in the window and out of the host, the urgent sticky prompt, the default-checked Keep this extension disabled; Report Issue & Continue is out with the removed contrib/issue): cargo test -p app extension_bisect, bisect_finds_the_extension_and_keeps_it_disabled; cargo test -p app extension (extensionsViews.test.ts, extensionQuery.test.ts, extensionEnablementService.test.ts cases); Features tab tables and markdown of extensionFeaturesTab.ts and the registered renderers: cargo test -p app extension_features; Runtime Status Uncaught Errors from `$onExtensionRuntimeError` and Messages: cargo test -p app the_runtime_status_lists_uncaught_errors_and_messages, invalid_contributed, static_entries_need_the_proposal, group_needs_the_proposal, debuggers_merge_by_type_and_keep_the_built_in_values, skipped_menu_contributions_are_extension_messages, contributed_command_messages, invalid_views_and_view_containers_are_extension_messages, invalid_configuration_is_an_extension_message, invalid_json_validation_is_an_extension_message, invalid_colors_and_icons_are_extension_messages, invalid_semantic_token_contributions_are_extension_messages, invalid_problem_patterns_and_matchers_are_extension_messages, invalid_grammars_are_extension_messages, invalid_notebook_contributions_are_extension_messages (the authentication point is out with the removed services/authentication); ui-pair port/fixtures/extensions/ui-view.json (view, search, details) against the reference |
+| workbench/contrib/extensions | workbench contribution | M18 | ported | [3 M] extensions_list_view.rs `manage_extension_actions`: Install Specific Version... (extensionsActions.ts `InstallAnotherVersionAction`) stays disabled, the gallery's `getAllCompatibleVersions` and the version pick are not ported <br> [3 S] extensions_list_view.rs `extension_row`: no activation time (`ActivationTimeWidget`, the reference shows `33ms` on `@builtin emmet` in ui-pair `menus/extension-context.json`), and the name sits about 4px higher and the description and publisher 2px to 5px lower than the reference's <br> [3 M] extensions.contribution.ts: of the `MenuId.ExtensionContext` items the port has Set Color/File Icon/Product Icon Theme, Copy, Copy Extension ID, Copy Link, Settings and Keyboard Shortcuts; the pre-release, install, download, account, profile, sync and recommendation items wait for their commands, and the keys they read (`isExtensionRecommended`, `isExtensionAllowed`, ...) are not set | cargo test -p app extension the_manage_menu_lists_the_extension_context_menu the_manage_menu_sets_a_theme_of_the_extension the_views_are_panes extension_bisect bisect_finds_the_extension_and_keeps_it_disabled extension_features the_runtime_status_lists_uncaught_errors_and_messages invalid_contributed static_entries_need_the_proposal group_needs_the_proposal debuggers_merge_by_type_and_keep_the_built_in_values skipped_menu_contributions_are_extension_messages contributed_command_messages invalid_views_and_view_containers_are_extension_messages invalid_configuration_is_an_extension_message invalid_json_validation_is_an_extension_message invalid_colors_and_icons_are_extension_messages invalid_semantic_token_contributions_are_extension_messages invalid_problem_patterns_and_matchers_are_extension_messages invalid_grammars_are_extension_messages invalid_notebook_contributions_are_extension_messages (extensionsViews, extensionQuery, extensionEnablementService tests); ui-pair `menus/extension-context.json` with `--extensionDevelopmentPath=<repo>/port/fixtures/extensions/menus`, `menus/extension-theme.json`, port/fixtures/extensions/ui-view.json. Out with removed parts: Report Issue & Continue (contrib/issue), the authentication point (services/authentication) |
| workbench/contrib/externalTerminal | workbench contribution | M15 | verified | | workbench/external_terminal.rs: Open New External Terminal (`workbench.action.terminal.openNativeConsole`, cmd+shift+c), with several workspace folders after the Select workspace folder pick (cargo test -p app open_native_console_picks_a_folder_in_a_multi_root_workspace); cargo test -p app external_terminal; ui-pair (port/results/terminal.md) |
| workbench/contrib/externalUriOpener | workbench contribution | M12 | verified | | workbench/opener.rs: externalUriOpenerService.ts getRequestedOpener (workbench.externalUriOpeners globs), chooseOpener, "How would you like to open: {0}" picker; no Simple Browser (out of scope); verified at port-m12b-verify: cargo test -p app opener 4/4; Simple Browser is out of scope by decision |
-| workbench/contrib/files | workbench contribution | M12 | verified | | virtual workspaces (non-file folders): milestone 25; Cmd+V pastes the files another app copied after explorer.confirmPasteNative (explorerView.ts paste listener, fileActions.ts `pasteFileHandler`: cargo test -p app cmd_v_pastes_the_files_finder_copied); Dragged workspace roots reorder before or after a root by the pointer's half, or to the end, with the list.dropBetweenBackground line (explorerViewer.ts `doHandleRootDrop`: cargo test -p app dragging_a_root_reorders_the_workspace_folders; ui-pair dragShot of a three-root workspace, line over a root and below the rows matches); Compact folders off while optimized for a screen reader (explorerView.ts `isCompressionEnabled`: cargo test -p app compacts_single_child_folders_into_one_row); A workspace root that fails to resolve: the single folder's file item of its own resource, the "!" decoration in `list.invalidItemForeground` with "Unable to resolve workspace folder (...)" (explorerViewer.ts `getChildren`, explorerDecorationsProvider.ts: cargo test -p app a_workspace_root_that_fails_to_resolve_is_decorated_with_its_error; ui-pair of a two-root workspace with a missing folder, row and hover match); a copy soft-reverts the target's dirty model, which shows the copied file (workingCopyFileService.ts `doMoveOrCopy`: cargo test -p app a_copy_onto_a_dirty_model_reverts_it_to_the_copied_file); An unreadable folder expands to no children without an error (fileService.ts `toFileStat`: cargo test -p app an_unreadable_folder_expands_to_no_children); Explorer tree read from disk (explorer.rs): folders first, default excludes, click to expand, click opens a file as preview, double click pins, selection follows the active editor; Seti file icons and compareFileNamesDefault sort; workspace folders as roots, first five expanded (cargo test -p app); new file and folder, rename, delete, copy, cut, paste, drag and drop and undo through the working copy file operations (cargo test -p app explorer_actions, file_actions); "Do not ask me again" as the NSAlert suppression checkbox (dialog.rs); the context menu with the items whose commands the port has (port/results/contextmenu.md); tree view state in workspace storage (cargo test -p app view_state); file nesting with the explorerFileNestingTrie.test.ts cases (cargo test -p app nest); copyFilePath, copyRelativeFilePath and revealFileInOS (cargo test -p app copy_path, copied_path_labels); compact folders (cargo test -p app compact, get_context, compressed_navigation); Explorer find (cargo test -p app explorer_find find_filters); Finder drops through ExternalFileImport (cargo test -p app files_dropped_from_finder); explorer.sortOrder and sortOrderLexicographicOptions; explorer.autoReveal; list keyboard commands; the view title actions on hover or focus, revealInExplorer, showActiveFileInExplorer and the other file actions (cargo test -p app view_title_and_file_actions); workbench.action.files.newFile and showOpenedFileInNewWindow (cargo test -p app new_file_creates); Add Folder to Workspace and removeRootFolder (workbench/workspace_editing.rs, ui-pair port/fixtures/ui-pair/m12/workspace-folders.json); the compare commands compareFiles, selectForCompare, compareSelected, compareFileWith, compareWithSaved, compareWithClipboard, compareNewUntitledTextFiles (workbench/file_compare.rs: cargo test -p app file_compare); compare with saved by its chord: ui-pair port/fixtures/ui-pair/m12/compare-saved.json (the modified side has its own editor and cursor, at the first change: cargo test -p app file_compare; left the breadcrumbs editor type picker); Find in Folder..., Open in Integrated/External Terminal (cargo test -p app explorer_actions; ui-pair m12/find-in-folder.json and m12/folder-terminal.json), high contrast list outline (icons.json hc matches); rename, delete, new file and drag and drop with its move confirmation: ui-pair m12/explorer-ops.json matches; `<view id>.focus` of the Explorer panes (cargo test -p app focus_view_commands); the editor placeholders: binary, too large, not found and read errors with their actions (cargo test -p app files_that_do_not_resolve; ui-pair m12/editor-placeholders.json matches); the Open Editors view: pane size limits, group rows, unsaved badge, title actions, row close and dirty actions, drag to groups (cargo test -p app open_editors body_limits_clamp; ui-pair m12/open-editors.json); pinned (sticky) editors and scrolling tab bars, sticky shrink tabs in place with the `m…` label (cargo test -p app sticky pinned_editors tab_scroll; ui-pair m12/tab-scroll.json); Explorer indent guides at the reference x, row hover background, decoration badges at 11px 8px from the end, the Unpin Editor hover again after the tab menu closes (cargo test -p app tree_guides hover unpin_hover; ui-pair m12/explorer-guides.json and m12/pinned-tabs.json match). Differences left (port/notes.md milestone 12, session m12-files-done): a long tooltip breaks one path segment earlier (GPUI's line wrapper), the pin action loses its hover style after Cmd+W until the pointer moves (gpui keyboard modality), a shrink sticky tab with a badge and no room for its name; Open With... (`explorer.openWith`, `explorerResourceAvailableEditorIds`: cargo test -p app open_with_opens_the_resource the_context_menu_selects_the_row); Compare Active File With... from a file it opens itself: ui-pair m12/compare.json, the picker, the diff and the README.md menu match (port/notes.md session compare-fix); `explorerResourceReadonly` and `explorerResourceParentReadOnly` from `isReadonly` (cargo test -p app readonly_keys_follow_the_focused_item_and_its_parent); a failed create as an error notification with Retry, a dropped folder added to the workspace (cargo test -p app a_failed_create_offers a_folder_dropped_on_the_root); the Explorer's confirms and prompts through `dialogService` (Electron's message box, or the custom dialog with `window.dialogStyle: custom`: cargo test -p app a_delete_confirmation_follows_the_dialog_style) |
+| workbench/contrib/files | workbench contribution | M12 | verified | | explorer.rs, dialog.rs, workbench/workspace_editing.rs, workbench/file_compare.rs: cargo test -p app explorer_actions file_actions view_state nest copy_path copied_path_labels compact get_context compressed_navigation explorer_find find_filters files_dropped_from_finder view_title_and_file_actions new_file_creates file_compare focus_view_commands files_that_do_not_resolve open_editors body_limits_clamp sticky pinned_editors tab_scroll tree_guides hover unpin_hover open_with_opens_the_resource the_context_menu_selects_the_row readonly_keys_follow_the_focused_item_and_its_parent a_failed_create_offers a_folder_dropped_on_the_root a_delete_confirmation_follows_the_dialog_style cmd_v_pastes_the_files_finder_copied dragging_a_root_reorders_the_workspace_folders compacts_single_child_folders_into_one_row a_workspace_root_that_fails_to_resolve_is_decorated_with_its_error a_copy_onto_a_dirty_model_reverts_it_to_the_copied_file an_unreadable_folder_expands_to_no_children (explorerFileNestingTrie.test.ts); ui-pair port/fixtures/ui-pair/m12/workspace-folders.json, port/fixtures/ui-pair/m12/compare-saved.json, m12/compare.json, m12/find-in-folder.json, m12/folder-terminal.json, m12/explorer-ops.json, m12/editor-placeholders.json, m12/open-editors.json, m12/tab-scroll.json, m12/explorer-guides.json, m12/pinned-tabs.json (port/results/contextmenu.md). Differences left (port/notes.md milestone 12): a long tooltip breaks one segment earlier (GPUI line wrapper), the pin action loses its hover after Cmd+W until the pointer moves, a shrink sticky tab with a badge has no room for its name. Virtual workspaces: milestone 25 |
| workbench/contrib/folding | workbench contribution | M8 | verified | | `editor.defaultFoldingRangeProvider` picks among extension `FoldingRangeProvider`s from MainThreadLanguageFeatures (workbench/folding_providers.rs): cargo test -p app folding_providers; the setting's enum lists All and the extensions with code, Programming Languages first (`_updateConfigValues`, config registry.rs: cargo test -p config folding_range); `editor.defaultFoldingRangeProvider` picks among extension `FoldingRangeProvider`s from MainThreadLanguageFeatures (workbench/folding_providers.rs): cargo test -p app folding_providers; the setting's enum is not rebuilt for installed extensions; `editor.defaultFoldingRangeProvider` picks among extension `FoldingRangeProvider`s, which come with mainthread/MainThreadLanguageFeatures (port/notes.md milestone 8) |
| workbench/contrib/format | workbench contribution | M13 | verified | | `editor.defaultFormatter` from the extensions with formatters (config registry `list_default_formatters`), the formatter dialog, notification and Configure Default Formatter pick, Format Document With (workbench/format.rs): cargo test -p app format::, cargo test -p config default_formatter; the `formatter.conflict` Formatting language status with Configure... (cargo test -p app two_formatters_without_a_default) |
| workbench/contrib/git | workbench contribution | M14 | removed | | IGitService and its delegate serve only chat and agent sessions (removed by decision) |
@@ -548,42 +548,42 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/contrib/inlayHints | workbench contribution | M13 | verified | | inlayHintsAccessibilty.ts: Read Line with Inlay Hints announces the cursor line with its hints in place (the No Inlay Hints signal without them), Escape stops it, `isReadingLineWithInlayHints` and `editorHasInlayHintsProvider` (workbench/inlay_hints_accessibility.rs: cargo test -p app inlay_hints). The line goes to the live region, not a focused aria element (shortcut in the file) |
| workbench/contrib/inlineChat | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/inlineCompletions | workbench contribution | M13 | removed | | Artur: AI. the Copilot language status item, the rename symbol tracker of next edit suggestions and the provider id schema of their settings |
-| workbench/contrib/interactive | workbench contribution | M17 | verified | | `InteractiveWindowWorkingCopyEditorHandler`: a `notebook/interactive/interactive` backup opens its interactive window: cargo test -p app an_interactive_window_backup; verified (session m17d): cargo test -p app the_interactive_window; api-tests Interactive Window in api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); ui-pairs m17/interactive-window.json and m17/interactive-restart.json (replPair.open interactive: executed, restored empty as upstream's untitled scratchpad, executed again) match (/tmp/m17f); interactive.rs: `_interactive.open` (untitled `Interactive-N.interactive` scratchpad notebook, preselected kernel bound on open as `_tryAutoBindNotebook`, input model `vscode-interactive-input:/InteractiveInput-N`), the input cell under the read-only cell list, `interactive.execute`, history (HistoryNavigator2), input clear/focus, history focus, scroll top/bottom, scroll to an executed last cell, tab input kind 9, the input hint (ReplInputHintContentWidget), read-only list cell editors, `interactiveWindow.alwaysScrollOnNewCell` off (scroll only when the cell is the last visible), the InteractiveToolbar menu (Interrupt, Go to Running Cell, extension `interactive/toolbar` items), simpleEditorOptions input editor, `interactiveWindowOpen`: cargo test -p app the_interactive_window, api-tests Interactive Window, ui-pair m17/interactive-window.json (replPair.open interactive). The input editor is a visible text editor while a cell has the focus; the window comes back after a reload (InteractiveEditorSerializer `workbench.input.interactive`, notebooks.rs `restore_notebook_editors`): cargo test -p app the_interactive_window. The `repl.*`/`interactive.*` palette entries are in the reference dump (reference-commands.json) and listed under their `when`. ui-pair m17/interactive-window.json (replPair.open interactive): open, typed and executed match but the reference's first status bar (it shows `Spaces: 4` twice and `Cell 1 of 1` for a moment). Not done: interactive window hot exit (no ui-pair with a restart step yet) |
+| workbench/contrib/interactive | workbench contribution | M17 | verified | | interactive.rs, notebooks.rs `restore_notebook_editors`: cargo test -p app the_interactive_window an_interactive_window_backup; api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row (10 pending are upstream skips); ui-pair m17/interactive-window.json and m17/interactive-restart.json (the reference's first status bar differs for a moment). Not done: interactive window hot exit (no ui-pair with a restart step yet) |
| workbench/contrib/issue | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/keybindings | workbench contribution | M9 | verified | | systemWideKeybindings.ts selection and contribution warnings ported in system_wide_keybindings.rs (cargo test -p app system_wide: the user, unsupported and conflict cases of systemWideKeybindings.test.ts; the defaults case selects only chat's screenshot rule, removed with AI); Toggle Keyboard Shortcuts Troubleshooting logs dispatch and resolution to the Window log and shows it, without the focus marker (port/notes.md milestone 15; cargo test -p app keybindings_troubleshooting_logs_to_the_window_log) |
| workbench/contrib/keybindingsExport | workbench contribution | M9 | verified | | `--export-default-keybindings [folder]` writes doc.keybindings.osx.json (core rows, then built-in extension rules, then unbound commands) and quits, ignored on a stable build (a packaged latest one): cargo test -p app export_default_keybindings; against the reference's file (Studio, 1.147.0 dev, `/tmp/kbref`): it has 1310 rules, the port 1308; 1307 were identical, the others js-debug's 2 rules (not bundled) and the defineKeybinding rule, which then named a `file:` keybindings.json; it now names `vscode-userdata:<user home>/keybindings.json` as preferences.contribution.ts's `keybindingsResource.toString()` does (port export re-checked, 1308 rules; the reference file was not exported again) (the core rules' platform keys, folded before, are kept as written); the unbound list holds the commands the port registers; the Windows and Linux files are not written (macOS-only port, port/notes.md milestone 9) |
| workbench/contrib/languageDetection | workbench contribution | M13 | verified | | workbench/language_detection.rs: the `$(lightbulb-autofix)` status entry after the language entry for untitled editors with `workbench.editor.languageDetectionHints.untitledEditors` (1 s throttle, "Accept Detected Language: X (⇧⌥D)"), `editor.detectLanguage` (Shift+Alt+D, "Unable to detect editor language"); Auto Detect in Select Language Mode (workbench/editor_status.rs): cargo test -p app language_detection editor_status; ui-pair port/fixtures/language-features/steps-detect.json (port/results/inlay-hints.md) |
-| workbench/contrib/languageStatus | workbench contribution | M13 | verified | | the `{}` entry left of the language entry as a compact pair (severity icon, busy spinner, wiggle eased per keyframe (the_wiggle_eases_each_keyframe) and flash), pinned statuses as own entries stored in `languageStatus.dedicated`, the interaction counter (counted when the hover shows: the_interaction_count_follows_the_hover_showing) and its reset, the hover rows with severity icon, label, detail, command link and pin/unpin action with their titles over the hover (`_renderStatus`, the_pin_shows_its_title_over_the_hover), the `formatter.conflict` Formatting status (workbench/language_status.rs): cargo test -p app language_status two_formatters_without_a_default; ui-pair f.ts and FILE=src/main.ts, hover on `{}` (port/results/language-features.md Semantic tokens and language status): the compact pair and the TypeScript extension's two hover rows (label, detail, link, pin) match the reference, the hover's width (its codicons at the hover's 12px font: cargo test -p app the_hover_codicons_take_its_font_size) and the hovered pair's backgrounds (compactHoverBackground stacked on hoverBackground, outer corners rounded: hovering_the_compact_pair_marks_the_hovered_entry) |
+| workbench/contrib/languageStatus | workbench contribution | M13 | verified | | workbench/language_status.rs: cargo test -p app language_status two_formatters_without_a_default the_wiggle_eases_each_keyframe the_interaction_count_follows_the_hover_showing the_pin_shows_its_title_over_the_hover the_hover_codicons_take_its_font_size hovering_the_compact_pair_marks_the_hovered_entry; ui-pair f.ts and FILE=src/main.ts, hover on `{}` (port/results/language-features.md Semantic tokens and language status) |
| workbench/contrib/limitIndicator | workbench contribution | M11 | verified | | color decorator, folding range and problem limits as Warning language statuses with Configure (language_status.rs `limit_indicator_statuses`), the Problems one hidden with `renderValidationDecorations` off (`problems.visibility`, textEditor.ts) and taken from a diff editor's modified side: cargo test -p app -- limit (limitIndicator.test.ts "distinguishes diagnostic truncation", "respects validation visibility", "uses the modified editor in a diff", "keeps Configure actions"); the statuses are computed from the active editor on each read, so the listener and dispose cases have no counterpart; the resource filter case is n/a (`installResourceFilter` has only chat callers, no AI in the port) |
| workbench/contrib/list | workbench contribution | M9 | verified | | `ListContext` keys listSupportsTypeNavigation and listSupportsKeyboardNavigation; list.resizeColumn: TableColumnResizeQuickPick's column pick and percentage input with its validation (cargo test -p app keybindings_editor_view: resize_column_sets_the_picked_column_to_a_percentage_of_the_table, a_column_width_must_be_an_integer_percentage); the Keyboard Shortcuts table is the only table so far; list.resizeColumn: TableColumnResizeQuickPick's column pick and percentage input with its validation (cargo test -p app keybindings_editor_view: resize_column_sets_the_picked_column_to_a_percentage_of_the_table, a_column_width_must_be_an_integer_percentage); the Keyboard Shortcuts table is the only table so far |
-| workbench/contrib/localHistory | workbench contribution | M12 | verified | | A resource of an extension's file system provider shows the entries of the `file` resource of its path, the provider schemes passed from the host thread (localHistoryTimeline.ts `provideTimeline`: cargo test -p app a_file_system_provider_resource_shows_the_entries_of_its_file); A save after a rename ("Renaming a to b"), a code action (its title) or another workspace edit ("Workspace Edit") is named by the undo element's label (cargo test -p app a_save_after_a_workspace_edit_is_named_by_its_label); a save with an undone edit still to redo is an "Undo / Redo" entry, after typing a plain one (workingCopyHistoryTracker.ts `resolveSourceFromUndoRedo`: cargo test -p app a_save_after_an_undo_is_an_undo_redo_entry); workbench/local_history_actions.rs: Find Entry to Restore, Delete All, Create Entry; entries follow renames and moves (local_history.rs `move_entries`); cargo test -p app local_history; the Timeline source with Compare with File, Compare with Previous, Select for Compare, Restore, Rename and Delete; a click keeps the row selected and focused (cargo test -p app a_click_opens_the_comparison_and_keeps_the_row_selected_and_focused); ui-pair port/fixtures/ui-pair/m12/timeline.json matches (Focus on Timeline View, focus moved by Down without selecting, the Shift+F10 item menu, the title actions while the pane has focus, the comparison at Ln 1, Col 1; port/notes.md milestone 12 verification, third pass) |
+| workbench/contrib/localHistory | workbench contribution | M12 | verified | | local_history.rs, workbench/local_history_actions.rs: cargo test -p app local_history a_file_system_provider_resource_shows_the_entries_of_its_file a_save_after_a_workspace_edit_is_named_by_its_label a_save_after_an_undo_is_an_undo_redo_entry a_click_opens_the_comparison_and_keeps_the_row_selected_and_focused; ui-pair port/fixtures/ui-pair/m12/timeline.json (port/notes.md milestone 12 verification) |
| workbench/contrib/localization | workbench contribution | M18 | verified | | Configure Display Language (Installed English, Available Open VSX packs with locale and install counts, More Info) matches the reference: ui-pair port/fixtures/extensions/ui-display-language.json; Clear Display Language Preference: cargo test -p app localization |
| workbench/contrib/logs | workbench contribution | M15 | verified | | logs_actions.rs: Set Log Level... (global and per channel, Set as Default Log Level button), `workbench.action.setDefaultLogLevel`, Show Window Log, Show Logs..., Open Log..., Open Logs Folder, Open Extension Logs Folder, logsDataCleaner.ts (cargo test -p app set_default_log_level_writes_argv, old_log_sessions_are_removed); Open Logs Folder reveals the session folder (port/notes.md milestone 15) |
| workbench/contrib/markdown | workbench contribution | M17 | verified | | workbench/markdown_document.rs renderMarkdownDocument (extension editor, walkthroughs): heading ids, per-caller link protocols, relative images; cargo test -p app markdown_document (markdownDocumentRenderer.test.ts both cases); `MarkedHighlight` code blocks: a fenced block's language by its name or its info string's first word, tokenized by textToHtmlTokenizer.ts `tokenizeToString` into `mtk` spans with the token colors CSS in the extension editor, walkthrough and release notes pages (editor/clipboard.rs `tokenize_to_string`: cargo test -p app fenced_code_blocks_are_tokenized_in_their_language). pulldown-cmark parses the markdown in marked's place (a Rust port has no JavaScript parser) |
-| workbench/contrib/markers | workbench contribution | M13 | verified | | markersTreeViewer.ts `MarkerViewModel`: each marker keeps its quick fixes, asked once, until its resource's markers change (cargo test -p app each_problems_marker_keeps_its_quick_fixes). Indent guides and the focused row's outline apart from the selection (cargo test -p app the_focus_outline_follows). status bar problems entry and tooltip from markers (workbench/diagnostics.rs), its click toggles the Problems view; the Problems panel view (workbench/problems_view.rs: resources by worst severity then path, markers by severity then position, count badges, the tab badge, open on click, Collapse All, `workbench.actions.view.problems` and `toggleProblems`): cargo test -p app problems_view the_debug_console_and_test_results_are_panel_views, ui-pair port/results/problems.md; MarkersFileDecorations (count letter, error/warning color, bubbling, weight over other providers, `problems.decorations.enabled`) on Explorer rows and tabs (workbench/file_decorations.rs): cargo test -p app problems_decorate_the_file; filter box (workbench/view_filter.rs in the panel title at the panel's filter width, markers_filter.rs: markersFilterOptions.test.ts cases; text, `!`, globs, `@source:`, severity, active file and excluded files toggles, filter history, memento), filters menu, related information and multi-line rows, View as Table with column sashes (workbench/problems_table.rs), quick fixes on hovered rows (workbench/problems_quick_fix.rs): cargo test -p app markers_filter problems_view problems_table; ui-pair port/fixtures/problems/steps-filter.json and steps-table.json (port/results/problems.md); the selected row (first marker on focus, Up/Down, Enter and Cmd+Down open, `problems.action.copy`/`copyMessage`/`copyRelatedInformationMessage`, Cmd+. on the selected marker, `problemFocus`/`relatedInformationFocus`): cargo test -p app problems; ui-pair .vscode/settings.json and e.ts quick fix (port/results/language-features.md JSON settings, Problems quick fix). Multi-selection in the tree (`multipleSelectionSupport`: Shift+Up/Down, Cmd+click toggles, Shift+click ranges from the anchor, Copy over `getFocusedSelectedElements`) and open to the side (`problems.action.openToSide` on Ctrl+Enter, Ctrl/Cmd/Alt+click as listService.ts `sideBySide`, into `SIDE_GROUP`): cargo test -p app markers_select_together_and_open_to_the_side. Resource row: name 30px in, count badge 19px round 10px after the label at the line's bottom (cargo test -p app the_resource_name_sits_after_the_twistie_at_its_exact_line_height; ui-pair problems: chevron, icon x, name, description and badge box at the reference's device pixels, the file icon and the badge digit 1 device px low); a hovered marker without a model gets its quick fixes once its file opens (markersTreeViewer.ts `getModel(waitForModel)`; cargo test -p app a_problems_marker_gets_its_quick_fixes_once_its_file_opens) |
+| workbench/contrib/markers | workbench contribution | M13 | verified | | workbench/diagnostics.rs, workbench/problems_view.rs, workbench/file_decorations.rs, workbench/view_filter.rs, markers_filter.rs, workbench/problems_table.rs, workbench/problems_quick_fix.rs: cargo test -p app problems problems_view problems_table markers_filter problems_decorate_the_file the_debug_console_and_test_results_are_panel_views each_problems_marker_keeps_its_quick_fixes the_focus_outline_follows markers_select_together_and_open_to_the_side the_resource_name_sits_after_the_twistie_at_its_exact_line_height a_problems_marker_gets_its_quick_fixes_once_its_file_opens (markersFilterOptions.test.ts); ui-pair port/fixtures/problems/steps-filter.json and steps-table.json (port/results/problems.md), .vscode/settings.json and e.ts quick fix (port/results/language-features.md) |
| workbench/contrib/mcp | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
-| workbench/contrib/mediaPreview | workbench contribution | M17 | verified | | Resources of extension file systems: the file service's stat for the size, their parent as the webview's resource root, codecs read from the whole file up to mediaCodecs.ts' limit, and a `git` Git LFS pointer as the preview's message (mediaPreview.ts `isGitLfsPointer`; cargo test -p app previews_read_git_resources_and_show_git_lfs_pointers_as_a_message); An image or media file previewed in another group gets a preview of its own in the active group (mediaPreview.contribution.ts registers without `singlePerResource`: cargo test -p app an_image_previewed_in_another_group_gets_a_preview_in_the_active_one); image, video and audio previews as built-in editors (workbench/media_preview.rs, pages in media_preview/*.html), resolver priority builtin, zoom commands and Select Zoom Level picker, zoom, dimensions and file size status entries, Reopen as Source Text / Image Preview, the file's tab icon and Explorer reveal; `FIXTURE=media-preview-tests port/tools/webview-check` 6/6 on both apps; cargo test -p app media_preview; ui-pair image, video and audio, the breadcrumbs bar with the editor type control and its Reopen/Set Default menu (editor-type-reopen.json; port/results/webviews.md); cargo test -p app lists_the_editor_types; the focus outline at open (ui-pair media-preview-focus.json, background and foreground); cargo test -p app opens_a_startup_image. Not done: Copy image, legacy `media-preview` editor migration. The player page's codec warnings and WebM type (mediaCodecs.ts as media_preview/codecs.rs, mediaPlayerEditorInput.ts `_postCodecs`, `_postWebmType`): cargo test -p app media_preview::codecs, answers_the_player_page_with_the_file_s_codecs |
+| workbench/contrib/mediaPreview | workbench contribution | M17 | verified | | workbench/media_preview.rs, media_preview/codecs.rs: cargo test -p app media_preview media_preview::codecs answers_the_player_page_with_the_file_s_codecs lists_the_editor_types opens_a_startup_image previews_read_git_resources_and_show_git_lfs_pointers_as_a_message an_image_previewed_in_another_group_gets_a_preview_in_the_active_one; `FIXTURE=media-preview-tests port/tools/webview-check` 6/6; ui-pair image, video, audio, editor-type-reopen.json (port/results/webviews.md), media-preview-focus.json. Not done: Copy image, legacy `media-preview` editor migration |
| workbench/contrib/mergeEditor | workbench contribution | M14 | ported | [3 S] merge_editor_view.rs `merge_result_toolbar`: the result title's "..." draws no `toolbar.activeBackground` while its menu is open (ui-pair menus/merge-result-title.json shot `more`) <br> [3 S] merge_editor_view.rs `merge_result_title`: "1 Conflict Remaining" draws about 15% wider than the reference's (shot `merge`) <br> [3 S] the merge editor's tab "Merging: a.txt" lacks the reference's conflict decoration (red label and "!"), its breadcrumbs lack the reference's "Text Editor" switch at the right, and the status bar shows UTF-8 where the reference shows none (shot `merge`) <br> [3 S] merge_editor_view.rs `merge_input_pane`: the inputs' titles lack the reference's "·" between the commit and the description and sit 3px higher (shot `merge`) <br> [3 S] merge_editor.rs: opened from git's Resolve in Merge Editor the result's cursor is on line 4, the reference's on the first conflict's line 1 (status Ln 1, Col 1; shot `merge`) | merge_editor.rs model (mapping, conflict states, accept/combine) and workbench/editor_view/merge_editor_view.rs (input 1/2, result, base view, layouts, gutter checkboxes behind `mergeEditor.showCheckboxes`, base-to-result diff backgrounds, "Comparing with" in base, the result's breadcrumbs, git's Complete Merge in the result's floating menu, `_open.mergeEditor`, dev commands, the inputs as read-only code editors of the group, Toggle Between Inputs, the active range in the last focused input or the result, scroll synchronization): cargo test -p app merge; the result title's `mergeEditor/result/title` toolbar (Reset sorted among the contributed `primary` items, the other groups behind "..."): ui-pair menus/merge-result-title.json, `FOLDER` a repository mid-merge with a conflicted `a.txt`, `FILE=a.txt`, `ARGS=--extensionDevelopmentPath=<repo>/port/fixtures/extensions/menus` |
| workbench/contrib/meteredConnection | workbench contribution | M19 | verified | | the metered warning status entry and Configure Metered Connection (workbench/power.rs); port/tools/shell-check (port/fixtures/extensions/shell-tests, 6/6); cargo test -p app metered_connection |
| workbench/contrib/modernUI | workbench contribution | M11 | verified | | the modern layout only: the classic layout (`workbench.experimental.modernUI: false`) is removed by Artur's decision (port/notes.md Modern UI); `window.density.layout` compact and the Manage menu's Layout Density (cargo test -p app -- compact_density layout_density; ui-pair m11/layout-density.json in both densities with SETTINGS `{"window.density.layout": "compact"}`, port/results/layout-density.md) |
-| workbench/contrib/multiDiffEditor | workbench contribution | M14 | ported | [3 S] floating_menu.rs `multi_diff_floating_menu`: the `multiDiffEditor/content` toolbar sits 2pt lower than the reference's (ui-pair port/fixtures/ui-pair/menus/multi-diff-content.json) | the `multiDiffEditor/content` toolbar floating over the diffs while the menu has actions, run with the input's resource (multiDiffEditor.ts `MultiDiffEditorContentMenuOverlay`): cargo test -p app the_content_menu_floats_over_the_diffs, ui-pair port/fixtures/ui-pair/menus/multi-diff-content.json with `FILE=notes.txt` and the menus fixture extension: same buttons and size as the reference; multi_diff_editor.rs and workbench/editor_view/multi_diff_editor_view.rs: `_workbench.openMultiDiffEditor`, SCM group (following the group's splices, each kept file with its state) and history item sources, Open File with the history item's `goToFileEditorTitle`, file toolbar, change navigation, collapse, binary placeholder, unchanged bars that click or drag with the line below kept in place and the hidden range's outline breadcrumbs (cargo test -p app unchanged_bars_drag), the layout debug log in the side group with a JSON patch line per change, the file list's Files View & Position sides, its sash with the stored width and hiding below 560px, View as List/Tree with the diffs in the list's order, each file's 35px diff gutter with Revert Block, the diff editor's line number lane, the `noCards` variant, first change selected and focused on open: cargo test -p app multi_diff. Each file side is its own code editor (workbench/code_editors.rs): a press focuses it, the modified side takes typing, undo, selection, IME, find and suggest, the host gets the file's edit, the edit recomputes the file's diff and makes the tab dirty and pinned, the dirty file opens as an inactive tab after 800ms (textFileEditorTracker.ts), the focused side's cursor blinks, every drawn side has its own color decorators, bracket pair colors come from the model: cargo test -p app a_file_side_is_a_code_editor every_drawn_file_side; ui-pair `steps-multi-diff-edit.json` (typed, undone, find) matches but for the reference's TypeScript diagnostics (port/notes.md, Comments in diff editors) |
-| workbench/contrib/notebook | workbench contribution | M17 | ported | [3 M] notebook_editor: no cell execute toolbar (`notebook/cell/execute`, notebookEditorWidget.ts:138 `cellExecuteToolbar`); kernel_picker.rs: no `notebook/kernelSource` actions (notebookKernelServiceImpl.ts:322); no notebookVariablesView.ts, so no `notebook/variables/context` | NotebookProviderInfoStore's memento lists notebook types until the extensions register (cargo test -p app markdown_editor_files_offer). compressOutputItemStreams (cargo test -p app notebook::tests::stream_compression). verified (session m17d): cargo test -p app -- notebook kernel renderer backup interactive repl outline quick_input explorer list_scroll walkthrough 288/0 (incl. the_notebook_list_scrolls_beyond_its_last_cell_with_the_wheel, the_mouse_over_a_longer_unfocused_cell_reaches_that_cell, overview_ruler); api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent); ui-pairs m17 notebook-open, -keys-outline, -output-toolbar, -kernel-picker, -restore (/tmp/m17f, /tmp/m17g), -cell-click and -scroll match; -toolbars and -find rerun on the GUI lanes at 991cb455f74 (gui-vm1 and gui-vm2, port and reference from the same run, Studio /tmp/m17i-notebook-*): menus, find highlights and overview ruler marks within 1 device px of the reference; differences named in port/notes.md session m17d; model (notebook.rs, notebookTextModel.ts edits, events, transient options, stream output merging), kernels and executions (notebook/kernels.rs), notebook service and resolver (workbench/notebooks.rs): cargo test -p app notebook; api-tests notebook suites 40/8/0 as the reference. Notebook editor (workbench/notebook_editor.rs, notebook/layout.rs): cells as code editors over their text models (the focused cell's is the group's code editor), markdown previews and outputs in the back layer webview, toolbar (+ Code, + Markdown, Run All, kernel picker), insert toolbar between cells, run gutter with execution order and state, cell toolbar (edit, stop editing, delete), Cell N of M status, notebook undo/redo over cell edits and cell text edits: cargo test -p app notebook (layout against the reference's measurements, undo order); ui-pair m17/notebook-open. Breadcrumbs with the notebook outline and the editor type picker, the Outline view, cell status bar items, cell list keyboard navigation, API cell edits on the undo stack, Save and Save As (untitled), dirty close prompt, host references let go after 3 minutes (port/notes.md milestone 17): cargo test -p app notebook (23). Hot exit backups through the serializer (`notebook/<viewType>/<viewType>` working copies, restored in the background): cargo test -p app a_dirty_notebook_backs_up; `notebook.cell.changeLanguage` from the cell status bar and Cmd+K M (language picker, kind changes): cargo test -p app the_cell_language_picker. The output `...` toolbar (cellOutput.ts `_attachToolbar`, MenuId.NotebookOutputToolbar: Clear Cell Outputs, Copy Cell Output, Save Image, Show Empty Outputs; Change Presentation with the session display order and preferred renderers; hidden empty outputs and the 28px minimum output height; workbench/notebook_editor/outputs.rs): cargo test -p app the_output_toolbar_menu, renderers; ui-pair m17/notebook-output-toolbar.json. Notebook editors come back after a reload (NotebookEditorSerializer): cargo test -p app a_notebook_editor_comes_back. The title's Customize Notebook... gear: cargo test -p app the_customize_notebook_submenu, ui-pair m17/notebook-toolbars.json. Cell toolbars from MenuId.NotebookCellTitle and NotebookCellDelete (inline groups as buttons, the `...` dropdown with Cut/Copy/Paste Cell, Insert Cell, Change Cell to Code/Markdown, Join, Copy Cell Down, Move (drag and drop), Show Cell Line Numbers, Toggle Cell Toolbar Position; `notebookMissingKernelExtension` and the kernel counts; interactive and REPL cells use InteractiveCellTitle; workbench/notebook_editor/cell_actions.rs), the notebook toolbar `...` (MenuId.NotebookToolbar), Run Cells In Section, the markdown fold chevron, folded hint and Fold/Unfold Cell (foldingModel.ts ranges, notebook/outline.rs `folding_ranges`; workbench/notebook_editor/folding.rs), `Spaces: N` while a code cell is focused, no `editorLangId` title items: cargo test -p app the_cell_toolbar, markdown_headers_fold, headings_fold, split_points, the_toolbar_position; cell drag and drop by the left gutter, with an insertion indicator and Alt-copy: `cargo test -p app a_cell_dragged_by_its_left_column_moves_or_copies_to_the_drop_place`. Find, the restored view state and clicks on a cell's text are done since (port/notes.md sessions m17b and m17d). Fold and unfold with `levels` and `direction: up` (foldingController setFoldingStateUp/Down, notebook/outline.rs `fold_ranges`): cargo test -p app markdown_headers_fold_their_sections, headings_fold; a drag of a selected cell moves every selection range (performCellDropEdits, dnd.rs `cell_drop_edits`): cargo test -p app every_selected_range_moves_to_the_drop_place; sticky rows over the notebook outline: cargo test -p app the_outline_header_collapses_and_expands_the_notebook_s_headers. The m17d differences left (stale cell toolbar, restored status bar items, breadcrumbs `…`) are reference quirks not copied, port/notes.md session m17d |
+| workbench/contrib/multiDiffEditor | workbench contribution | M14 | ported | [3 S] floating_menu.rs `multi_diff_floating_menu`: the `multiDiffEditor/content` toolbar sits 2pt lower than the reference's (ui-pair port/fixtures/ui-pair/menus/multi-diff-content.json) | multi_diff_editor.rs, workbench/editor_view/multi_diff_editor_view.rs, workbench/code_editors.rs: cargo test -p app multi_diff unchanged_bars_drag the_content_menu_floats_over_the_diffs a_file_side_is_a_code_editor every_drawn_file_side; ui-pair port/fixtures/ui-pair/menus/multi-diff-content.json with `FILE=notes.txt`, `steps-multi-diff-edit.json` (matches but for the reference's TypeScript diagnostics; port/notes.md Comments in diff editors) |
+| workbench/contrib/notebook | workbench contribution | M17 | ported | [3 M] notebook_editor: no cell execute toolbar (`notebook/cell/execute`, notebookEditorWidget.ts:138 `cellExecuteToolbar`); kernel_picker.rs: no `notebook/kernelSource` actions (notebookKernelServiceImpl.ts:322); no notebookVariablesView.ts, so no `notebook/variables/context` | notebook.rs, notebook/kernels.rs, notebook/layout.rs, notebook/outline.rs, workbench/notebooks.rs, workbench/notebook_editor.rs, workbench/notebook_editor/outputs.rs, cell_actions.rs, folding.rs, dnd.rs (port/notes.md milestone 17): cargo test -p app -- notebook kernel renderer backup interactive repl outline quick_input explorer list_scroll walkthrough (288/0); cargo test -p app markdown_editor_files_offer notebook::tests::stream_compression a_dirty_notebook_backs_up the_cell_language_picker the_output_toolbar_menu renderers a_notebook_editor_comes_back the_customize_notebook_submenu the_cell_toolbar markdown_headers_fold headings_fold split_points the_toolbar_position a_cell_dragged_by_its_left_column_moves_or_copies_to_the_drop_place markdown_headers_fold_their_sections every_selected_range_moves_to_the_drop_place the_outline_header_collapses_and_expands_the_notebook_s_headers; api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row (10 pending are upstream skips); ui-pair m17 notebook-open, -keys-outline, -output-toolbar, -kernel-picker, -restore, -cell-click, -scroll, -toolbars, -find (within 1 device px). Differences left are reference quirks not copied (port/notes.md session m17d) |
| workbench/contrib/onboarding | workbench contribution | M19 | removed | | the only registered tours are the Agents window ones (src/vs/sessions/contrib/onboardingTours): no AI by decision (port/notes.md) |
| workbench/contrib/opener | workbench contribution | M12 | verified | | workbench/opener.rs open_folder_link: a link to a workspace folder reveals it in the Explorer; verified at port-m12b-verify: cargo test -p app opener 4/4 |
-| workbench/contrib/outline | workbench contribution | M13 | verified | | Outline view (workbench/outline_pane.rs): messages, loading after 100ms, symbols by position with `outline.show*`, `outline.icons`, `outline.collapseItems`, problem colors and badges, twisties, Up/Down/Left/Right/Enter/Space, click opens at the name and double click selects the range; cargo test -p app outline_pane. A diff editor shows "The active editor cannot provide outline information." (a diff input has no `getOriginalUri`) and keeps the breadcrumbs' symbols: cargo test -p app the_compare_commands_open_diff_editors; `outline.focus` over a message keeps the focus: cargo test -p app focus_view_commands_open_the_explorer_pane_and_focus_it; ui-pair m12/compare-outline.json matches the reference. Title actions (workbench/outline_actions.rs): Collapse All/Expand All, Follow Cursor, Filter on Type, Sort By: Position/Name/Category in `outline/state` (cargo test -p app outline). ui-pair steps-outline.json (port/results/language-features.md): the header actions and rows match. Find (workbench/outline_find.rs, the Explorer's find widget): typing filters or highlights the symbols, with "No results found.", all rows expanded while a pattern filters and the expansion, focus and selection restored after; cargo test -p app find_filters_or_highlights_the_symbols. The tree's focus apart from its selection, Page Up/Down, `list.focusParent`, `list.collapseAllToFocus`, `list.showHover` ("name (kind)"), `list.toggleSelection`, `list.clear`, scroll and sticky rows: cargo test -p app the_keys_move_the_focus_and_the_list_commands_act_on_it. Row contents 30px in and the detail after the name's exact width: cargo test -p app -- a_row_s_contents_start_30px_into_the_row the_detail_follows_the_name_s_exact_width. ui-pair m12/outline-find.json (filter, no results, tree focus, focus moved): the Outline matches, the find widget's 155.5px input and its message box included; left is the editor's npm "Debug" code lens. Descriptions of every icon label (workbench/icon_label.rs `label_description`: 0.9em, 0.5em margin, on the name's baseline): cargo test -p app a_description_is_0_9em; ui-pair search and quick open rows match |
-| workbench/contrib/output | workbench contribution | M15 | verified | | Open Output in Editor and Open Log... open the channel's `output:` resource pinned in a read-only text editor of the editor groups, sharing the Output view's model and following the channel (cargo test -p app open_output_in_editor_shows_the_channel_in_an_editor_group); output/compound.rs and workbench/output_compound.rs (Add Compound Log..., Remove Output..., entries merged by timestamp); output_view.rs and output_actions.rs: read-only Output view with the channel dropdown, filter box with level and category menus, Clear Output, Toggle Auto Scrolling, log level gear, Open Output in Editor, Show Output Channels, `workbench.action.output.show.<id>`, Cmd+Shift+U toggle, the Window and Extension Host channels; the view is a panel view whose editor sits in the hidden panel group since milestone 11 (cargo test -p app toggle_output_opens_and_closes_the_view); a quiet reveal offers the channel in the status bar (cargo test -p app a_quiet_reveal_offers_the_channel_in_the_status_bar); the title's "..." with Save Output As..., Export Logs... (picker or `outputChannelIds`/`outputPath`), Add Compound Log... and Import Log... (cargo test -p app logs_export_to_a_file_and_import_as_a_channel); links through milestone 13's link contribution (output/links.rs `compute_links`, cargo test -p app output_paths_in_the_workspace_are_links compute_links); the filters hide lines as the editor's hidden areas, the model keeps every line, include pattern matches are find match decorations (cargo test -p app filters_hide_log_entries filters_hide_entries_and_lines): cargo test -p app output |
+| workbench/contrib/outline | workbench contribution | M13 | verified | | workbench/outline_pane.rs, workbench/outline_actions.rs, workbench/outline_find.rs, workbench/icon_label.rs: cargo test -p app outline_pane outline the_compare_commands_open_diff_editors focus_view_commands_open_the_explorer_pane_and_focus_it find_filters_or_highlights_the_symbols the_keys_move_the_focus_and_the_list_commands_act_on_it a_description_is_0_9em; cargo test -p app -- a_row_s_contents_start_30px_into_the_row the_detail_follows_the_name_s_exact_width; ui-pair m12/compare-outline.json, steps-outline.json (port/results/language-features.md), m12/outline-find.json, search and quick open rows |
+| workbench/contrib/output | workbench contribution | M15 | verified | | output/compound.rs, output/links.rs, workbench/output_compound.rs, output_view.rs, output_actions.rs: cargo test -p app output open_output_in_editor_shows_the_channel_in_an_editor_group toggle_output_opens_and_closes_the_view a_quiet_reveal_offers_the_channel_in_the_status_bar logs_export_to_a_file_and_import_as_a_channel output_paths_in_the_workspace_are_links compute_links filters_hide_log_entries filters_hide_entries_and_lines |
| workbench/contrib/performance | workbench contribution | M19 | verified | | Developer: Startup Performance (perf_view.rs, perfviewEditor.ts): System Info, Performance Marks from the timer service, Extension Activation Stats, Raw Perf Marks of the renderer and localExtHost; inputLatencyContrib, startupTimings and the auto profilers only report telemetry or take V8 profiles (no telemetry by decision, platform/profiling n/a); cargo test -p app timer:: perf_view; System Info takes the CPU speed and VM likelihood as Node's `os` reports them and no process memory, which 1.147 turns off (cargo test -p app the_system_info_lists apple_silicon_reports_libuvs_fallback_cpu_speed) |
| workbench/contrib/policyExport | workbench contribution | M10 | removed | | build tool: `--export-policy-data` writes the policy definitions that upstream's build turns into ADMX and macOS profiles; the port ships no policy templates |
-| workbench/contrib/preferences | workbench contribution | M10 | verified | | A policy-managed setting disables its select, input box, checkbox and array and include/exclude lists, and its indicator's hover runs View policy settings (`@hasPolicy`): cargo test -p app a_policy_setting_disables_its_select_and_its_hover_applies_the_policy_filter. The `@lang:` filter shows the language block's value (settingsTreeModels.ts `inspectSetting`): cargo test -p app the_lang_filter_shows_the_language_block_value; setting descriptions as markdown (paragraphs, emphasis, lists, code, setting links): cargo test -p app descriptions_render_emphasis_lists_and_setting_links; ui-pair against the reference in port/results/settings-editor.md; keybindingsEditor.ts, keybindingWidgets.ts and the keybindings actions of preferences.contribution.ts ported as workbench/keybindings_editor_view.rs (cargo test -p app keybindings_editor_view, port/results/keybindings-editor.md; a contributing extension's name opens it: cargo test -p app an_extension_source_opens_the_extension); keybindingsEditorContribution.ts and smartSnippetInserter.ts ported as workbench/define_keybinding.rs and smart_snippet_inserter.rs (cargo test -p app define_keybinding smart_snippet_inserter, raw/keybindings-editor/define-file-*.png); settingsEditor2.ts, settingsTree.ts, settingsTreeModels.ts, settingsLayout.ts, tocTree.ts, preferencesSearch.ts (local search), settingsSearchMenu.ts, settingsEditorSettingIndicators.ts and the settings targets widget ported as settings_editor.rs and workbench/settings_editor_view.rs (cargo test -p app settings_editor); settingsWidgets.ts list and object widgets, the search suggest widget, search history and the TOC sash ported (cargo test -p app settings_editor); preferencesRenderers.ts UnsupportedSettingsRenderer ported as workbench/preferences/unsupported_settings.rs, with the untrusted-workspace warning and its Manage Workspace Trust quick fix (cargo test -p app preferences unsupported_settings); keyboardLayoutPicker.ts n/a (web only); the marks' messages in the editor hover: cargo test -p app the_editor_hover_shows_the_message_of_a_marked_key |
+| workbench/contrib/preferences | workbench contribution | M10 | verified | | settings_editor.rs, workbench/settings_editor_view.rs, workbench/keybindings_editor_view.rs, workbench/define_keybinding.rs, smart_snippet_inserter.rs, workbench/preferences/unsupported_settings.rs: cargo test -p app settings_editor keybindings_editor_view define_keybinding smart_snippet_inserter preferences unsupported_settings a_policy_setting_disables_its_select_and_its_hover_applies_the_policy_filter the_lang_filter_shows_the_language_block_value descriptions_render_emphasis_lists_and_setting_links an_extension_source_opens_the_extension the_editor_hover_shows_the_message_of_a_marked_key; ui-pair port/results/settings-editor.md, port/results/keybindings-editor.md. keyboardLayoutPicker.ts n/a (web only) |
| workbench/contrib/processExplorer | workbench contribution | M19 | verified | | workbench/process_explorer.rs on ps.rs: Open Process Explorer (Developer and Help menu) in a floating window (no auxiliary editor windows in the port), the tree under the app's pid refreshed after each listing, Kill/Force Kill/Copy/Copy All, Debug for `isDebuggable` processes through `debug.startFromConfig` with `attachTo`'s port or pid (cargo test -p app a_node_process_gets_debug), Alt+E, bounds stored; port/tools/shell-gui-check (Help > Open Process Explorer: window "Process Explorer", AXOutline with the vsrustium root and the extension host rows); cargo test -p app process_explorer ps:: |
| workbench/contrib/quickaccess | workbench contribution | M9 | verified | | commandsQuickAccess.ts as quick_access.rs and command_palette.rs; helpQuickAccess `?` with the providers the port has and the More help pick (cargo test -p app quick_access command_palette tf_idf title_bar), history in profile storage; the workbench's palette items are the reference's, listed when the port registers their command; viewQuickAccess.ts as quick_access/views.rs: `view `, Open View, Quick Open View (Ctrl+Q) and `inViewsPicker` list the side bar, panel and secondary side bar containers, their views under `Parent / Child` separators, the terminals, the separate debug consoles and the output channels; Ctrl+Q again moves to the next pick and releasing Ctrl opens it (quickInput.ts `quickNavigate`) (quick_access::tests::the_view_picker_groups_views_by_container_and_opens_the_pick) |
| workbench/contrib/relauncher | workbench contribution | M19 | verified | | workbench/relauncher.rs: SettingsChangeRelauncher's macOS settings (chat and agent host ones left out with AI) ask to restart, Restart relaunches with the same arguments, a changed default (`ConfigurationTarget.DEFAULT`) takes the new value without asking; port/tools/shell-gui-check (window.nativeTabs changed in settings.json: prompt shown, old process quit, 1 new process); cargo test -p app relauncher a_changed_default_does_not_ask_to_restart |
| workbench/contrib/remote | workbench contribution | | removed | | no remote or tunnels by decision (port/notes.md); one local extension host |
| workbench/contrib/remoteCodingAgents | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/remoteTunnel | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
-| workbench/contrib/replNotebook | workbench contribution | M17 | verified | | verified (session m17d): cargo test -p app repl; ui-pair m17/interactive-restart.json with replPair.open repl (executed, restored, executed again, status bar) matches (/tmp/m17f); repl_notebook.rs: `$tryShowNotebookDocument` with view type `repl` (ReplEditorInput: one editor per notebook, `ensureInputBoxCell`, `REPL - N` label or `asRepl` label, scratchpad close without asking, soft revert on dispose, tab kind 4 `jupyter-notebook` editor `repl`, `debug-line-by-line` icon), the last cell as the input box under the list of the others (interactive.rs draws and runs both), `repl.execute` (insert before the input), `repl.input.focus`, `repl.focusLastItemExecuted`, `mostRecentReplEditor`, editors delta `viewType: repl`: cargo test -p app repl_notebook, ui-pair m17/interactive-window.json (replPair.open repl). The REPL editor comes back after a reload (ReplEditorSerializer `workbench.editorinputs.replEditorInput`, notebooks.rs). REPL hot exit (ReplWindowWorkingCopyEditorHandler: `notebook/<type>/repl` backups, a REPL editor opened on the restored notebook): cargo test -p app a_repl_backup_opens_a_repl_editor. Not done: the status bar while the REPL input has the focus (reference: `LF` only, then `Spaces: 4 LF Cell 1 of 1`; port: `Ln 1, Col 1 Spaces: 4 LF`), ui-pair m17/interactive-window.json (replPair.open repl) |
+| workbench/contrib/replNotebook | workbench contribution | M17 | verified | | repl_notebook.rs, interactive.rs, notebooks.rs: cargo test -p app repl repl_notebook a_repl_backup_opens_a_repl_editor; ui-pair m17/interactive-restart.json and m17/interactive-window.json with replPair.open repl. Not done: the status bar while the REPL input has the focus (reference: `LF` only, then `Spaces: 4 LF Cell 1 of 1`; port: `Ln 1, Col 1 Spaces: 4 LF`) |
| workbench/contrib/sash | workbench contribution | M11 | verified | | `workbench.sash.size` (editor group sashes 4..20, their highlight 1..8; the part grid's sashes are its 4px gaps) and `workbench.sash.hoverDelay` on every sash (part grid, view panes, editor groups, find widget, keybindings table), three-dot grippers on the part sashes with `workbench.sash.autoHideGrippers` and its delay (part_grid.rs); cargo test -p app part_grid; verified: ui-pair hot-exit.json `sash` vs the reference (port/results/windows.md, milestone 11 verification) |
-| workbench/contrib/scm | workbench contribution | M14 | ported | [3 S] workbench/scm_view.rs `scm_resource_row`: a hovered resource row shows no hover, the reference's `<path> • Modified` after its delay (ui-pair Ctrl+Shift+G, hover on a resource row of a git folder with changes)<br>[3 S] workbench/scm_view.rs Changes rows: the group's count badge sits 4px and the resource's decoration letter 2px left of the reference's (same ui-pair) | Inline actions on hovered group and resource rows, rows inset `pane_row_inset` with rounded corners (cargo test -p app a_hovered_row_shows_its_inline_actions the_changes_tree_draws_indent_guides; ui-pair hover on a git folder with changes: matches the reference); Tree mode folder rows a level in from their group, label after the twistie without folder icons, decoration dot and path hover, indent guides over the Changes rows (cargo test -p app the_changes_tree_draws_indent_guides; ui-pair m11/scm-folder-menu.json on a git copy of the fixture workspace with `scm.defaultViewMode` tree `hover`: matches the reference); row context menus without their inline group (cargo test -p app row_context_menus_leave_out_the_inline_group); Resource folder menu with its resources as arguments, inline on hover (cargo test -p app a_folder_row a_folder_collects; ui-pair m11/scm-folder-menu.json `menu` with the git extension); SCM view: input box, action button, groups, resources with decorations, inline and title actions, activity badge, status bar commands (workbench/scm_view.rs); same-named repositories told apart by labels.ts `shorten` of their parent folders (quick_input.rs `shorten` with labels.test.ts's posix cases): cargo test -p app shorten_cuts same_named_repositories; quick diff gutter and peek (quick_diff.rs, quick_diff_widget.rs), multiple repositories, tree view mode and sort (scm_tree.rs), Graph view (scm_history.rs, scm_graph_view.rs) with its history item ref picker and filters (scm_graph_view/ref_picker.rs; ui-pair m11/scm-graph-refs.json), view actions (scm_actions.rs), editor commands run from the resource row: cargo test -p app scm; Graph subjects draw their `$(icon)`s (cargo test -p app a_subject_draws_its_icons); Repositories view with selection modes, sort keys, nested repositories and explorer mode's artifact groups, folders and artifacts with their menus (scm_repositories_view.rs; cargo test -p app the_repositories_ explorer_mode_), its Shift+click range and list keys (cargo test -p app the_repositories_tree_takes_shift_clicks_and_keys), Escape and `list.toggleSelection` (cargo test -p app escape_and_toggle_selection_leave_the_shown_repositories), the lone repository's expansion and `scm.repositoriesViewState` (cargo test -p app lone_repository), the shown repositories and sort key across sessions (cargo test -p app the_shown_repositories_come_back_with_their_sort_key), inline submenus with their contributed icon (cargo test -p app an_inline_submenu_opens_with_the_toolbar_arguments extension_submenus), the Repositories rows' inset, indent guides and "..." (cargo test -p app the_repositories_rows_draw_inset_guides_and_more_actions) |
+| workbench/contrib/scm | workbench contribution | M14 | ported | [3 S] workbench/scm_view.rs `scm_resource_row`: a hovered resource row shows no hover, the reference's `<path> • Modified` after its delay (ui-pair Ctrl+Shift+G, hover on a resource row of a git folder with changes)<br>[3 S] workbench/scm_view.rs Changes rows: the group's count badge sits 4px and the resource's decoration letter 2px left of the reference's (same ui-pair) | workbench/scm_view.rs, quick_diff.rs, quick_diff_widget.rs, scm_tree.rs, scm_history.rs, scm_graph_view.rs, scm_graph_view/ref_picker.rs, scm_actions.rs, scm_repositories_view.rs, quick_input.rs `shorten`: cargo test -p app scm a_hovered_row_shows_its_inline_actions the_changes_tree_draws_indent_guides row_context_menus_leave_out_the_inline_group a_folder_row a_folder_collects shorten_cuts same_named_repositories a_subject_draws_its_icons the_repositories_ explorer_mode_ the_repositories_tree_takes_shift_clicks_and_keys escape_and_toggle_selection_leave_the_shown_repositories lone_repository the_shown_repositories_come_back_with_their_sort_key an_inline_submenu_opens_with_the_toolbar_arguments extension_submenus the_repositories_rows_draw_inset_guides_and_more_actions (labels.test.ts posix cases); ui-pair hover on a git folder with changes, m11/scm-folder-menu.json (`hover`, `menu`), m11/scm-graph-refs.json |
| workbench/contrib/screenshotTool | workbench contribution | | removed | | Artur: internal infrastructure or developer tool with no 1:1 counterpart in the native port |
| workbench/contrib/scrollLocking | workbench contribution | M14 | verified | | workbench/scroll_locking.rs: Toggle and Hold Locked Scrolling and the prominent `status.scrollLockingEnabled` entry: cargo test -p app scroll_locking; a locked wheel scroll moves every other visible editor as far from its position when tracked (`onDidEditorPaneScroll`; cargo test -p app a_locked_scroll_moves_every_other_visible_editor); Hold locks while its key is down and unlocks on the key up (keybindingService.ts `enableKeybindingHoldMode`; cargo test -p app a_held_key_locks_scrolling_until_it_goes_up); without a focused element Hold toggles, as the key up reaches the workbench through the focus path |
| workbench/contrib/search | workbench contribution | M12 | verified | | Search view (workbench/search_view.rs, search_actions.rs) and its model (search_model.rs): cargo test -p app search_model (searchResult, fileMatch and replace tests) and workbench::search_actions (context menu, input history, hover right click, the replace preview opened and updated with the replace string), port/tools/ui-pair frames match the reference in dark, light and hc (port/notes.md milestone 12); anythingQuickAccess.ts file picks: cargo test -p app anything_quick_access quick_open. No notebook or AI results; Find in Folder from the Explorer (cargo test -p app find_in_folder; ui-pair m12/find-in-folder.json with `search.mode` newEditor matches); ui-pair m12/search-replace.json (query, Replace input, preview) matches; the message words at their exact widths, so "2 results in 2 files - Open in editor" fits one line as in the reference (cargo test -p app the_message_words_take_their_exact_width; pair: same box, 408 device px wide) |
@@ -591,32 +591,32 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/contrib/sessionChanges | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/sessions | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| workbench/contrib/share | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
-| workbench/contrib/snippets | workbench contribution | M13 | verified | | SnippetBodyInsights: `codeSnippet` turns unknown variables into placeholders, `isBogous` logs `badVariableUse` when developing extensions (cargo test -p app bogus_variables_become_placeholders_in_the_code_snippet, snippetsRewrite.test.ts). snippets.rs (snippetsFile.ts, snippetsService.ts filtering and extension contributions, snippetCompletionProvider.ts) and workbench/snippet_completions.rs: extension, user and workspace snippet files in the suggest widget, usage timestamps; workbench/snippet_actions.rs: Insert Snippet (by name, body or picker with the Hide from IntelliSense buttons), Surround with Snippet..., Fill File with Snippet, Configure Snippets with the new-file name input, the Surround With and file template code actions with `editor.snippets.codeActions.enabled`; workbench/tab_completion.rs: `editor.tabCompletion` `onlySnippets` with `hasSnippetCompletions`: cargo test -p app -- snippet tab_completion suggest (87 passed). the `vscode://schemas/snippets` and `global-snippets` schemas (config json_schema.rs): ui-pair a.code-snippets `Incorrect type. Expected one of string, array.` as in the reference (port/results/language-features.md Snippets file schema) |
+| workbench/contrib/snippets | workbench contribution | M13 | verified | | snippets.rs, workbench/snippet_completions.rs, workbench/snippet_actions.rs, workbench/tab_completion.rs, config json_schema.rs: cargo test -p app -- snippet tab_completion suggest bogus_variables_become_placeholders_in_the_code_snippet (snippetsRewrite.test.ts); ui-pair a.code-snippets schema error (port/results/language-features.md Snippets file schema) |
| workbench/contrib/speech | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/splash | workbench contribution | M19 | n/a | | partsSplash.ts stores the parts' layout and colors so Electron can paint them before the workbench loads; the GPUI window's first frame is the workbench, drawn from the theme |
| workbench/contrib/surveys | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
| workbench/contrib/tags | workbench contribution | | removed | | no AI or Microsoft services by decision (port/notes.md); API stays inert |
-| workbench/contrib/tasks | workbench contribution | M15 | verified | | workbench/task_service.rs (tasks.json from `.vscode/` and `.vsrustium/`, providers, run in feature terminals, dependsOn, instanceLimit and instancePolicy, problem matchers to markers), workbench/task_quick_pick.rs (run, build, test, terminate, restart, rerun, show tasks, recently used, Configure Task templates), workbench/task_matcher_prompt.rs (the problem matcher prompt before a picked task runs), workbench/task_configure.rs (Configure Task customizing into tasks.json, Configure Default Build and Test Task, `_trust` before each task command in an untrusted workspace, `$registerSupportedExecutions` context keys), tasks/: cargo test -p app tasks:: task_quick_pick task_configure; `${...}` variables, `${input:}` and `${command:}` through workbench/configuration_resolver.rs (cargo test -p app configuration_resolver); `runTask` with a task name asks for a problem matcher first (cargo test -p app task_matcher_prompt); Open User Tasks (Manage menu, Preferences menu) opens the profile's tasks.json or writes a template there first (cargo test -p app open_user_tasks). user tasks (`_computeUserTasks`: listed with the User description, run, configured in the profile's tasks.json; cargo test -p app user_tasks_are_listed) and the Run Task picker's pinned items (quickPickPin.ts; cargo test -p app the_run_task_picker_pins_items), both paired by ui-pair m11/user-tasks.json (port/results/manage-menu.md). The Tasks output channel gets the tasks.json errors (cargo test -p app tasks_json_errors_go_to_the_tasks_output_channel); `${selectedText}` in a task resolves (cargo test -p app string_arguments_resolve_against_the_active_file_and_its_folder). Task terminals: the `tools` icon and `TaskTerminalStatus` check, shell integration sequences, presentation options (`reveal`, `revealProblems`, `focus`, `clear`, `panel` shared/dedicated/new with terminal reuse, `showReuseMessage`, `close`; cargo test -p app task terminal presentation), ui-pair m11/user-tasks-rerun.json (the rerun reuses the same terminal, port/results/manage-menu.md). |
+| workbench/contrib/tasks | workbench contribution | M15 | verified | | workbench/task_service.rs, workbench/task_quick_pick.rs, workbench/task_matcher_prompt.rs, workbench/task_configure.rs, workbench/configuration_resolver.rs, tasks/: cargo test -p app tasks:: task_quick_pick task_configure configuration_resolver task_matcher_prompt open_user_tasks user_tasks_are_listed the_run_task_picker_pins_items tasks_json_errors_go_to_the_tasks_output_channel string_arguments_resolve_against_the_active_file_and_its_folder task terminal presentation; ui-pair m11/user-tasks.json, m11/user-tasks-rerun.json (port/results/manage-menu.md) |
| workbench/contrib/telemetry | workbench contribution | M19 | verified | | the contribution logs to the NullTelemetryService and registers Show Telemetry only when supportsTelemetry, false in the built product: nothing to port; port/tools/telemetry-source-check no endpoint in 18370 shipped files (SELF_TEST finds 9 in the inert packages) |
-| workbench/contrib/terminal | workbench contribution | M15 | verified | | workbench/terminal_view.rs: the Terminal panel view, terminals, split, kill, rename, profiles (`newWithProfile` with `profileName`: cargo test -p app new_with_profile), tabs list, the `TerminalInstanceContext` menu; no exit alert after a Ctrl+D exit (cargo test -p app a_ctrl_d_exit_shows_no_exit_alert); gutter command decorations with their menu (workbench/terminal_decorations.rs), scroll to previous/next command (terminal/marks.rs; cargo test -p app terminal::marks); ui-pair against the reference. Copy as HTML and Copy Output as HTML (terminal/serialize_html.rs; cargo test -p app serialize_html); the decoration hover with duration and exit code (cargo test -p app terminal_decorations, hover); Record Terminal Session (cargo test -p app a_recording_keeps_each_kind_of_event); overview ruler marks, Toggle Visibility (cargo test -p app toggle_visibility_writes_the_decorations_setting), the Rerun Command trust prompt, `terminal.integrated.cwd` variables (cargo test -p app the_cwd_setting_resolves_its_variables); ui-pair of OSC 99, decorations, overview ruler, Copy as HTML and Record Terminal Session (port/results/terminal.md); tab description `terminal.integrated.tabs.description` with `${cwdFolder}` (terminal/label.rs, TerminalLabelComputer and labels.ts `template`), the single tab "fish - docs": cargo test -p app terminal::label; ui-pair m12/folder-terminal.json matches but the reference's panel overflow "..." (its Ports view, remote is out of scope). The grid below `padding-block` 8px with columns from the rendered cell, the title toolbar at the reference's x and its "..." menu (cargo test -p app terminal_view::tests), Run Selected Text and Run Active File with paths quoted as `preparePathForShell` (cargo test -p app paths_are_quoted, call_operator); ui-pair m11/task-presentation.json for `reveal: silent` and `close` (port/results/manage-menu.md). Tab list rows: 4px inset, 8px padding (modernUI tabs.css), `┌ ` prefix, icon, name and description at the reference's device pixels (cargo test -p app a_tab_row_is_inset_and_its_label_is_one_line_of_text; ui-pair terminal tabs). Persistent sessions: panel groups with their splits and active panes, and terminal editors, revive with their history after a restart (cargo test -p app panel_terminals_revive_in_their_groups_after_a_restart a_terminal_editor_revives_with_its_history_after_a_restart) |
-| workbench/contrib/terminalContrib | workbench contribution | M15 | verified | | links (terminal/link_parsing.rs, link_computer.rs, workbench/terminal_links.rs: Cmd+click URLs and paths with line:column), sendSequence, sendSignal, zoom (font size commands, Cmd+wheel), autoReplies (terminal/auto_replies.rs), find (terminal/search.rs and workbench/terminal_find.rs: case, whole word, regex, count, previous/next, match highlights), prompt input model (terminal/prompt_input.rs), suggest (workbench/terminal_suggest.rs), history (terminal/history.rs, workbench/terminal_history.rs: Run Recent Command, Go to Recent Directory, pinned items, shell history files), quick access (`term `, workbench/terminal_quick_access.rs), sticky scroll (terminal/sticky_scroll.rs, workbench/terminal_sticky_scroll.rs); cargo test -p app link_, terminal::search, prompt_input, auto_replies, terminal_contrib, terminal_links, terminal::history, sticky_scroll, quick_access; ui-pair of Run Recent Command, `term ` and sticky scroll; resize overlay (workbench/terminal_resize_overlay.rs), environment changes (Show Environment Contributions, workbench/terminal_environment.rs; cargo test -p app environment_collection), developer Write Data to Terminal (Show Terminal Texture Atlas and Restart Pty Host have no counterpart: GPUI draws without an atlas page and there is no pty host), command guide (cargo test -p app terminal::marks), notification (OSC 99, terminal/osc99.rs, workbench/terminal_notifications.rs; cargo test -p app osc99), quick fix (terminal/quick_fix.rs, workbench/terminal_quick_fix.rs: builtin fixes, extension providers, light bulb, Cmd+. widget, decoration menu; cargo test -p app quick_fix), accessibility (terminal/accessible_buffer.rs, the terminal provider of workbench/accessible_view.rs; cargo test -p app accessible), links in wrapped lines with the hover and underline (cargo test -p app terminal_links). inlineHint without AI: the initial hint "Show suggestions ⌃Space" with its dismiss links (workbench/terminal_initial_hint.rs; ui-pair against the reference); its Copilot CLI part, chat and voice are AI (removed), wslRecommendation is Windows (port/notes.md milestone 15) |
-| workbench/contrib/testing | workbench contribution | M16 | ported | [3 M] testing_gutter.rs `test_context_menu_actions`: no Peek Error on a failed test, as testingOutputPeek.ts (`vscode.peekTestError`) is not ported<br>[3 S] testing_gutter.rs `multi_test_context_menu_actions`: no `MAX_TESTS_IN_SUBMENU` (30) cut with its "{0} more tests..." pick (testingDecorations.ts `pickAndRun`)<br>[3 S] testing_gutter.rs `_revealTestInExplorer`: expands the test's parents and opens the view, but the explorer has no selection, so the row is not selected, focused or scrolled to (testExplorerFilterState.ts `reveal`, testingExplorerView.ts)<br>[3 S] testing_view.rs `dropdown_chevron`: the primary action and chevron take no `toolbar.activeBackground` while their dropdown is open (style.css `.monaco-dropdown.active .action-label`)<br>[3 M] testing_view.rs `testing_view_pane`: the view title is not testExplorerActions.ts's: no Show Output (`ShowMostRecentOutputAction`, `navigation`), Collapse All drawn in the title where upstream puts it in the `...` menu (`displayAction`), no `...` menu; opening the view does not focus the filter box, the "No test results yet." line is missing and file roots start expanded (ui-pair with port/fixtures/debug-node)<br>[3 M] testing_continuous.rs `testing_continuous_context`: the workbench context has only `testing.isContinuousModeOn` of testingContextKeys.ts; `testing.providerCount`, `testing.hasConfigurableProfile`, `testing.canRefreshTests`, `testing.hasAnyResults` and the rest are unset, so the Command Palette hides the `testing.providerCount > 0` commands such as Testing: Focus on Test Explorer View<br>[3 M] testing_results.rs `results_tree`: not drawn as a workbench list: the opened row takes `list.inactiveSelectionBackground` where the reference shows the focused selection, a twistie on the task row where the reference has none, no indent guides, no keyboard navigation; content and tree split 1:1 with no sash where the reference opens about 2:1 (ui-pair port/fixtures/debug-node with tests-provider)<br>[3 M] testing_results.rs `results_content`: a message or output is plain text lines, not testResultsOutput.ts's diff, markdown, plain text and terminal peeks; no call stack (`MenuId.TestCallStack`), no `CoverageElement` rows<br>[3 S] testing_results.rs `results_actions`: `testResultOutdated` is always false (no retired results); contributed `inline` items draw as text buttons without their icons | testResultsTree.ts's Test Results tree: the newest result's tasks with the tests that ran, worst first, a test with one error message on one row, the older results collapsed (cargo test -p app the_results_tree_shows_tasks_tests_and_messages_as_testresultstree); a row's actions and context menu with `testing/item/result` and, on a message, `testing/message/context`, the test and task as arguments (cargo test -p app a_results_rows_menu_shows_its_actions_and_the_contributed_items); an opened message's `testing/message/content` button with `getMessageArgs` (cargo test -p app an_opened_message_shows_the_first_message_content_item); ui-pair port/fixtures/debug-node with tests-provider after Run All: rows, hover actions, context menu and the opened message match the reference; The editor gutter's menu on a test line (editorLineNumberMenu.ts `doShow`, testingDecorations.ts gutter actions generator in `1_testing`): Run Test, Debug Test, Run with Coverage, Execute Using Profile..., Cancel Test Run, Reveal in Test Explorer and the `testing/item/gutter` items with the test as argument, before the `editor/lineNumber/context` items (cargo test -p app the_gutter_menu_shows_the_tests_actions_before_the_line_number_items), on a line of several tests Run All Tests and a submenu per test labeled by its parents (cargo test -p app a_line_with_two_tests_shows_run_all_and_a_submenu_per_test), `_revealTestInExplorer` (cargo test -p app reveal_in_test_explorer_expands_the_tests_parents), the glyph's right click, Ctrl+click, `testing.defaultGutterClickAction` `contextMenu` and `runWithCoverage`, Alt for the alternate group; ui-pair right-click on the run glyph of line 2 of port/fixtures/debug-node/math.test.js with tests-provider: the testing items match the reference; The view title's run and debug group dropdowns once a group has two profiles (testingExplorerView.ts `getRunGroupDropdown`, `getTestConfigGroupActions`: controller labels, `(Default)`, `MenuId.TestProfilesContext` by `testing.profile.context.group`, Select Default Profile, Configure Test Profiles; a profile runs the controller's roots; cargo test -p app the_run_group_dropdown_lists_its_profiles_and_runs_the_picked_one), Select Default Profile stores the defaults in `testingPreferredProfiles2` and they outlive a republish (testProfileService.ts; cargo test -p app select_default_profile_stores_the_picked_defaults), the chevron keeps the title's actions in the side bar and Refresh Tests shows only `when: canRefreshTests` (cargo test -p app the_run_group_chevron_keeps_the_view_title_actions_in_the_side_bar); ui-pair with a two-run-profile tests-provider: the open dropdown matches the reference; `getTreeIncludeExclude` for the view title's Run Tests and Debug Tests (`ExecuteSelectedAction`) and a row's `RunVisibleAction`: the tests the filter box hides are excluded (cargo test -p app runs_from_the_explorer_exclude_the_tests_the_filter_hides); The explorer's filter box (testingExplorerFilter.ts and testExplorerFilterState.ts: text with history, terms, tags, globs, fuzzy; cargo test -p app testing_filter); testExclusions.ts: Hide Test, Unhide Test, Unhide All Tests, `@hidden`, `excludedTestItems` in workspace storage, runs exclude hidden tests (cargo test -p app a_hidden_test_leaves_the_tree_and_runs_until_it_is_unhidden); A test row's actions are `MenuId.TestItem`'s `inline` group with the testing icons (testingExplorerView.ts `fillActionBar`: cargo test -p app a_test_row_shows_the_test_item_menu_s_inline_group); A test row's context menu (testingExplorerView.ts `onContextMenu`: `MenuId.TestItem` but `inline`, the `getActionableElementActions` keys, the row as `TestItemContext`; cargo test -p app a_test_rows_context_menu_shows_and_runs_the_test_item_actions); `TreeSorter` by location with `compareFileNames` (cargo test -p app children_sort_by_line_then_by_file_name_order). The view title's continuous run dropdown when several profiles of controllers with tests support it (testingExplorerView.ts `getContinuousRunDropdown`: group labels, checked profiles, `stopProfile` cancels only that profile; cargo test -p app the_view_title_dropdown_starts_and_stops_one_profile_of_several); `testing.continuousRunUsingForTest` picks from the test's controller's profiles (cargo test -p app continuous_run_using_picks_from_the_tests_controller_only); testingContinuousRunService.ts: Turn on Continuous Run of a test and Start Continuous Run each hold one cancellable `$startContinuousRun` per profile until stopped, the eye activity badge, `testing.isContinuousModeOn`, the last run's profiles in workspace storage (cargo test -p app a_continuous_run_holds_one_cancellable_request_per_profile_until_it_stops). The Testing item's activity badge: the spinner during a run, else the newest result's `testing.countBadge` count (cargo test -p app the_testing_item_spins). ui-pair port/fixtures/debug-node with tests-provider: Testing view tree, Run All, pass/fail icons, Test Results tree and output, run glyphs in the gutter; cargo test -p app testing::; testServiceImpl.ts `runResolvedTests` asks for workspace trust after the live result is created, a refusal completes it (cargo test -p app a_test_run_waits_for_workspace_trust_and_completes_when_it_is_refused) |
+| workbench/contrib/terminal | workbench contribution | M15 | verified | | workbench/terminal_view.rs, workbench/terminal_decorations.rs, terminal/marks.rs, terminal/serialize_html.rs, terminal/label.rs: cargo test -p app new_with_profile a_ctrl_d_exit_shows_no_exit_alert terminal::marks serialize_html terminal_decorations hover a_recording_keeps_each_kind_of_event toggle_visibility_writes_the_decorations_setting the_cwd_setting_resolves_its_variables terminal::label terminal_view::tests paths_are_quoted call_operator a_tab_row_is_inset_and_its_label_is_one_line_of_text panel_terminals_revive_in_their_groups_after_a_restart a_terminal_editor_revives_with_its_history_after_a_restart; ui-pair OSC 99, decorations, overview ruler, Copy as HTML, Record Terminal Session, terminal tabs (port/results/terminal.md), m12/folder-terminal.json (but the reference's Ports overflow, removed), m11/task-presentation.json (port/results/manage-menu.md) |
+| workbench/contrib/terminalContrib | workbench contribution | M15 | verified | | terminal/link_parsing.rs, link_computer.rs, workbench/terminal_links.rs, terminal/auto_replies.rs, terminal/search.rs, workbench/terminal_find.rs, terminal/prompt_input.rs, workbench/terminal_suggest.rs, terminal/history.rs, workbench/terminal_quick_access.rs, terminal/sticky_scroll.rs, workbench/terminal_environment.rs, terminal/osc99.rs, terminal/quick_fix.rs, terminal/accessible_buffer.rs, workbench/terminal_initial_hint.rs: cargo test -p app link_ terminal::search prompt_input auto_replies terminal_contrib terminal_links terminal::history sticky_scroll quick_access environment_collection terminal::marks osc99 quick_fix accessible; ui-pair Run Recent Command, `term `, sticky scroll, the initial hint. No counterpart: Show Terminal Texture Atlas, Restart Pty Host. Removed: Copilot CLI, chat and voice (AI), wslRecommendation (Windows) (port/notes.md milestone 15) |
+| workbench/contrib/testing | workbench contribution | M16 | ported | [3 M] testing_gutter.rs `test_context_menu_actions`: no Peek Error on a failed test, as testingOutputPeek.ts (`vscode.peekTestError`) is not ported<br>[3 S] testing_gutter.rs `multi_test_context_menu_actions`: no `MAX_TESTS_IN_SUBMENU` (30) cut with its "{0} more tests..." pick (testingDecorations.ts `pickAndRun`)<br>[3 S] testing_gutter.rs `_revealTestInExplorer`: expands the test's parents and opens the view, but the explorer has no selection, so the row is not selected, focused or scrolled to (testExplorerFilterState.ts `reveal`, testingExplorerView.ts)<br>[3 S] testing_view.rs `dropdown_chevron`: the primary action and chevron take no `toolbar.activeBackground` while their dropdown is open (style.css `.monaco-dropdown.active .action-label`)<br>[3 M] testing_view.rs `testing_view_pane`: the view title is not testExplorerActions.ts's: no Show Output (`ShowMostRecentOutputAction`, `navigation`), Collapse All drawn in the title where upstream puts it in the `...` menu (`displayAction`), no `...` menu; opening the view does not focus the filter box, the "No test results yet." line is missing and file roots start expanded (ui-pair with port/fixtures/debug-node)<br>[3 M] testing_continuous.rs `testing_continuous_context`: the workbench context has only `testing.isContinuousModeOn` of testingContextKeys.ts; `testing.providerCount`, `testing.hasConfigurableProfile`, `testing.canRefreshTests`, `testing.hasAnyResults` and the rest are unset, so the Command Palette hides the `testing.providerCount > 0` commands such as Testing: Focus on Test Explorer View<br>[3 M] testing_results.rs `results_tree`: not drawn as a workbench list: the opened row takes `list.inactiveSelectionBackground` where the reference shows the focused selection, a twistie on the task row where the reference has none, no indent guides, no keyboard navigation; content and tree split 1:1 with no sash where the reference opens about 2:1 (ui-pair port/fixtures/debug-node with tests-provider)<br>[3 M] testing_results.rs `results_content`: a message or output is plain text lines, not testResultsOutput.ts's diff, markdown, plain text and terminal peeks; no call stack (`MenuId.TestCallStack`), no `CoverageElement` rows<br>[3 S] testing_results.rs `results_actions`: `testResultOutdated` is always false (no retired results); contributed `inline` items draw as text buttons without their icons | cargo test -p app testing:: testing_filter the_results_tree_shows_tasks_tests_and_messages_as_testresultstree a_results_rows_menu_shows_its_actions_and_the_contributed_items an_opened_message_shows_the_first_message_content_item the_gutter_menu_shows_the_tests_actions_before_the_line_number_items a_line_with_two_tests_shows_run_all_and_a_submenu_per_test reveal_in_test_explorer_expands_the_tests_parents the_run_group_dropdown_lists_its_profiles_and_runs_the_picked_one select_default_profile_stores_the_picked_defaults the_run_group_chevron_keeps_the_view_title_actions_in_the_side_bar runs_from_the_explorer_exclude_the_tests_the_filter_hides a_hidden_test_leaves_the_tree_and_runs_until_it_is_unhidden a_test_row_shows_the_test_item_menu_s_inline_group a_test_rows_context_menu_shows_and_runs_the_test_item_actions children_sort_by_line_then_by_file_name_order the_view_title_dropdown_starts_and_stops_one_profile_of_several continuous_run_using_picks_from_the_tests_controller_only a_continuous_run_holds_one_cancellable_request_per_profile_until_it_stops the_testing_item_spins a_test_run_waits_for_workspace_trust_and_completes_when_it_is_refused; ui-pair port/fixtures/debug-node with tests-provider (Testing tree, Run All, results tree, row menus, opened message, run glyphs and the gutter menu on port/fixtures/debug-node/math.test.js line 2, the run profile dropdown) |
| workbench/contrib/themes | workbench contribution | M9 | verified | | Color Theme picker (`workbench.action.selectTheme`, Cmd+K Cmd+T): rows, order and descriptions as the reference, 200ms preview, Escape restores, accept writes `workbench.colorTheme`; File Icon Theme picker (`workbench.action.selectIconTheme`, Themes submenu): None and the installed themes, preview, Escape restores, accept writes `workbench.iconTheme` (null for None) (cargo test -p app themes); Product Icon Theme picker (`workbench.action.selectProductIconTheme`, Themes submenu): Default and the installed themes, writes `workbench.productIconTheme` (cargo test -p app product_icon; product-icons-pair `picker`: the same rows, except the reference's "Test Product Icon Theme" of vscode-colorize-tests, a test extension the port does not ship); no Marketplace browsing, no `window.autoDetectColorScheme` |
| workbench/contrib/timeline | workbench contribution | M14 | verified | | Timeline view (workbench/timeline_view.rs, timeline.rs): active editor and workspace timelines, paging, follow active editor, excluded sources in profile storage, compare selected, keyboard, `timeline/item/context` and title menus: cargo test -p app timeline; the title toolbar is a tab stop between the pane header and the tree (Shift+Tab focuses its first action with its hover, Left/Right, Enter): cargo test -p app shift_tab_reaches_the_title_toolbar; ui-pair m12/timeline.json header step matches; item labels draw their `$(icon)`s (cargo test -p app an_item_label_draws_its_icons); a `null` `timeline.pageSize` follows the view height (cargo test -p app a_null_page_size_follows_the_view_height) |
| workbench/contrib/typeHierarchy | workbench contribution | M13 | verified | | Peek Type Hierarchy in workbench/hierarchy_peek.rs: supertypes/subtypes toggle, layout `typeHierarchyPeekLayout`, the focused message of an empty answer, `_executePrepareTypeHierarchy`, `_executeProvideSupertypes`, `_executeProvideSubtypes`; cargo test -p app hierarchy; ui-pair port/results/language-features.md (Type hierarchy) |
-| workbench/contrib/update | workbench contribution | M19 | verified | | update.ts on the service (workbench/update.rs): `updateState` with the Manage menu's `7_update` items (Check for Updates..., Checking for Updates..., Download Update (1), Downloading Update..., Install Update... (1), Restart to Update (1)), the Manage badge and title, "There are currently no updates available.", Restart to Update with the quit veto; the title bar update entry and its sticky tooltip (updateTitleBarEntry.ts, updateTooltip.ts, `update.titleBar`) with the explicit check's error, download progress, versions and the state's action (workbench/update_title_bar.rs); the release notes editor (releaseNotesEditor.ts) over the GitHub release's body after a major or minor update, Show Release Notes in the Help menu, the prompt when the notes cannot be fetched (workbench/release_notes.rs); Show Update Release Notes in the Manage menu (`update.showUpdateReleaseNotes`, a stable build only, a ready major or minor update: `majorMinorUpdateAvailable`); cargo test -p app update release_notes menus:: menubar; port/tools/update-check (latest, metered, read-only; latest opens the notes from the Manage menu) |
+| workbench/contrib/update | workbench contribution | M19 | verified | | workbench/update.rs, workbench/update_title_bar.rs, workbench/release_notes.rs: cargo test -p app update release_notes menus:: menubar; port/tools/update-check (latest, metered, read-only) |
| workbench/contrib/url | workbench contribution | M12 | verified | | trusted_domains.rs (isURLDomainTrusted, globs, localhost) and workbench/url_actions.rs: workbench.action.url.openUrl, workbench.action.manageTrustedDomain (trustedDomains:/Trusted Domains.jsonc editor, saved to http.linkProtectionTrustedDomains), link prompt "Do you want Code - OSS to open the external website?" with Copy and Configure Trusted Domains; cargo test -p app -- trusted_domains:: url_actions; verified at port-m12b-verify: cargo test -p app trusted_domains 10/10, url_actions 2/2; trustedDomainsValidator `fromWorkspace` (editor links and webview links ask for workspace trust before a command link, skip the domain prompt in a trusted workspace unless `workbench.trustedDomains.promptInTrustedWorkspace`): cargo test -p app -- a_workspace_link_follows_workspace_trust an_editor_link_opens_without_the_domain_prompt a_webview_command_link_asks_for_workspace_trust |
-| workbench/contrib/userDataProfile | workbench contribution | M10 | verified | | userDataProfile.ts and userDataProfileActions.ts commands and menus (Switch, New, Save Current As, Delete, Export, New Window with Profile, the profile entries, Cleanup, Reset Workspace Associations, Help) in workbench/user_data_profile.rs; userDataProfilesEditor.ts as workbench/profiles_editor_view.rs (rename, Icon with the iconSelectBox.ts picker in workbench/icon_select_box.rs, Use for Current Window, Use for New Windows, Contents with the Source radio of each resource (`useDefaultFlags`), Folders & Workspaces with Add Folder, the row actions Duplicate/Export/Delete, the new profile form named Untitled N with Copy from, the Copy, Default or None source of each resource and the pinned Cancel/Preview/Create, Import Profile... from a URL or a file); the Manage activity item's profile icon and badge (globalCompositeBar.ts): ui-pair of the Profiles editor and the new profile form against the reference, port/results/profiles.md; cargo test -p app icon_select_box profiles_editor_view; Preview opens an in-process window on a transient profile that storage.json never holds and that goes when the window closes (preview_opens_a_window_on_a_transient_profile_that_goes_with_it) |
+| workbench/contrib/userDataProfile | workbench contribution | M10 | verified | | workbench/user_data_profile.rs, workbench/profiles_editor_view.rs, workbench/icon_select_box.rs: cargo test -p app icon_select_box profiles_editor_view preview_opens_a_window_on_a_transient_profile_that_goes_with_it; ui-pair Profiles editor and new profile form (port/results/profiles.md) |
| workbench/contrib/userDataSync | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
-| workbench/contrib/webview | workbench contribution | M17 | ported | [3 S] webview_panels.rs `did-context-menu`: no ui-pair check against the reference yet (needs a webview fixture contributing `webview/context`), and Cut, Copy and Paste of the menu (`execCommand` in the page) are not run on a real WKWebView | the `webview/context` menu at the press with the `data-vscode-context` keys, `webviewId` and Cut, Copy and Paste unless `preventDefaultContextMenuItems`, its commands given the context and `webview`, `set-context-menu-visible` (webviewElement.ts:273, webview.contribution.ts): cargo test -p app a_webview_right_click_shows_the_webview_context_menu; webviewElement.ts host protocol, theme variables, focus handoff, local resource loading, http frames (webview.rs); resources of extension file system providers through the file service: `cargo test -p app maps_resource_urls_to_resources_inside_the_roots webview_resource_reads_answer_with_the_file_service_bytes reads_resource_roots_and_stable_origins`; find widget (Cmd+F, Enter, Escape) in the host page; Open Webview Developer Tools (Web Inspector), Reload Webviews; `FIXTURE=webview-tests port/tools/webview-check` 8/8 (provider resources inside and outside the roots); api-tests `MOCHA_GREP="vscode API - webview"` 1 passing; ui-pair markdown-preview.json find shots (port/results/webviews.md); Open Webview Developer Tools opens a Web Inspector window per webview: ui-pair `webview-devtools.json` `windows` step lists "Web Inspector — …index.html" (upstream docks the workbench's Chromium devtools) |
+| workbench/contrib/webview | workbench contribution | M17 | ported | [3 S] webview_panels.rs `did-context-menu`: no ui-pair check against the reference yet (needs a webview fixture contributing `webview/context`), and Cut, Copy and Paste of the menu (`execCommand` in the page) are not run on a real WKWebView | webview.rs: cargo test -p app a_webview_right_click_shows_the_webview_context_menu maps_resource_urls_to_resources_inside_the_roots webview_resource_reads_answer_with_the_file_service_bytes reads_resource_roots_and_stable_origins; `FIXTURE=webview-tests port/tools/webview-check` 8/8; api-tests `MOCHA_GREP="vscode API - webview"` 1 passing; ui-pair markdown-preview.json find (port/results/webviews.md), `webview-devtools.json` (a Web Inspector window per webview, where upstream docks Chromium devtools) |
| workbench/contrib/webviewPanel | workbench contribution | M17 | verified | | webview panels as editors in groups (workbench/webview_panels.rs), reveal moves to the target group, `activeWebviewPanelId`/`activeCustomEditorId` per group, a focused group focuses its webview; `FIXTURE=webview-tests` and `FIXTURE=markdown-tests port/tools/webview-check`; cargo test -p app webview_panels; panel restore on restart and reload: ui-pair webview-panel-restore.json, cargo test -p app panels_with_a_serializer |
| workbench/contrib/webviewView | workbench contribution | M17 | verified | | `contributes.views` of type webview as contributed views beside the tree views: their container, `when`, pane layout and `<id>.focus`, collapsed at first (viewsExtensionPoint.ts `showCollapsed`), resolved on first show with `onView:` activation (workbench/webview_views.rs); `$setWebviewViewBadge` on the view's container (webviewViewPane.ts `updateBadge`: cargo test -p app a_webview_view_shows_in_its_own_container_while_its_when_holds); `FIXTURE=webview-view-tests port/tools/webview-check` 5/5 on both apps |
| workbench/contrib/welcomeBanner | workbench contribution | M19 | n/a | | shows the web embedder's `welcomeBanner` option; a desktop window has none |
-| workbench/contrib/welcomeGettingStarted | workbench contribution | M19 | verified | | walkthroughs.rs (`featuredFor`: welcome_page::tests::a_walkthrough_is_featured_when_the_workspace_has_a_featured_for_file), `onView:` for the side bar, panel and auxiliary bar containers (a_panel_view_showing_completes_its_on_view_step), `onContext:` over the workbench's context keys (a_workbench_context_key_completes_its_on_context_step), bold, italic and code runs in step descriptions (a_step_description_keeps_its_bold_italic_and_code_runs, drawn: a_step_description_draws_its_bold_run), workbench/welcome_page.rs: categories and details slides, built-in and extension walkthroughs without the Copilot, sync, web and remote items, step progress and completion events, media in webviews, startup page; port/tools/ui-pair with port/fixtures/ui-steps/welcome.json (port/results/welcome.md); cargo test -p app walkthroughs welcome_page (the_terminal_startup_editor_opens_a_terminal_editor); step buttons draw their `$(icon)`s (cargo test -p app a_step_button_draws_its_label_icons); `command:toSide:` runs in a group beside the page (cargo test -p app a_to_side_step_command_runs_in_a_group_beside_the_page) |
+| workbench/contrib/welcomeGettingStarted | workbench contribution | M19 | verified | | walkthroughs.rs, workbench/welcome_page.rs: cargo test -p app walkthroughs welcome_page a_panel_view_showing_completes_its_on_view_step a_workbench_context_key_completes_its_on_context_step a_step_description_keeps_its_bold_italic_and_code_runs a_step_description_draws_its_bold_run a_step_button_draws_its_label_icons a_to_side_step_command_runs_in_a_group_beside_the_page; port/tools/ui-pair with port/fixtures/ui-steps/welcome.json (port/results/welcome.md). Without the Copilot, sync, web and remote items |
| workbench/contrib/welcomeOnboarding | workbench contribution | M19 | removed | | Developer: Welcome Onboarding 2026 (onboardingVariationA.ts) is sign-in and Copilot setup: no sign-in or AI by decision (port/notes.md) |
| workbench/contrib/welcomeViews | workbench contribution | M19 | verified | | workbench/views_welcome.rs: the viewsWelcome extension point (git's scm and explorer entries; github's Publish to GitHub needs sign-in) with the workbench's Explorer and Source Control contents; New File... (workbench/new_file.rs); port/tools/ui-pair welcome.json explorer and scm shots match the reference (port/results/welcome.md); cargo test -p app views_welcome; paragraphs wrap as Chromium with a hanging trailing space (vendored GPUI line_layout.rs; ui-pair icons/scm-welcome.json, port/results/icons.md) |
| workbench/contrib/welcomeWalkthrough | workbench contribution | M19 | verified | | h4 headings uppercase (an_h4_is_uppercase); cargo test -p app walkthrough_part 16 passed; ui-pair port/fixtures/ui-pair/m19/playground.json matches the reference in scroll, wrap, shortcut labels, snippet click and typing (port/notes.md Editor Playground) |
-| workbench/contrib/workspace | workbench contribution | M12 | verified | | workbench/workspace_trust_view.rs: startup prompt (startupPrompt once/always/never, parent folder checkbox), request dialog, Restricted Mode status entry and hover, banner with Manage/Learn More and dismissal; untrusted windows drop extensions without untrustedWorkspaces support and restricted workspace settings (cargo test -p config untrusted); ui-pair startup prompt against the reference (port/notes.md milestone 12); Workspace Trust editor (workbench/workspace_trust_editor.rs, workspaceTrustEditor.ts): header, trusted and Restricted Mode feature boxes with Trust or Don't Trust (Cmd+Enter), trusted folders table with Add Folder, Open File Picker and Delete Path: cargo test -p app trusted_entries; opened as a modal editor (`RequiresModal`); ui-pair port/fixtures/ui-pair/m12/trust-editor.json matches the reference but for the settings and extension counts (0.74% pixels off, port/notes.md milestone 12); Edit Path and the Up/Down section navigation: cargo test -p app workspace_trust_editor; a trust change applies in place (extensionEnablementWorkspaceTrustTransitionParticipant.ts: trust deltas in the extensions it enables with `$deltaExtensions`, losing it restarts the host; the restricted settings change event; `$onDidGrantWorkspaceTrust`): cargo test -p app trusting_the_window and -p config untrusted; ui-pair m12/trust-table.json (SETTINGS security.workspace.trust.enabled) matches the reference, window kept, at port-m12b-verify |
+| workbench/contrib/workspace | workbench contribution | M12 | verified | | workbench/workspace_trust_view.rs, workbench/workspace_trust_editor.rs: cargo test -p config untrusted; cargo test -p app trusted_entries workspace_trust_editor trusting_the_window; ui-pair startup prompt, port/fixtures/ui-pair/m12/trust-editor.json (0.74% pixels off: the settings and extension counts), m12/trust-table.json (port/notes.md milestone 12) |
| workbench/contrib/workspaces | workbench contribution | M12 | verified | | workbench/workspace_actions.rs: Open File, Open Folder, Open Workspace, Close Folder, Open Recent picker, Clear Recently Opened, File menu and Open Recent submenu (cargo test -p app menubar); workbench/workspace_editing.rs: Add Folder to Workspace, Remove Folder from Workspace (folder picker), Save Workspace As, Duplicate Workspace, File menu `3_workspace` and Explorer `2_workspace` items: cargo test -p app workspace_editing explorer; ui-pair port/fixtures/ui-pair/m12/workspace-folders.json (Explorer menu, palette, folder picker, Untitled (Workspace) window), verified at port-m12b-verify |
| extension/bat | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
| extension/clojure | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
@@ -649,7 +649,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| extension/html | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
| extension/html-language-features | built-in extension | M13 | verified | | its language server runs in the extension host: ui-pair `<di` in a.html gives the same tag completions, breadcrumbs and status bar (port/results/language-features.md, HTML and CSS) |
| extension/ini | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
-| extension/ipynb | built-in extension | M17 | verified | | the cell list's vertical scrollbar follows the reference at af4e2d1b7d3: none after the click on the markdown preview (`focus-bars`, 3 of 3 port runs), shown with the pointer over a code cell and still shown after it moves on to the preview, where the reference's iframe sits inside the list (ui-pair m17/notebook-output-toolbar.json plus a hover on a code cell, then on the preview); a webview "did-focus" arriving after the same press's "clickMarkupCell" no longer takes the keyboard back from the list (notebook_editor.rs, webview has_keyboard): with a stale did-focus re-dispatched after every click 3 of 3 runs ended on Cell 1 before the fix, Cell 2 after; 6 of 6 plain runs of the click then Down end on Cell 2 of 4; ui-pair m17/notebook-output-toolbar.json `focus-bars` matches the reference; ui-pairs m17/notebook-open, notebook-keys-outline, notebook-output-toolbar, notebook-toolbars and notebook-cli at 8f138e76960 match the reference: the differences of notes m17 (open, keys and outline, output toolbar, command line JSON) are gone (port/notes.md milestone 17, views audit). verified (session m17d): api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row at 499a612a62f (the 10 pending are upstream skips; `Ensure tabs getter` failed in 2 of 3 runs before the exthost fix that holds workbench answers until the queue before them is sent) (ipynb suite: the reference skips the same); ui-pairs m17 notebook-open, notebook-restore (hot exit through the ipynb serializer) match; `contributes.notebooks` editors in the editor resolver (custom_editors.rs, notebookServiceImpl.ts priorities): a `.ipynb` opens from the Explorer as a notebook; port/tools/ui-pair port/fixtures/ui-pair/m17/notebook-open.json on port/fixtures/notebooks/sample.ipynb shows the markdown preview, code cells and outputs as the reference (port/notes.md lists the differences left) |
+| extension/ipynb | built-in extension | M17 | verified | | custom_editors.rs, notebook_editor.rs: api-tests `MOCHA_GREP="Notebook|ipynb|Interactive Window|Ensure tabs getter"` 41/10/0 three runs in a row (10 pending are upstream skips); port/tools/ui-pair port/fixtures/ui-pair/m17/notebook-open.json on port/fixtures/notebooks/sample.ipynb, m17 notebook-keys-outline, notebook-output-toolbar (`focus-bars` 6 of 6 runs), notebook-toolbars, notebook-cli, notebook-restore match (port/notes.md milestone 17) |
| extension/jake | built-in extension | M15 | verified | | runs unchanged in the host; ui-pair with port/fixtures/task-runners (`jake.autoDetect` on): its tasks listed under Run Task and run in a task terminal as in the reference (port/results/terminal.md, grunt, gulp, jake) |
| extension/java | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
| extension/javascript | built-in extension | M7 | verified | | grammar: cargo test -p app syntax::tests::colorize_fixtures_match_the_reference (its colorize-tests fixtures, scopes and 10 default theme colors) |
@@ -716,7 +716,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| telemetry/source-search | cross-cutting check | M19 | verified | | port/tools/telemetry-source-check: no telemetry or experimentation endpoint in the release binary, out-exthost and the 86 shipped built-ins with their 339 resolved packages (18370 files); SELF_TEST=1 finds 9 files in the inert packages |
| telemetry/network-capture | cross-cutting check | M19 | verified | | port/tools/network-capture, 600 s with no user action, fresh user data: folder window (eager git, npm, github activated) and empty window, no outbound traffic from the app's process tree; the control curl is seen each run. An earlier folder run with traffic was another session's keystrokes opening JSON files (json-language-features schema downloads), so runs take the Studio GUI lock |
| gallery/open-vsx | cross-cutting check | M18 | verified | | exthost/src/gallery.rs: query, latest-version resource, version choice, download with signature check; cargo test -p exthost gallery (upstream extensionGalleryService.test.ts sorting and filterLatestExtensionVersionsForTargetPlatform cases, Open VSX resource fixture); `workbench.extensions.installExtension redhat.vscode-yaml` downloads 2.0.0 from open-vsx.org, verifies it and activates without restart, not-found errors as upstream: PORT_GALLERY=1 port/tools/extensions-check |
-| port/settings-import | port feature | M10 | verified | | app/src/settings_import.rs and workbench/settings_import.rs: `Preferences: Import from VS Code, Cursor or VSCodium...` and a first-run offer read `~/Library/Application Support/{Code,Cursor,VSCodium}/User` (settings.json, keybindings.json, snippets, the theme ids with the settings) and `~/.vscode/extensions`, `~/.cursor/extensions`, `~/.vscode-oss/extensions`, show the parts with their counts, write into the current profile and install the extensions from Open VSX as a profile import does (userDataProfileImportExportService.ts, extensionsResource.ts `apply`): one gallery query, one publisher trust dialog for all publishers (extensionManagementService.ts `installGalleryExtensions`), an "Installing Extensions..." progress notification, then each extension Open VSX did not install (except an untrusted publisher's) copied from the source's extensions folder, and an error that names each extension still not installed with why; the extensions VS Code has disabled (`extensionsIdentifiers/disabled` in its `globalStorage/state.vscdb`, read-only) are disabled before they install; a profile without keybindings gets `keybindings.json` as written, comments included; the color, file icon and product icon themes the settings name apply once their extension is installed (workbenchThemeService.ts registry `onDidChange`); AI, sign-in, telemetry, remote and the editors' own settings and extensions are left out. The contents pick starts with every part checked (`picked` selects with `canSelectMany`, quickInputController.ts `pick`). cargo test -p app settings_import installed_extensions_bring (11 passed, `extensions_open_vsx_lacks_are_copied_from_the_source` fails without the copy fallback, `accepting_the_contents_pick_imports_every_part` fails when the checked items do not start selected, `imported_extensions_ask_for_publisher_trust_once` fails with one dialog per extension, `installed_extensions_bring_the_themes_the_settings_name` fails without the restore on `set_running_extensions`, `an_empty_profile_takes_keybindings_json_with_its_comments` and `reads_the_disabled_extensions` fail without their fixes) on port/fixtures/settings-import; release GUI on the host lane, one import each from VS Code, Cursor and VSCodium fixtures under a scratch HOME through the command palette: settings, keybindings and snippets land in the profile's User folder, `cursor.*` dropped |
+| port/settings-import | port feature | M10 | verified | | app/src/settings_import.rs, workbench/settings_import.rs: cargo test -p app settings_import installed_extensions_bring extensions_open_vsx_lacks_are_copied_from_the_source accepting_the_contents_pick_imports_every_part imported_extensions_ask_for_publisher_trust_once installed_extensions_bring_the_themes_the_settings_name an_empty_profile_takes_keybindings_json_with_its_comments reads_the_disabled_extensions on port/fixtures/settings-import; release GUI on the host lane: one import each from VS Code, Cursor and VSCodium fixtures under a scratch HOME. AI, sign-in, telemetry, remote and the editors' own settings and extensions are left out |
| look/screenshot-diff | cross-cutting check | | verified | | port/tools/pixel-check: CDP reference capture and Metal readback in 3 themes, pixeldiff reference vs itself 0 different; baseline in port/results/pixels.md |
| perf/memory-benchmark | cross-cutting check | | verified | | port/tools/bench (Wu method), 3 runs on Studio; port/results/benchmark.md: exthost Bun 57 MiB, Node 98 MiB, reference 151 MiB |
diff --git a/port/notes.md b/port/notes.md
index d831af52e18..5f5f45a7e95 100644
--- a/port/notes.md
+++ b/port/notes.md
@@ -7,7 +7,7 @@ Decisions, traps and findings that the ledger rows point to. Newest at the end o
- `native/`: Cargo workspace. `crates/exthost` (framing, RPC, handshake, init data, session dispatcher, `exthost-probe` binary), `crates/app` (`code-gpui`, the GPUI app).
- `upstream/` (not committed, milestone 22): VS Code checked out at the 1.147.0 tag, never edited; every build step and tool reads it through `VSCODE_SRC` (default `upstream/`; `native/vscode_src.rs`, `port/tools/vscode-src.sh`, `port/tools/vscode-src.ts`). Setup and build: README.md. A Studio mirror without its own `upstream/` gets a link to `~/Developer/vscode-ref` (`port/tools/studio`).
- `src/bootstrap-exthost.ts` (added by `port/patches/src-bootstrap-exthost.patch`): entry of the extension host bundle (`port/tools/build-exthost` writes `out-exthost/bootstrap-exthost.js`). Same bundle on Bun and Node.
-- Upstream edits (roadmap milestone 22) are `port/patches/*.patch` against the 1.147.0 tag, never committed to upstream: `build-exthost` applies `src-*.patch` to a copy of `src/` in `out-exthost/build` and inlines product.json with `port/product.json` (the port's name, data folder, bundle id, URL protocol) over it; `package-app` applies `extensions-*.patch` to the bundled extensions and writes the merged product.json; `product.rs` merges `port/product.json` at startup. A patch is regenerated by editing the file in `upstream/` and `git -C upstream diff -- <file>`, then `git -C upstream checkout -- <file>`.
+- Upstream edits (milestone 22) are `port/patches/*.patch` against the 1.147.0 tag, never committed to upstream: `build-exthost` applies `src-*.patch` to a copy of `src/` in `out-exthost/build` and inlines product.json with `port/product.json` (the port's name, data folder, bundle id, URL protocol) over it; `package-app` applies `extensions-*.patch` to the bundled extensions and writes the merged product.json; `product.rs` merges `port/product.json` at startup. A patch is regenerated by editing the file in `upstream/` and `git -C upstream diff -- <file>`, then `git -C upstream checkout -- <file>`.
- `port/tools/studio <cmd>`: syncs the tree to the Mac Studio (`~/Developer/vscode-gpui-work/port-src`) and runs `<cmd>` there. All builds and runs go through it.
- Reference: untouched 1.147.0 checkout at `~/Developer/vscode-ref` on the Studio (compiled, extensions compiled). Wu `a3ced28` at `~/Developer/wu`.
@@ -17,7 +17,7 @@ Decisions, traps and findings that the ledger rows point to. Newest at the end o
- Proxy ids are creation order in `extHost.protocol.ts`, starting at 1. `port/tools/gen-proxy-ids.ts` writes `proxy_ids.rs` keyed by the MainContext/ExtHostContext key, not the identifier string: `MainThreadLanguageModelTools` is created as `'MainThreadChatSkills'`, and 8 more keys differ from their strings. Rerun the generator when the protocol file changes.
- The local host is `EagerManualStart`: init data has `autoStart: false` and main sends `$startExtensionHost`. With `autoStart: true` the host races the explicit call and rejects it ("Extension host is already started!").
- Startup calls main must make before `$startExtensionHost` (they come from MainThread* constructors upstream): `$initializeConfiguration`, `$initializeWorkspace`, `$initializeTelemetryLevel`, `$acceptEditorTabModel`. Without the tab model, typescript-language-features fails on `window.tabGroups.activeTabGroup`.
-- Main must answer `MainThreadWindow.$getInitialState` with `{isFocused, isActive}` and `MainThreadLanguageModelTools.$getTools` with an array, or the host logs unhandled rejections. Every other MainThread* method currently answers `undefined` (ledger: `stub` rows).
+- Main must answer `MainThreadWindow.$getInitialState` with `{isFocused, isActive}` and `MainThreadLanguageModelTools.$getTools` with an array, or the host logs unhandled rejections. A MainThread* method the port does not implement answers `undefined` (the session.rs fallback).
## Bun (1.4.5) as the extension host runtime
@@ -117,7 +117,7 @@ Done when: `port/tools/api-tests` prints passing/pending/failing per suite and w
- Mocha keeps upstream's 60 s per-test timeout. Tests that wait for a main-thread event the stubs never send (quick input, terminal, shell integration) each cost 60 to 120 s, so the folder suite hits its 1800 s `SUITE_TIMEOUT` after 30 of its suites; the table counts the reached tests and lists the rest as not reached.
- One early run ended at 990 s with exit 0 and no mocha summary; the next full run went past the same point and hit the timeout, so the cause is not found. The script marks any run without mocha's summary as `incomplete: exit <code>` (or `timed out`), so such a run cannot pass as complete.
- Finding: the folder suite holds chat, lm, browser-tools and run_in_terminal tests for AI features the port removes by decision; they can never pass, so the parity target of milestone 20 (356/46/0) needs those tests subtracted. Decision for Artur.
-- Rows `base/test`, `editor/test`, `platform/test` (upstream unit tests of the TypeScript layers) and `workbench/services/driver` (the smoke-test DOM driver) stay `todo`: the port has no TypeScript workbench to run them on, and the api-tests harness is its end-to-end check. Proposal: the `n/a` status of the roadmap's decision 1.
+- Rows `base/test`, `editor/test`, `platform/test` (upstream unit tests of the TypeScript layers) and `workbench/services/driver` (the smoke-test DOM driver) are `n/a`: the port has no TypeScript workbench to run them on, and the api-tests harness is its end-to-end check.
- A `.code-workspace` argument opens a multi-root workspace since milestone 12; the api-workspace suite passes 4/4.
## Milestone 7: syntax colors and themes
@@ -177,12 +177,6 @@ Done when: api-tests `configuration.test` and `state.test` pass as in the refere
- Settings import (`app/src/settings_import.rs`, `workbench/settings_import.rs`; Artur, no upstream counterpart): Preferences: Import from VS Code, Cursor or VSCodium..., and an offer on the first start with the default user data (no `--user-data-dir`) and no settings.json yet, shown once (`settingsImport.offered` in application storage). Keybindings already present are not duplicated; existing snippet files are kept; extensions are installed from Open VSX, and one Open VSX does not have or cannot install (not found, offline, an incompatible version) is copied from the source's extensions folder instead (`UserExtensions::install_folder`, without that editor's `__metadata`); a publisher the user did not trust is not copied either. The first import installed one extension at a time, each with its own publisher trust dialog queued behind the others, and dropped their results; it now runs like a profile import (one query, one trust dialog, progress, the failures listed), disables what VS Code has disabled, keeps keybindings.json comments when the profile has no keybindings yet, and the theme settings apply when their extension arrives. Settings the port removed (chat.*, github.copilot.*, the AI search toggle) stay left out by design. Fixtures in port/fixtures/settings-import.
- configuration-editing's own tests run with `port/tools/extension-tests configuration-editing` (a built-in extension's out/test from the reference checkout, against vsrustium): 18 passing. They needed `_executeCompletionItemProvider` and `_executeLinkProvider` to send cancellation tokens (`host.call_cancellable`, as rpcProtocol.ts does for a method whose last parameter is a token), `$acceptLanguageIds` at host start and restart (`vscode.languages.getLanguages`), `getContextKeyInfo` (the reference's `RawContextKey.all()`, dumped by `port/tools/ref-commands` into `contextkey/reference-context-keys.json`; rerun it when the reference moves) and the development copy of a built-in keeping `isBuiltin` (`scanExtensionsUnderDevelopment`), which `@vscode/internal-github`'s allowlist checks. The extensions.json cases expect `ms-vscode.js-debug`: the Studio mirror needs `port/tools/fetch-builtin-extensions` once.
-### Milestone 10 handoff (next session)
-
-Committed in the last session: the profile icon picker and the new profile form, live policy updates, the `${command:}`/`${input:}` prompts of tasks and launch, `_executeLinkProvider` and `port/tools/extension-tests`. Left:
-
-1. `workbench/services/preferences` (ported): preferencesService.test.ts's and splitSettingsEditorInput.test.ts's split JSON editor and modal group cases wait on the merge of `port-m11b-layout` (editor groups, milestone 11), not on this branch yet.
-
## Milestone 9: commands, keybindings, quick input
Scope as in its Work row of port/ledger.md. Done in this milestone: the command registry, context keys and `when` clauses, keybinding resolution, the quick input widget and MainThreadQuickOpen, the Command Palette, and Quick Open's file picks. Not done: Quick Open symbols (`@`, `#`): their pickers wait for the milestone 13 symbol providers and are not stubbed.
@@ -275,14 +269,11 @@ Scope as in its Work row of port/ledger.md. Done in this milestone: the command
- listCommands.ts on the three lists: Explorer `focusParent`, `collapseAllToFocus`, `selectAndPreserveFocus`, `showHover` (the focused row's managed hover, placed by the row, hoverService.ts `showManagedHover`); Search results (`workbench/search_list.rs`) take multiple selection (`multipleSelectionSupport: true`: Cmd or Alt click toggles, Shift click ranges from the anchor, `expandSelectionDown/Up`, `selectAll` of the focused row's level, `toggleSelection`) and `focusAny*`, `focusParent`, `collapseAllToFocus`, `selectAndPreserveFocus`; their rows have no managed hover, so `showHover` does nothing there. The table takes `focusAny*`, `toggleSelection` (the focused row leaves the selection until the focus moves) and `selectAndPreserveFocus`; tree commands do nothing on it (`cargo test -p app the_results_select_several_rows the_tree_commands typing_in_the_table`).
- `config.<setting>` context keys (contextKeyService.ts `ConfigAwareContextValuesContainer`): every setting's value is in the key context, so toggles like File > Auto Save (`config.files.autoSave != 'off'`) are checked as in the reference; before, only a few `config.*` keys were set and Auto Save showed checked with `files.autoSave` off. The menu bar is compared with a fresh reference dump (port/results/menubar.md).
-Handoff (milestone 9 rows left, in the order planned):
-- `mainthread/MainThreadCommands`: api-tests `vscode.open` (ViewColumn.Two needs editor groups) waits on the merge of port-m11b-layout; `vscode.diff` passes.
-- `platform/actionWidget`: the widget's view and ActionWidgetService come with the code action menu, on port-m13-languages (d757b03b695); waits on that merge.
- Open in `platform/list`: ui-pair's 4 real wheel notches (cua-driver, AppKit `Lines(-2)` each) over the Explorer scroll the reference 304px and the port 282px, one row less. Before, the port's wheel layer tested `is_hovered`, which GPUI makes false after a key press until the pointer moves, so GPUI's own 21px-a-line scrolling took the wheel (168px); it now tests `should_handle_scroll` (`cargo test -p app the_wheel_scrolls_after_a_key_press`). The remaining row: Chromium's `wheelDeltaY` per notch is not AppKit's `scrollingDeltaY`; not derived yet. After the wheel stops the reference shows the row's hover (Chromium's synthetic mouse move enters the new row); the port leaves the old row's hover on scroll and shows the next one only when the pointer moves.
-## Milestone 12: files, explorer, search, workspace (in progress)
+## Milestone 12: files, explorer, search, workspace
-Scope shipped so far: `workspace.fs` and file events, Seti file icons and numeric name sorting in the Explorer, `workspace.findFiles`, `findFiles2` and `findTextInFiles` through ripgrep, multi-root `.code-workspace` windows. Done when (roadmap section 12) is met; scope items are left, see the Seti pixel-check item.
+Scope shipped so far: `workspace.fs` and file events, Seti file icons and numeric name sorting in the Explorer, `workspace.findFiles`, `findFiles2` and `findTextInFiles` through ripgrep, multi-root `.code-workspace` windows. Done when of milestone 12 is met; scope items are left, see the Seti pixel-check item.
- `native/crates/files` is the file service: a `FileSystem` trait, the `Disk` provider (capabilities as `diskFileSystemProviderClient`, no PathCaseSensitive on macOS), delete to Trash through the `trash` crate (NSFileManager, as Electron `shell.trashItem`), and upstream's error names with `_handleError` renames. Other schemes go to the extension providers registered with `$registerFileSystemProvider`.
- `files::watcher` watches through FSEvents (notify), batches events for 75 ms and coalesces them as `watcher.ts` `EventCoalescer`. `files.watcherExclude` patterns are matched by `files::glob`, a port of `glob.ts` with `!` exceptions and its upstream tests, case insensitive as `parseWatcherPatterns`.
@@ -341,7 +332,7 @@ Scope shipped so far: `workspace.fs` and file events, Seti file icons and numeri
- Saves from the workbench (`workbench.action.files.save`, `saveAll`, and the host's `$save`, `$saveAll` of MainThreadWorkspace, now forwarded to the workbench) write a model of an extension's file system provider through the host thread (`FileJob::Write`) and mark it clean at the version that was written, so edits made meanwhile stay dirty. shortcut: only `$trySaveDocument` runs save participants.
- `$tryOpenDocument` answers the casing opened first when the scheme's provider has no PathCaseSensitive (the disk on macOS, case-insensitive extension providers), as `uriIdentityService.asCanonicalUri`. Editors opened in the workbench find an open file in any case too (`TextDocument::is_file`). shortcut: only open models are canonical, where upstream keeps a cache of every URI it saw (its trimming tests do not apply).
- A recursive `$watch` whose stat fails stays recursive, as mainThreadFileSystemEventService.ts ignores the error. Every test of `workspace.test` and `workspace.watcher.test` passes (port/results/api-tests.md).
-- The folder window with Seti icons is pixel-checked at the merge of milestones 9, 10 and 12: folder 7238/4067/960/874 (dark to hclight) against a reference captured with Seti (port/results/pixels.md, "Milestone 12"). With the api-tests above and the `file9`/`file10` sort test, the Done when of roadmap section 12 is met; the scope items left are workspace trust, recent workspaces, local history, opener and URL handling.
+- The folder window with Seti icons is pixel-checked at the merge of milestones 9, 10 and 12: folder 7238/4067/960/874 (dark to hclight) against a reference captured with Seti (port/results/pixels.md, "Milestone 12"). With the api-tests above and the `file9`/`file10` sort test, the Done when of milestone 12 is met; the scope items left are workspace trust, recent workspaces, local history, opener and URL handling.
- The Search view (`workbench/search_view.rs`, `search_actions.rs`) ports searchView.ts, searchWidget.ts and the top bar, result and replace actions: `workbench.view.search`, `workbench.action.findInFiles` (Shift+Cmd+F, seeded from the editor selection, or the word at the cursor with `search.seedWithNearestWord`, never while the focus is in the view), `workbench.action.replaceInFiles`, the `search.action.*` commands and the `list.*` ones in the results. The activity bar's Explorer and Search icons switch the side bar through the same commands. Typing searches after `search.searchOnTypeDebouncePeriod`; an invalid regex shows the validation message and does not search.
- Its model (`search_model.rs`) ports searchTreeModel's FileMatch and Match (previews cut as `lcut`, UTF-16 columns), the result counts and messages, and `ReplacePattern` with preserve case; cases from upstream's searchResult, match and replace tests (`search_model/tests.rs`). The include and exclude inputs go through `search::search_paths` (queryBuilder.ts `text` with `./folder` paths and `onlyOpenEditors`).
- Replace all asks with `confirm` (replaceService.ts texts), applies the edits as one bulk text edit and saves each file. A replaced file keeps a model without an editor; opening it reuses that model. A changed model's file is searched again (`updateMatchesForModel`).
@@ -394,7 +385,7 @@ Scope shipped so far: `workspace.fs` and file events, Seti file icons and numeri
- An empty area Explorer press stands for the only root (`onContextMenu`): its resource keys apply, so Reveal in Finder, Open Timeline, Copy Path and Copy Relative Path show there as in the reference.
- Compare commands (`workbench/file_compare.rs`, fileCommands.ts and fileActions.ts): Compare Active File with Saved (Cmd+K D; the `showModifications` side holds the file as on disk, label "{name} (in file) ↔ {name}"), Select for Compare and Compare with Selected (`resourceSelectedForCompare`), Compare Selected (two Explorer rows, `listDoubleSelection`), Compare Active File With... (Quick Open with its second item active, `ItemActivation.SECOND`; the picked file is the modified side), Compare Active File with Clipboard (Cmd+K C, `clipboardCompare<n>` side, "Clipboard ↔ {name}"), Compare New Untitled Text Files; Explorer context group `3_compare`. Test: `cargo test -p app file_compare`.
-### Milestone 12 verification (port-m12b-verify), handoff
+### Milestone 12 verification (port-m12b-verify)
Verified: the rows whose ledger evidence names "M12 verification" (api-tests, port/results/api-tests.md) or "verified at port-m12b-verify" (their named cargo tests). Ported here: the local history Timeline source and entry commands, the search replace preview. Left, by row:
@@ -421,7 +412,7 @@ Verified: the rows whose ledger evidence names "M12 verification" (api-tests, po
## Milestone 8: editor viewport and editing commands
-Scope (roadmap section 8): scrolling with real visible ranges and the MainThreadTextEditors and MainThreadDocuments requests, then multi-cursor and editing commands, find/replace, folding, minimap, sticky scroll. Shipped: scrolling and the MainThread requests, then multi-cursor, then folding, then the minimap; the rest is open (last line of this section).
+Scope (milestone 8): scrolling with real visible ranges and the MainThreadTextEditors and MainThreadDocuments requests, then multi-cursor and editing commands, find/replace, folding, minimap, sticky scroll. Shipped: scrolling and the MainThread requests, then multi-cursor, then folding, then the minimap; the rest is open (last line of this section).
Done when (first item): api-tests `vscode API - editors` passes as in the reference; the text editor tests of `vscode API - window` that need one editor group only pass; pixel-check file and main windows unchanged.
@@ -529,21 +520,20 @@ Done when (first item): api-tests `vscode API - editors` passes as in the refere
- Smooth scrolling (`editor/smooth_scroll.rs` scrollable.ts `SmoothScrollingOperation` with its easing and the composed curve past 2.5 viewports, `workbench/smooth_scrolling.rs` `setScrollPositionSmooth`): with `editor.smoothScrolling` the reveals upstream makes with `ScrollType.Smooth` (cursor reveals after commands, typing and clicks, find matches, `TextEditor.revealRange`) and a physical mouse wheel notch (`ScrollDelta::Lines`) move the scroll position over 125 ms. A reveal during the animation is computed from its target (`getFutureViewport`) and restarts it from the current position unless the target is the same; a scroll set at once (a scrollbar drag, a trackpad, a view state restore) ends it. Tests: `cargo test -p app smooth_scroll` (all scrollable.test.ts cases).
- Find options widget (`workbench/find_options_widget.rs`, findOptionsWidget.ts, findInput.ts `highlightFindOptions`): with the find widget hidden, a change of the effective regex, whole word or case option (a toggle command, a toggle in the widget, a multi-cursor session's overrides) or a multi-cursor search over the find options (multicursor.ts `_highlightFindOptions`, each next match not taken from the word under the cursor, and Select All Occurrences) shows the three toggles at the editor's top right, 10px down, for 2 s, kept while hovered; with it shown, the search flashes the find input's options for 100 ms (white at 0.44 in dark themes, yellow at 0.8 in light ones). Test: `cargo test -p app find_options`. Not compared against the reference with ui-pair.
- Open from the milestone: find/replace (with the multi-cursor find commands).
-- Handoff (branch `port-m8c-textfiles`, after smooth scrolling 76aa3a4e036): section 8 rows left, in order. (1) Content hover placement fixed in 12f25cf492d (`_findPositionPreference` had compared the space with the clipped height); ui-pair `/tmp/m8uni` now shows the hover below line 1 as the reference. Left for editor/contrib/hover: the port's widget is 748 px wide where the reference's is 712, and inline code spans lack the reference's padded background. `editor/contrib/unicodeHighlighter` stays ported only for workspace trust (milestone 12); `editor/browser` only for the diff editor (milestone 14). The word wrap pair matched (the 1 device px sliver after `dog, ` is in the reference too). (2) Checks not yet run: api-tests `MOCHA_GREP="vscode API - editors"`, `"vscode API - window"`, `"vscode API - workspace"` for MainThreadDocuments/TextEditors; pixel-check `WINDOWS=folded`; ui-pair of the find options widget (Cmd+D twice on an empty cursor, Alt+Cmd+C with the widget hidden) and of `editor.smoothScrolling` (frames mid-animation). (3) Rows waiting on other milestones: `mainthread/MainThreadEditorTabs`, `mainthread/MainThreadTextEditors` view columns and `workbench/parts/editor` splits (milestone 11); `editor/contrib/stickyScroll` go to definition and `outlineModel`, `editor/contrib/smartSelect` SelectionRangeProvider, `editor/contrib/contextmenu` Refactor..., `workbench/services/textfile` Format on Save, `editor/contrib/editorState` (milestone 13); `editor/contrib/unicodeHighlighter` workspace trust (milestone 12). (4) Open work in milestone 8: `platform/undoRedo` resource elements and undo groups; `workbench/services/workingCopy` working copies and history entries following moves; `workbench/services/textfile` the save conflict Compare editor and `files.autoGuessEncoding`; `workbench/contrib/codeEditor` emptyTextEditorHint, menuPreventer, editorSettingsMigration, inspectKeybindings, dictation (selectionClipboard is Linux only: n/a); `editor/common` stub items; the `editor.renderControlCharacters: false` width of bidi characters. Done since the last handoff: floating menu (26eb26eaacd), find options widget and multicursor verified (fc6bbfa0fed), smooth scrolling (76aa3a4e036).
- Breadcrumbs pickers against ui-pair m8/breadcrumbs-pickers.json: the GUI's Alt+Left "hid the picker" because cua-driver's background hotkey activates the port window and then deactivates it; the picker closes on window blur, as the reference does (ref-dom: `document.hasFocus()` false and no `.monaco-breadcrumbs-picker` after another app activates), so the fixture sends its keys in front. The picker sits 2px below the arrow (contextview.ts point anchor of height 2), its tree is the content width plus the 1px border, rows are rounded 4px (roundedCorners.css), a row's twistie starts after `DefaultIndent` 8px and is shifted 3px (tree.css), and in the file picker a file's twistie collapses with Seti (views.css `align-icons-and-twisties`, set only by `BreadcrumbsFilePicker._createTree`); outline picker icons are uncolored. The first item's anchor covers its 16px padding and the last item ends in 8px (editortitlecontrol.css). cargo test -p app workbench::breadcrumbs.
-## Milestone 13: language features (in progress)
+## Milestone 13: language features
Split (coordinator, mid-milestone): this session keeps completion, snippets, signature help, code actions with the light bulb, code lens and inlay hints; two other sessions take navigation (definition to call hierarchy) and the rest (rename to the Problems panel).
-Scope (roadmap section 13): diagnostics, hover, completion, go to definition and peek, then the rest of `MainThreadLanguageFeatures` in roadmap order.
+Scope (milestone 13): diagnostics, hover, completion, go to definition and peek, then the rest of `MainThreadLanguageFeatures` in the milestone's order.
- Diagnostics (`markers.rs`, `workbench/diagnostics.rs`; markerService.ts, mainThreadDiagnostics.ts): `$changeMany` and `$clear` fill the `MarkerService` (markers sanitized as `_toMarker`, unsupported schemes dropped, the host's markers tagged with its id as origin); every change sends `ExtHostDiagnostics.$acceptMarkersChange` with the markers of other origins, as `_forwardMarkers`. `installResourceFilter` is not ported, only chat calls it. Tests: `cargo test -p app markers`.
- Marker decorations (`editor/marker_decorations.rs`, markerDecorationsService.ts): up to 5000 markers per model, ranges by `_createDecorationRange` (hints 2 columns wide, empty ranges grow to the word, whole-line markers start at the first non-whitespace), tracked through edits (`NeverGrowsWhenTypingAtEdges`). Squiggles from codeEditorWidget.ts's SVG waves (`editorError/Warning/Info.foreground`, the border and background variants as editor.css draws them), hints as 3 dots, unnecessary code faded by `editorUnnecessaryCode.opacity`, deprecated struck through; overview ruler lanes and minimap marks by severity. shortcut: GPUI has no dashed or dotted bottom border, so the `.squiggly-unnecessary` and hint borders are solid. Tests: `cargo test -p app marker_decorations diagnostics`.
- Problems status bar entry: counts and tooltip from the markers (`MarkersStatusBarContributions`). The Problems panel needs milestone 11's panel part (`workbench/parts/panel` is todo), so it waits for it; the Next Problem widget ships first.
- View zones (`editor/view_zones.rs`; viewZones.ts, linesLayout.ts): whitespace below a model line, hidden in a folded range, tracked through edits. `line_top`, the visible lines, the scroll height, reveals, the overview ruler, sticky scroll, the find widget and the editor message all count it. `VerticalReveal::NearTop` (`NearTopIfOutsideViewport` gap: 20% of the viewport, at least 5 lines).
- Next Problem (`workbench/marker_navigation.rs`; gotoError.ts, markerNavigationService.ts, gotoErrorWidget.ts, peekView.ts, zoneWidget.ts): `editor.action.marker.next/prev` (Alt+F8, Shift+Alt+F8), `nextInFiles/prevInFiles` (F8, Shift+F8, opening the other file with the marker selected near the top), `closeMarkersNavigation` (Escape) and `markersNavigationVisible`. The list sorts by `problems.sortOrder` and follows the cursor and marker changes (stale widget at 60% italic). The widget is a peek view in a view zone of `3 + min(17, lines)` lines: the 6px arrow and 1px frame in the severity's `editorMarkerNavigation*` color, the 22px head with the severity icon, file name, "N of M problems" and the next, previous and close actions, the message in the editor font with source, code (link) and related information. shortcuts in the code: no screen reader announcement (aria label), the message scrolls without its 6px scrollbars. Not ported: the zone's resize sash, the Go menu entries (the port has no Go menu). ui-pair (`errors.ts` with 3 TypeScript errors, dark; F8 twice, Escape): squiggles, widget head, arrow, message, code and zone height match the reference. Open: the problem count and color on the tab and Explorer row (`MarkersFileDecorations`, workbench/contrib/markers). Tests: `cargo test -p app marker_navigation`.
-- Hover (`language_features.rs`, `markdown.rs`, `workbench/content_hover.rs`, `workbench/content_hover_view.rs`, `workbench/markdown_view.rs`; contentHoverController.ts, hoverOperation.ts, contentHoverWidget.ts, markdownHoverParticipant.ts, markerHoverParticipant.ts, unicodeHighlighter.ts, languageFeatureRegistry.ts, languageSelector.ts): `$register*Provider` calls are kept with their selectors and ordered by `score`, then builtin last, then newest. Hover asks every matching provider with `$provideHover` through `HostSync::call_cancellable`; dropping the receiver sends the host a cancel, as the token does. Timing follows hoverOperation (`delay/2`, then the rest, "Loading..." at 3x). Sticky hovers stay while the pointer gets closer to the widget. Markdown goes through pulldown-cmark (the roadmap allows it in place of marked) into blocks that GPUI text draws; code blocks use the TextMate grammar of their language. Marker parts show severity, message, source and code, the copy button and the View Problem status bar; Quick Fix waits for code actions. Unicode parts show the reason and "Adjust settings", which opens the reference's exclude-options quick pick. The copy button reads "Copied to clipboard" through the polite live region (aria.ts `status`). The resize sashes (resizableContentWidget.ts) are north and east above the line, east and south below it, with their corner; a drag clamps to `minSize` (150, or the contents' width when narrower, by a line plus 8) and to the limits `_updateResizableNodeMaxDimensions` leaves after each step: the contents' height within the space on the widget's side, and the page width less 14 only while the text wraps (`_isHoverTextOverflowing`, here the natural width capped by the max width or wider than the dragged one); the size holds until the next result and raises the max size of later hovers (`_lastDimensions`). A provider's hover with `canIncreaseVerbosity` or `canDecreaseVerbosity` gets the `.verbosity-actions` column, + and - at the bottom of the row's visible part; they and Increase/Decrease Hover Verbosity Level ask the provider again with `verbosityRequest` (the delta and the previous hover's id, which the host's HoverAdapter keeps), a request still out for the provider is cancelled and its delta added, and the answer replaces the part's contents. With no hover focus the commands without an `index` update every provider part, as `focusedHoverPartIndex` -1 does. ui-pair (`src/main.ts`, dark; pointer on `main`, then off): the hover text `function main(): number` with its syntax colors, frame and hide-on-leave match the reference; the rerun after the placement fix and the 2px border in the measured size matches. The reference's lightbulb and breadcrumb symbol need code actions and document symbols. Tests: `cargo test -p app markdown language_features content_hover`.
+- Hover (`language_features.rs`, `markdown.rs`, `workbench/content_hover.rs`, `workbench/content_hover_view.rs`, `workbench/markdown_view.rs`; contentHoverController.ts, hoverOperation.ts, contentHoverWidget.ts, markdownHoverParticipant.ts, markerHoverParticipant.ts, unicodeHighlighter.ts, languageFeatureRegistry.ts, languageSelector.ts): `$register*Provider` calls are kept with their selectors and ordered by `score`, then builtin last, then newest. Hover asks every matching provider with `$provideHover` through `HostSync::call_cancellable`; dropping the receiver sends the host a cancel, as the token does. Timing follows hoverOperation (`delay/2`, then the rest, "Loading..." at 3x). Sticky hovers stay while the pointer gets closer to the widget. Markdown goes through pulldown-cmark (allowed in place of marked) into blocks that GPUI text draws; code blocks use the TextMate grammar of their language. Marker parts show severity, message, source and code, the copy button and the View Problem status bar; Quick Fix waits for code actions. Unicode parts show the reason and "Adjust settings", which opens the reference's exclude-options quick pick. The copy button reads "Copied to clipboard" through the polite live region (aria.ts `status`). The resize sashes (resizableContentWidget.ts) are north and east above the line, east and south below it, with their corner; a drag clamps to `minSize` (150, or the contents' width when narrower, by a line plus 8) and to the limits `_updateResizableNodeMaxDimensions` leaves after each step: the contents' height within the space on the widget's side, and the page width less 14 only while the text wraps (`_isHoverTextOverflowing`, here the natural width capped by the max width or wider than the dragged one); the size holds until the next result and raises the max size of later hovers (`_lastDimensions`). A provider's hover with `canIncreaseVerbosity` or `canDecreaseVerbosity` gets the `.verbosity-actions` column, + and - at the bottom of the row's visible part; they and Increase/Decrease Hover Verbosity Level ask the provider again with `verbosityRequest` (the delta and the previous hover's id, which the host's HoverAdapter keeps), a request still out for the provider is cancelled and its delta added, and the answer replaces the part's contents. With no hover focus the commands without an `index` update every provider part, as `focusedHoverPartIndex` -1 does. ui-pair (`src/main.ts`, dark; pointer on `main`, then off): the hover text `function main(): number` with its syntax colors, frame and hide-on-leave match the reference; the rerun after the placement fix and the 2px border in the measured size matches. The reference's lightbulb and breadcrumb symbol need code actions and document symbols. Tests: `cargo test -p app markdown language_features content_hover`.
- Completion (`suggest.rs`, `workbench/suggest_controller.rs`, `workbench/suggest_widget.rs`, `symbol_icons.rs`; completionModel.ts, suggest.ts, suggestModel.ts, suggestController.ts, suggestCommitCharacters.ts, suggestWidget.ts, suggestWidgetRenderer.ts, suggestWidgetDetails.ts, editorWorkerService.ts `WordBasedCompletionItemProvider`): sessions start from Ctrl+Space/Cmd+I, quick suggestions (`editor.quickSuggestions` per token kind, `quickSuggestionsDelay`) and trigger characters; providers are asked in `orderedGroups` until a group gives items, with `providerItemsToReuse`, incomplete lists re-asked as typing continues; the model filters with `fuzzyScore` (graceful with typo permutations) and sorts as upstream. The main thread's word based provider is a registration with handle `u64::MAX` and selector `*`. Accept (Tab, Enter with `acceptSuggestionOnEnter`, click, commit characters) inserts through the snippet controller with `getOverwriteInfo` and `LineSuffix`, applies additional edits (sync, or after resolve), runs the item's command; `$releaseCompletionItems` on clear. The widget: rows with kind icon and color, highlights, label detail/description, the focused row's detail, Loading.../No suggestions., above/below placement, 12 rows, resolve on focus, docs panel (Ctrl+Space, `expandSuggestionDocs` in profile storage) east/west/south. `_executeCompletionItemProvider` for `vscode.executeCompletionItemProvider`. Codicon aliases (`symbol-function` is `symbol-method.svg`) map in `symbol_icons::svg_name`. shortcuts in the code: docs panel without north placement, bottom alignment and resize sash. ui-pair (`src/main.ts`, dark: type `ma`, Down, Ctrl+Space details, Escape, Ctrl+Space, Enter): rows, icons, highlights, the 432px width, the details panel west of the list with the detail broken anywhere (`auto-wrap`) and the accepted text match the reference. Not ported: `editor.suggestSelection` recentlyUsed memories (only `first`), `editor.suggest.localityBonus` word distance, the status bar (`editor.suggest.showStatusBar`), the widget resize sash, `insertBestCompletion`/tab completion, explain mode, inline completions interplay. Tests: `cargo test -p app -- suggest`.
- Snippet session (`editor/snippet_session.rs`, `workbench/snippet_controller.rs`; snippetSession.ts, snippetController2.ts): placeholders of every cursor's copy grouped by index, final tab stop last, tracked through edits (the current group grows at its edges); Tab/Shift+Tab, Escape, `acceptSnippet`, collapsed placeholders skipped, the session ends at the last placeholder, on undo to the insert or when the cursor leaves; choices show their options in the suggest widget (the choice provider as an exclusive registration); `inSnippetMode`, `hasNextTabstop`, `hasPrevTabstop`, `inSnippetChoice`; `.snippet-placeholder` and `.finish-snippet-placeholder` decorations. `$tryInsertSnippet`, completion and Define Keybinding insert through it. shortcuts in the code: a snippet with placeholders inside a session replaces the session (no `merge`), no transforms. Tests: `cargo test -p app -- snippet`.
- Signature help (`workbench/parameter_hints.rs`; parameterHints.ts, parameterHintsModel.ts, parameterHintsWidget.ts, provideSignatureHelp.ts): the 120ms throttled trigger merges pending contexts as upstream (Invoke and trigger characters win over content changes), `isRetrigger` and `activeSignatureHelp` go to the host, the first provider with an answer wins and its result is released at once (`$releaseSignatureHelp`; the widget keeps the value). A mouse cursor move, another model or a blur cancels. The widget sits above the cursor, else below, max 440px wide; the active parameter is bold in `editorHoverWidget.highlightForeground` (string labels match as whole words, offset labels as UTF-16 offsets); overloads `n/m` with chevrons. shortcuts in the code: no docs scrollbar, no "hint" announcement. Tests: `cargo test -p app parameter_hints`.
@@ -554,12 +544,12 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Inlay hints (`workbench/inlay_hints.rs`; inlayHintsController.ts, inlayHints.ts, inlayHintsLocations.ts, inlayHintsHover.ts): `editor.inlayHints.enabled` (on, off, onUnlessPressed, offUnlessPressed with Ctrl+Alt), the visible ranges plus a viewport above and below asked 25 ms after a scroll and after an edit (`$provideInlayHints`, released with `$releaseInlayHints`), `$emitInlayHintsEvent`; the cache per model keeps the hints until the answer; while typing, hints keep their fixed lengths. Labels and parts in `editorInlayHint.*` colors (type and parameter kinds), `paddingLeft`/`paddingRight`, `maximumLength` with an ellipsis, the editor font at `editor.inlayHints.fontSize` (90%); Cmd+hover on a part with a location or command underlines it, click goes to the location or runs the command; the hover shows the tooltip after `$resolveInlayHint`; double click applies `textEdits`. `_executeInlayHintProvider`. shortcuts in the code: fixed debounces, labels measured in editor font columns. Tests: `cargo test -p app inlay_hints`.
- Color decorators (`workbench/color_detector.rs`, `default_document_colors.rs`, `workbench/color_picker.rs`, `workbench/standalone_color_picker.rs`; colorDetector.ts, defaultDocumentColorsComputer.ts, colorHoverParticipant.ts, colorPickerWidget.ts and its parts, standaloneColorPickerActions.ts): `editor.colorDecorators`, `colorDecoratorsLimit`, `defaultColorDecorators` (auto, always, never: the regex computer for CSS-like colors when no extension provides), the 10px boxes as injected text; hovering or clicking a box (`editor.colorDecoratorsActivatedOn`) shows the picker in the content hover: header with the presentation (click cycles, `$provideColorPresentations`) and the original color, saturation box, hue and opacity strips by drag; a change writes the presentation's edit. Show or Focus Standalone Color Picker, Hide, Insert Color with the insert button. `_executeDocumentColorProvider`, `_executeColorPresentationProvider`. shortcut in the code: the standalone picker takes no keyboard focus. Tests: `cargo test -p app default_document_colors color_picker`.
- Inline completions (`workbench/inline_completions.rs`, `ghost_text.rs`; inlineCompletionsController.ts, inlineCompletionsModel.ts, inlineCompletionsSource.ts, provideInlineCompletions.ts, computeGhostText.ts, ghostTextView.ts, commands.ts): providers from `$registerInlineCompletionsSupport` asked 50 ms after typing (Automatic) or by `editor.action.inlineSuggest.trigger` (Explicit), lists freed as replaced; the selected item (Alt+] and Alt+[) shows as ghost text, the parts on the cursor line as injected text in `editorGhostText.foreground`, further lines below; Tab commits (snippets through the snippet controller, then the item's command), Cmd+Right accepts the next word, Escape hides; `$handleInlineCompletionDidShow`, `...PartialAccept`, `...EndOfLifetime`. Context keys `inlineSuggestionVisible`, `inlineSuggestionHasIndentation(LessThanTabSize)`, `cursorBeforeGhostText`. The AI parts (inline edits, next edit suggestions) are removed by decision. `diff::lcs_diff` is the port of base/common/diff/diff.ts for computeGhostText. Tests: `cargo test -p app ghost_text inline_completions`, `cargo test -p diff lcs_diff`.
-- `workbench/services/suggest` is the terminal's simple suggest widget (only terminalContrib/suggest uses it): moved to milestone 15 in the roadmap.
+- `workbench/services/suggest` is the terminal's simple suggest widget (only terminalContrib/suggest uses it): moved to milestone 15.
- api-tests `MOCHA_GREP="vscode API - languages"`: 3 passing (both `setTextDocumentLanguage` tests, `diagnostics, read & event`), 4 failing (link detector, diagnostics & CodeActionProvider, completions with document filters, folding command: they need `MainThreadLanguageFeatures`).
- Navigation (branch `port-m13b-navigation`; goToCommands.ts, goToSymbol.ts, symbolNavigation.ts, referencesModel.ts, referencesController.ts, referencesWidget.ts, referencesTree.ts, goToDefinitionAtPosition.ts, clickLinkGesture.ts, peekView.ts, zoneWidget.ts): `workbench/goto_symbol.rs` runs the eleven Go to/Peek actions with their aliases, `editor.gotoLocation.multiple*` (peek, gotoAndPeek, goto with the F12 walk and its "Symbol N of M" message), the `_execute{Definition,Declaration,TypeDefinition,Implementation,Reference}Provider` commands and goToLocations/peekLocations/findReferences; `references_model.rs` sorts, dedupes and groups; `workbench/references_peek.rs` is the peek in a view zone with the tree, the preview, the zone and split sashes (`peekViewLayout` in profile storage) and the list keys. `workbench/goto_definition_link.rs`: Cmd (Alt with `multiCursorModifier: ctrlCmd`) over a word asks the definition once per word, links it in `editorLink.activeForeground` with an underline and the pointer cursor, its hover shows the source preview (up to 8 lines by indentation) or "Click to show N definitions."; a Cmd+click on one line goes there, Alt for the side (to the side waits for editor groups); Show Definition Preview Hover. The editor context menu has the Go to items and the Peek submenu, the Go menu its symbol items. Tests: `cargo test -p app goto_symbol references_model references_peek`.
- Document highlights (`workbench/document_highlights.rs`, wordHighlighter.ts `getOccurrencesAtPosition`): extension providers replace the textual occurrences; the first array answer in score order wins (an empty one too), null from all keeps the textual ones; `editor.occurrencesHighlightFromAllProviders` merges every answer without duplicate ranges. Write in `editor.wordHighlightStrong*`, Read in `editor.wordHighlight*`, Text as before, three overview ruler colors. Tests: `cargo test -p app document_highlights`.
- Document symbols: `outline_model.rs` (outlineModel.ts) and `workbench/document_symbols.rs` (the OutlineModelService cache, 15 models, trimmed to 11); `_executeDocumentSymbolProvider`. Go to Symbol in Editor (`workbench/quick_access/goto_symbol.rs`, gotoSymbolQuickAccess.ts): `@` and `@:` with Cmd+Shift+O, scored on `$(icon) name` with container matching, kind groups, the enclosing symbol active, the active pick revealed and its lines highlighted, deprecated symbols struck through; quick access help lists `@` and `@:`. `command_palette::locale_compare` now orders ASCII punctuation as ICU does (`@` before `>`). Tests: `cargo test -p app outline_model quick_access symbol_icons`.
-- Outline view and breadcrumb symbols (`workbench/outline_pane.rs`, outlinePane.ts, documentSymbolsOutline.ts, documentSymbolsTree.ts): one outline per active model version, asked on render; the breadcrumbs append the symbols around the cursor (`breadcrumbs.symbolPath` on/last/off, `breadcrumbs.show*` cut the path at the first hidden kind). The title actions are in `workbench/outline_actions.rs` (handoff item 6). Not yet: the breadcrumbs symbol picker. Check: `cargo test -p app outline_pane`.
+- Outline view and breadcrumb symbols (`workbench/outline_pane.rs`, outlinePane.ts, documentSymbolsOutline.ts, documentSymbolsTree.ts): one outline per active model version, asked on render; the breadcrumbs append the symbols around the cursor (`breadcrumbs.symbolPath` on/last/off, `breadcrumbs.show*` cut the path at the first hidden kind). The title actions are in `workbench/outline_actions.rs`. Not yet: the breadcrumbs symbol picker. Check: `cargo test -p app outline_pane`.
- Go to Symbol in Workspace (`workbench/quick_access/workspace_symbols.rs`, symbolsQuickAccess.ts): Cmd+T and `#`; the providers (`$registerNavigateTypeSupport`, no selector, `LanguageFeatures::all`) get the filter's first word 200ms after the last keystroke, each provider's previous `cacheId` released; duplicates dropped as `getWorkspaceSymbols`, picks scored on the name and `container • path`, resolved before open, web links open outside. Open to the side waits for editor groups. Check: `cargo test -p app workspace_symbols`.
- Call and type hierarchy (`hierarchy_model.rs`, `workbench/hierarchy_peek.rs`): one peek for both kinds; its frame, sashes and drawn preview are `workbench/peek_view.rs`, shared with the references peek (`PeekKind`, `PeekLayout`). The children of a row are asked when it first expands; switching direction asks again from the root. The references-view extension (Shift+Alt+F12 tree, its call/type hierarchy views) needs `MainThreadTreeViews`, still a stub. Check: `cargo test -p app hierarchy`.
- Rename (`workbench/rename.rs`; rename.ts, renameWidget.ts): F2 (`editorHasRenameProvider && editorTextFocus && !editorReadonly`) asks the providers that can resolve, in order, for the location (`$resolveRenameLocation`), else takes the word at the cursor; a reject reason is an editor message. The input (`InputId::Rename`, the rename box of renameWidget.css with `_updateStyles`: `editorWidget.background`, `widget.border`, `0 0 8px 2px widget.shadow`, the 26px input row in `input.background` with the `focusBorder` outline while focused, the editor font) sits at the symbol's start below the line, or above when fewer than six candidate rows fit below; the name is selected as far as the editor's one-line selection inside the range covers it. Enter (`acceptRenameInput`) asks `$provideRenameEdits` from the provider that resolved on, falling through on no result or a reject reason ("No result." info notification when none answers, "Rename failed to compute edits" on a failure); the selection collapses and the text edits apply as one undo step. Escape/Shift+Escape cancel; a change of the value, the model or a cursor outside the range cancels (checked on render, `EditorStateCancellationTokenSource`); a blur to another part of the window closes it. `renameInputVisible` and `editorFocus` while the input has the focus. `_executeDocumentRenameProvider`, `_executePrepareRename`. shortcuts in the code: no Refactor Preview (Cmd+Enter renames like Enter, and the "Enter to Rename, ⌘Enter to Preview" label never shows since `supportPreview` needs the bulk edit preview handler of workbench/contrib/bulkEdit), only text edits of the workspace edit apply. `NewSymbolNamesProvider` suggestions are AI (removed), so the candidate list stays empty and Up/Down restore the current name. Tests: `cargo test -p app rename::`.
@@ -568,15 +558,15 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Links (`workbench/links.rs`; links.ts, getLinks.ts, links.css, linkComputer.ts through `link_computer::compute_links` as the worker's provider for every model): the providers' lists are united as `LinksList._union` (a later list's link drops an earlier touching one), tracked through edits (`NeverGrowsWhenTypingAtEdges`) and asked again after 1000 ms; underlined, the link under the pointer in `editorLink.activeForeground` with a pointer cursor while the trigger modifier is down (Cmd when `editor.multiCursorModifier` is alt, else Alt); the modifier plus click or a middle click opens it (resolving first when the provider supports it), `editor.action.openLink` opens the links at the selections; the hover names the gesture. `_executeLinkProvider`. Tests: `cargo test -p app links::`.
- Linked editing (`workbench/linked_editing.rs`; linkedEditing.ts): ranges tracked as `AlwaysGrowsWhenTypingAtEdges`; an edit inside the reference range syncs the mirrors (common prefix and suffix trimmed) through `OpenEditor::execute_edits_in_last_undo_group` (`popUndoStop` plus the kept edit type), any other edit or move asks again after 75 ms. shortcuts in the code: fixed debounce, an empty range draws no 1px box.
- Semantic tokens (`semantic_tokens.rs` for the theme and DTO logic, `workbench/semantic_tokens.rs` for the feature): the theme reads `semanticTokenColors` and `semanticHighlighting` along its `include` chain (`Theme::semantic`, `Theme::set_semantic_customizations`); a set property of a semantic token replaces the TextMate one, bracket pair colors are applied before it (upstream draws them as decorations over it). The extension host session now forwards `VSBuffer` replies as byte arrays and answers a command's `{"$vsbuffer": base64}` as a buffer (exthost session.rs). shortcuts in the code: fixed debounces, only the active model keeps tokens, no reset on a language change.
-- Handoff (branch `port-m13c-refactor`; navigation rows belong to the m13b session), section 13 rows left, in order:
+- Closed on branch `port-m13c-refactor`:
1. Done (branch `port-m13c-refactor` after the port-integrate merge b29e58af878): language status hover rows (`HoverContent::LanguageStatus`, `hover_rows`: severity codicon in `notificationsErrorIcon`/`notificationsInfoIcon` colors when the first status is a warning or error, label with icons, detail after an en dash, command link, pin/unpin action), the combined and language entries drawn as statusbarpart.css `.compact-right`/`.compact-left` (ui-pair src/main.ts: `{}` and TypeScript now as close as in the reference), the `formatter.conflict` Formatting status from `analyze_formatter` with Configure... (`formatter/configure/dfl`). `_executeCodeLensProvider`, `$provideInlayHints` and `$resolveDocumentLink` send cancellable requests (milestone 10's note: providers read `token.isCancellationRequested`).
2. Done: injected text, inlay hints, color decorators and pickers (entries above).
- 3. Done: inline completions from extensions (entry above). Left: `workbench/contrib/inlayHints` (Start/Stop Reading Line With Hint, inlayHintsAccessibilty.ts, over the AccessKit live region).
+ 3. Done: inline completions from extensions (entry above).
4. Done: Problems (`workbench/contrib/markers`). MarkersFileDecorations (`decorations.rs` `MARKERS_PROVIDER`, a synchronous provider whose data `set` fills; `DecorationData.weight`, 100 x severity, sorts it before extension data at 10). The filter box (`workbench/view_filter.rs`, viewFilter.ts `FilterWidget`, shared with the Output view: the "Showing N of M" badge while focused, the More Filters menu checked when a filter is off its default) with `markers_filter.rs` (markersFilterOptions.ts: `@source:` filters, include and `!` exclude globs, `files.exclude` per folder for Hide Excluded Files, fuzzy text on file names, messages, source and code with highlights, negation as markersTreeViewer.ts `Filter`); Show Errors/Warnings/Infos, Show Active File Only, Hide Excluded Files; Clear Filters; Cmd+F, Cmd+Down, Escape on the filter; the state in the `workbench.panel.markers` workspace memento. Related information rows under their marker with a twistie, multi-line messages with the per-row chevron and Show message in multiple/single lines. View as Table / View as Tree (`workbench/problems_table.rs`, markersTable.ts columns and sort; `problems.defaultViewMode`). Quick fixes (`workbench/problems_quick_fix.rs`): a hovered row asks its marker's quick fixes after 300 ms, the light bulb replaces the severity icon, a click lists them, running one opens the file and applies. shortcuts in the code: no row focus (no Cmd+. or Enter on rows), no column sashes, fixes only for open models. Tests: `cargo test -p app markers_filter problems_view problems_table`.
5. Done: language detection (`language_detection.rs`, `workbench/language_detection.rs`): @vscode/vscode-languagedetection in a Bun worker (`bun --eval` of `language_detection/worker.mjs`, JSON lines on stdin and stdout) loaded from the app's node_modules (`port/tools/package-app` copies it); the auto-detect of untitled and extensionless plain text models, the status light bulb, `editor.detectLanguage` and Auto Detect. The regexp model is not in 1.147.0's dependencies, so the history biases have nothing to feed. shortcut in the code: only edits of the active editor trigger the detection. Finding: the reference checkout (unbuilt, run from source) detects nothing. A typed Python snippet stays Plain Text after 14 s, and Detect Language from Content (Shift+Alt+D) answers "Unable to detect editor language", though its `node_modules/@vscode/vscode-languagedetection` has the model and that model in node gives `py` 0.33 over `hs` 0.07, which `detectLanguagesImpl` yields (0.38 after the bucket 1 correction, 0.31 ahead). So the worker of the source run fails to load the model; `vscode-regexp-languagedetection` is also missing there, as in 1.147.0's dependencies. The port follows the code, not that run.
6. Done: snippet actions (`workbench/snippet_actions.rs`: Insert Snippet, Surround With, Fill File with Snippet, Configure Snippets, the snippet code actions), Tab completion (`workbench/tab_completion.rs`), Emmet Expand Abbreviation (`workbench/emmet.rs`), code actions on save (`workbench/code_actions/on_save.rs`, `editor.codeActionsOnSave` schema per provided source kind), Read Line with Inlay Hints (`workbench/inlay_hints_accessibility.rs`), `$tokensAtPosition`, the Outline title actions (`workbench/outline_actions.rs`: Collapse/Expand All, Follow Cursor, Filter on Type as stored state only, Sort By; `outline/state`), the outline rebuilt when a symbol provider registers. Comments (`workbench/comments.rs`, `workbench/comments_view.rs`, `workbench/editor_view/comment_glyph.rs`): controllers and threads from `MainThreadComments`, the Comments panel (hideIfEmpty) and the gutter glyph. The comment thread widget (`workbench/comment_thread_widget.rs`): a zone per expanded thread in every editor of its resource, resized from the comment count (body lines taken as 18px, `shortcut:`), the glyph toggles it, replies run the `comments/commentThread/context` items with the `CommentThreadReply` argument (`$mid` 9, the thread as `$mid` 7), Cmd+Enter runs the first; the reply is a single-line input box in the editor frame. The Comments panel gained the filter box (Show Resolved/Unresolved, Sort By, stored in `memento/commentsViewState`), Collapse/Expand All, row selection and the unresolved badge. `_executeFoldingRangeProvider` (`workbench/folding_providers.rs`) made the `vscode API - languages` api-tests pass (7 of 7). Extension selection range providers (`workbench/selection_ranges.rs`) are asked once per Expand from a new selection; their ranges replace the bracket ones (`providers.length === 1`). Left: comment edit mode, reactions and comment menus, commenting ranges, Filter on Type in the outline tree (explorer_find.rs generalised), dropOrPasteInto, inlineProgress, the language feature extension rows.
-## Milestone 11: workbench layout and chrome (in progress)
+## Milestone 11: workbench layout and chrome
- Notifications (`notifications.rs` model, `workbench/notifications_view.rs` views; notifications.ts, notificationsToasts.ts, notificationsCenter.ts, notificationsViewer.ts, notificationsStatus.ts, notificationsCommands.ts, notificationService.ts): toasts (3 at most, newest on top, purge after 10/12/15 s unless sticky, hovered, focused or the window is in the background; 800 ms spam protection of 3), the center (Clear All, Configure Do Not Disturb with per-source filters stored in `notifications.doNotDisturbMode` and `notifications.perSourceDoNotDisturbMode`, Configure Notifications Position, Hide), rows with expand/collapse/clear/More Actions, buttons, `command:`/`file:`/`http(s):` links, Copy Text, double-click toggle, middle-click close, a 2px progress bar; the status bar bell (`$(bell)`, `$(bell-dot)`, `$(bell-slash)`, its tooltips) and for `workbench.notifications.position: top-right` the title bar bell. Commands and context keys from notificationsCommands.ts. Not ported: toast slide animation, screen reader announcements (GPUI has neither), `notifications.toggleDoNotDisturbModeBySource` (quick pick "More..."). Tests: `cargo test -p app notification`.
- `$showMessage` (`main_thread_message.rs`, mainThreadMessageService.ts): non-modal as a notification with the items as buttons, the extension as source and Manage Extension; answers the picked handle, `undefined` when closed. Modal as an NSAlert sheet (`dialog.rs`), the close affordance or Cancel/OK last. No urgent sources (sign-in removed).
@@ -599,7 +589,6 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Tree views (`custom_tree.rs` model, `workbench/tree_view.rs`; mainThreadTreeViews.ts, treeView.ts): the views of `contributes.views.explorer` whose `when` holds are Explorer panes, collapsed at first (`showCollapsed`). A view's tree exists only while its pane is expanded and the Explorer shows (`$setVisible`, `onView:<id>` on the first show), as upstream creates the tree on render: a `$refresh` or `$reveal` of a hidden view fetches nothing. The root fetch is shared (AsyncDataTree), so a reveal during it does not fetch twice. Pane ids are `&'static str`; a contributed id is interned once (`static_id`). The views of the other containers (scm, debug, test, `viewsContainers.activitybar`) follow the same rule in their container (`tree_view_body_visible`, workbench/view_containers.rs); the open gaps are in the ledger rows of workbench/services/views and mainthread/MainThreadTreeViews.
- View columns (`activate_column`, editorGroupColumn.ts `columnToEditorGroup`): `$tryShowTextDocument` and `_workbench.open` pick the nth group in grid order, adding groups in the side-by-side direction below 9, else the group beside; `MainThreadTextEditors` requests address the active editor of any group.
- Panel views since the port-integrate merge (624b11540c5): Problems (`workbench/problems_view.rs`, order 0), Output, Debug Console (`workbench.panel.repl`), Test Results (`workbench.panel.testResults`, a tab only while results exist: `PanelView.visible`), Terminal. `PanelView.badge` draws the tab's count (`activityBarBadge.*`). Ports is n/a: forwarded ports belong to remote and tunnels, removed by decision.
-- Handoff (milestone 11, branch `port-m11b-layout`), in order: (1) the panel's composite bar overflow "…" (tabs that do not fit, as the reference hides Terminal at 1024px with the Problems filter shown) and the Problems filter box with its filter menu and View as Table (port/results/problems.md lists the differences); (2) a view container registry (services/views, panecomposite) so contributed views of scm, debug, test and `viewsContainers` draw, with `${viewId}.active` keys from it (today each view sets its own in `key_context`); (3) the SCM Changes header onto `view_panes.rs`: waits for the Graph view (milestone 14 handoff), since with Changes alone the container merges its single view and draws no header (`mergeViewWithContainerWhenSingleView`); (4) Refactor Preview (bulkEdit) in the panel; (5) rows to verified: pixel-check `git` window (decorations) against the reference. api-tests `MOCHA_GREP="vscode API - window"` are 39/0/1 (the 1 is notebooks, milestone 17). Hot exit and windows belong to session 4f0d8561 (m11c-windows).
- Decorations (`decorations.rs`, `workbench/file_decorations.rs`; decorationsService.ts, mainThreadDecorations.ts): a label asks while it draws; the asks go out once the frame is built, one `$provideDecorations` per provider. `$onDidChange` drops and asks again for the named resources at once, so folders keep their bubble. The SCM rows take their letter and color from the service (they read git's tooltip before).
- Panel overflow (`panel.rs` `fitting_tabs`, compositeBar.ts `updateCompositeSwitcher`): tab widths come from the shaped titles and badges, the limit from the title and its actions as painted last frame (a size change draws again). A filter box squeezed below its 200px maximum counts at 200px, as upstream lays the composite bar out after the toolbar. The "..." item lists the hidden tabs ("{name} ({badge})") and runs their `<view id>.focus` command, which every panel view registers (`PanelView.view_id`, `PanelView.open`). Tests: `cargo test -p app workbench::panel::`.
- Problems filter (`markers_filter.rs` for markersFilterOptions.ts and the tree and table filters, `workbench/problems_filter.rs`, `workbench/problems_table.rs`): the filter box with history (Up/Down), `@source:`, `!` negation, include and exclude globs, the filter submenu (Show Errors, Warnings, Infos, Active File Only, Excluded Files with `files.exclude` per folder), "Showing x of y", the "No results found with provided filter criteria. Clear Filters." message, View as Table/Tree with `problems.defaultViewMode`, all in the workspace memento `memento/workbench.panel.markers`. The table has the five columns of markersTable.ts in a `SplitView` with column sashes. Not ported yet: the badge's `small` rule (hidden below 400px), the code link in the table opening its target, row focus and selection. Tests: `cargo test -p app markers_filter`.
@@ -608,7 +597,6 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Refactor Preview (`bulk_edit_preview.rs` for bulkEditPreview.ts's checked state, `workbench/refactor_preview.rs` for the pane and tree): a workspace edit with an edit that `needsConfirmation`, from `workspace.applyEdit` or a file participant's Show Preview, makes the host ask the workbench (`previewWorkspaceEdit`) and wait; the panel shows the `refactorPreview` view with categories (by type) or files (by file, `refactorPreview.groupByFile` in profile storage), checkboxes with upstream's file and category rules, and Apply and Discard. The reply is the checked edits, none on Discard, and `applyEdit` resolves `false` for no edits as bulkEditService.ts does. A second preview asks "Another refactoring is being previewed." Not ported yet: the multi-file diff editor an element opens in (milestone 14; a text file opens a diff of the file against `vscode-bulkeditpreview-editor` instead), the conflict check while the preview is open, tree keyboard navigation. Tests: `cargo test -p app bulk_edit_preview`.
- Modal editor group (`workbench/modal_editor_group.rs`, modalEditorPart.ts): `MODAL_GROUP` is a group outside the grid like the panel's (`EditorGroup::ensure_detached_group`; `has_several_groups` counts neither). preferencesService.ts `getEditorGroupFromOptions` sends settings.json and keybindings.json there unless `workbench.editor.useModal` is `off` or extension tests run; the modal draws the group's active editor with its breadcrumbs but without tabs or editor actions (`NoEditorTabsControl`) under a header, while the part keeps showing the group active before it with the file's icon, name and folder and the Open Settings (UI) or Open Keyboard Shortcuts action. Escape (`editorFocus && editorPartModal`), a press outside and Close Modal Editor close its editors (dirty ones ask) and the group with them. The Settings and Keyboard Shortcuts editors are editors of the group (preferencesEditorInput.ts resource `vscode-settings:/settingseditor`; keybindingsEditorInput.ts has no resource, the port's is `vscode-settings:/keybindingseditor`): a settings file opens beside them and they show again when it closes, a closed one drops its state, and an editor opened without preserveFocus (a file, an extension) closes the modal (editorGroupFinder.ts `handleModalEditorPart`). Tests: `cargo test -p app modal_editor_group`.
- Side by side editor (`workbench/side_by_side_editor.rs`; sideBySideEditor.ts, sideBySideEditorInput.ts): the group entry is the primary side; the secondary side is the one editor of a group of its own outside the grid and the group list (`EditorGroup.side_by_sides`, entry model id to group), drawn with `swapped_group_body` left of the primary (above it with `workbench.editor.splitInGroupLayout: vertical`, Toggle Layout in the editor title), the `sideBySideEditor.verticalBorder`/`horizontalBorder` line between. A press in the secondary makes its group active, so every editor command edits it; `workbench.action.*` commands (`execute_command`, `leave_side_group_for`) and `leave_panel_group` first give the active group back to the owner, so closing, splitting and moving act on the side by side editor, and the side gets the focus back after them while the side by side editor still shows it (`lastFocusedSide`); Go to Line, Go to Symbol, Quick Open, the Command Palette and Find in Files act on the focused side's code editor (`activeTextEditorControl`) and do not leave it; opening a file in the active group (`open_file_in_active_group`) leaves it; closing the entry closes the secondary group (`remove_input`). `swapped_group_body` draws the really active group as active even when it draws inside another group's swapped body. Split JSON (`useSplitJSON` or `openDefaultSettings`, `doOpenSplitJSON`): settings.json is the primary, `vscode://defaultsettings/{settings,workspaceSettings,resourceSettings}.json` the read-only secondary, its content `DefaultSettings.getContentWithoutMostCommonlyUsed` (`default_settings_content`); the modal header has no description for it (`getDescription`). `workbench.settings.openDefaultKeybindings`: openGlobalKeybindingsFile opens the default keybindings in the active main group and keybindings.json in a group added to its right. The editor title shows Open Settings (UI) on a user settings.json (`_workbench.openUserSettingsEditor`). cargo test -p app split_json open_default_keybindings; ui-pair port/fixtures/ui-pair/m11/split-settings.json with SETTINGS `{"workbench.settings.useSplitJSON": true}` (modal) and with `"workbench.editor.useModal": "off"`: the two sides, the title actions and the breadcrumbs' end as the reference. The sash between the sides (`SideBySideSplits`, sideBySideEditor.ts SplitView): a drag resizes them with each side kept at 220px wide (70px high in the vertical layout, `DEFAULT_EDITOR_MIN_DIMENSIONS`), a double click distributes them again; the ratio is kept per entry in memory (upstream keeps it in the editor's view state). The breadcrumbs' editor type control (workbench/editor_type_picker.rs; breadcrumbsControl.ts `_createEditorTypeControl`, editorTypePicker.ts): the current editor's label and a chevron at the breadcrumbs' end while the resource has more than one editor (`getAvailableEditorTypes` over `resource_editors`: the text editor, contributed custom editors by rank, the split settings editor first for `**/settings.json` while split JSON is on, minus hidden and unconfigured universal option editors); its menu reopens with each editor (Alt: open to the side), and Set Default for the glob. The EditSettingRenderer pencil (workbench/preferences/edit_setting.rs): in a user, workspace or folder settings file, the `edit` codicon in the glyph margin on the value line of the cursor's or, after a 75 ms pause, the pointer's boolean or enum setting; the pointer on it highlights the setting's lines, a press lists the values (a submenu per setting when several share the line), the value is written into the model, saved, selected, and the setting highlighted while the selection stays. The breadcrumbs of a path outside the workspace start below the user home as `~`, else below the root (`_initFilePathInfo`), and items have no gaps besides the file icon's 6px (the 16px before every item was wrong inside the workspace too). The breakpoint hint shows only where breakpoints can be set (`canSetBreakpointsIn`: never jsonc). cargo test -p app preferences editor_type_picker side_by_side; ui-pair port/fixtures/ui-pair/m11/split-settings-edit.json with SETTINGS `{"workbench.settings.useSplitJSON": true, "workbench.editor.useModal": "off"}` (port/results/layout.md Split settings editor). The pencil's glyph margin hover "Edit" (`edit_setting_glyph_hover`, glyphHoverWidget.ts placement: right of the glyph margin, top on the line, 13px, after `editor.hover.delay`) matches the reference within 1px; in this fixture the port misses the pointer's first move after the menu's Escape, a second move shows it (GlyphHoverWidget for other glyphs is not ported). The breadcrumbs' `…` item shows with Outline collapsed after the merge of port-integrate. Media previews and custom editors have breadcrumbs and with them the editor type control (ui-pair m11/editor-type-image.json: "Image Preview" as the reference). Split Editor copies a side by side editor with its secondary side (`EditorGroup::copy_side_by_side`); Reopen Closed Editor reopens both sides as a plain SideBySideEditorInput (`toUntyped`), whose editor type is the text editor, so its breadcrumbs say "Text Editor" where the split settings editor's say "Split Settings Editor" (ui-pair m11/split-settings-copy.json). The host sees the secondary side as a visible text editor without a column (mainThreadDocumentsAndEditors.ts `_updateState` lists every code editor; `SideBySideEditor.getControl` is the primary's), also while the secondary side's group is active.
-- Handoff, milestone 11 layout list after the Refactor Preview, modal group and editorpart.state commits: (1) split JSON settings editor and `openDefaultKeybindings` (above); (2) auxiliary windows (platform/auxiliaryWindow, workbench/services/auxiliaryWindow) and editor drag and drop between windows (platform/dnd): GPUI opens more windows, but the workbench is one entity per window, so an editor part per auxiliary window needs the groups' models shared across windows first; (3) the SCM Changes header waits for milestone 14's Graph view; (4) references-view's Shift+Alt+H call hierarchy is not pixel-checked; (5) the Problems view's row focus and selection, and the badge's `small` rule.
- Part positions (`workbench/layout.rs`, layout.ts `arrangeMiddleSectionNodes`/`arrangeEditorNodes`, layoutService.ts floating margins): the grid is a tree of split views (row, column, row) built for the side bar's side, the panel's position and its alignment; moving a part builds it again from the parts' sizes and visibility, as `adjustPartPositions` and `setPanelPosition` move views. `Grid::bounds` places each visible part; `card_margins` gives each card the gap on its leading edge, the outer gutter on the window's sides and bottom, and joins the side bar to the activity bar (left or right); a right rail with no side bar takes the extra 4px leading gap (`needsFloatingLeadingGap`). State: `workbench.sideBar.location` (setting, `workbench.action.moveSideBarLeft`/`Right`/`toggleSidebarPosition`), `workbench.panel.position` (workspace, a `Position` number, default from `workbench.panel.defaultLocation`), `workbench.panel.alignment` (profile), `panel.lastNonMaximizedWidth`/`Height` (profile, 300), `panel.wasLastMaximized` and `editor.hidden` (workspace) with `workbench.panel.opensMaximized`. Commands `workbench.action.positionPanel{Top,Left,Right,Bottom}` and `alignPanel{Left,Right,Center,Justify}`, View > Appearance > Panel Position and Align Panel, context keys `panelPosition`, `panelAlignment`, `mainEditorAreaVisible`. Maximize needs a centered or side panel (`panelMaximizationSupportedWhen`, the warning otherwise). Tests: `cargo test -p app -- layout part_grid`.
- Modern UI (contrib/modernUI): the classic layout with `workbench.experimental.modernUI: false` is removed by Artur's decision; the port has the modern layout only and reads the setting only where a part's metrics depend on it (the terminal's scrollbar) and for the Layout Density menu's `when`. Layout density (`window.density.layout`; layoutService.ts `isModernUICompact`, layoutDensityActions.ts, modernUI.contribution.ts): `workbench.action.setLayoutDensity.default`/`.compact` write the setting, the Manage menu's Layout Density submenu (group `2_configuration`, order 8, while the modern UI is on) checks the current one. Compact (`Workbench::compact_density`): the cards lose their margins and radii (floatingPanels.css, editorBorder.css), keep a transparent 1px border and paint 1px strokes on their right and bottom edges (`compact_card_strokes`: `surface.border` for the side bars, `modernPanel.border` for the panel, `editor.border` for the editor, `modernActivityBar.border` for the rail with its top edge, and its left edge on the left or after the side bar; a left edge also on any part at the window's left edge); the editor has no left border unless it meets the window's left edge; the rail is 40px (`COMPACT_ACTIVITY_BAR_WIDTH`, lane 4px, item gap 4px) and never takes the right rail's leading gap; the sashes are splitview's own, centered on the seams, without grips and with the full-length highlight; the status bar is 26px with 8px padding, 2px label margins and 4px label padding, 24px edge items; pane list rows sit 2px in from the edges. Tests: `cargo test -p app -- compact_density layout_density`. The Customize Layout quick pick lists the densities too (see Manage menu and Customize Layout below). Not ported: the toasts and the notification center keep their fixed insets (notificationsDialogs.css), as upstream does in both densities; `.has-background-color` and `visible-background-color-neighbor` status item margins are not ported in either density.
- Manage menu and Customize Layout (branch port-manage-menu; port/results/manage-menu.md): the layout-density pair showed the Manage menu without Settings, Extensions and Tasks, and the title bar's Customize Layout button ran a command nobody registered. The rows `workbench/parts/activitybar` and `workbench/services/layout` were `verified` without them: their evidence checked where the menu opens and the View > Appearance entries, not the menu's items or every layoutActions.ts action against the reference. Ported: every MenuId.GlobalActivity contribution of a kept feature (menus.rs; Backup and Sync Settings stays out with Settings Sync), `workbench.action.tasks.openUserTasks` with the template picker on the profile's tasks.json (`editor.insertSpaces` turns the template's tabs into spaces, for a folder's tasks.json too), the update state as the `updateState` context key with the `7_update` items and the Manage badge (workbench/update.rs; nothing shows without `updateUrl`), the title bar gear's menu, and the Customize Layout quick pick (workbench/customize_layout.rs) with `workbench.action.toggleActivityBarVisibility` and `alignQuickInputTop`/`Center`. `quickInputAlignment` is derived from the stored position: within 20px of a snap line and centered across, as `_layout` snaps. The pick's items are rebuilt each frame they differ (upstream: on a layout context key change), and the quick input takes the focus back after the frame, as the upstream `setTimeout` does after a shown panel's terminal took it.
@@ -621,42 +609,9 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Limit indicators (`limit_indicator_statuses` in workbench/language_status.rs; limitIndicator.contribution.ts): Warning statuses "Color decorators" (`editor.colorDecoratorsLimit`), "Folding ranges" (`editor.foldingMaximumRegions`, now read by the indentation provider too) and "Problems" (more than 5000 markers on the model, or a source that sent a truncated list) for the active editor, Configure opening the setting. `problems.visibility: false` is textEditor.ts's `renderValidationDecorations: off`: the error, warning and info squiggles, their overview ruler and minimap marks and the Problems status go (`filters_validation_decorations` in diagnostics.rs); the workbench's text editors never get `editable`, so read-only does not matter. A diff editor reports its modified side (`editors.active()`). `installResourceFilter` is not ported: only chat editing calls it.
- Editor drops from Finder (`editor_groups.rs` `drop_external_paths`; dnd.ts `ResourcesDropHandler`, editorDropTarget.ts): files dragged from outside take the group drop overlay and open pinned in the group or the split it shows, and join the recently opened files; a workspace file or a folder opens in a new window. Shift over the text drops into it (dropIntoEditor). shortcut: several folders open a window each, upstream enters an untitled multi-root workspace.
- History inputs (platform/history): the "(⇅ for history)" suffix of the Search inputs only while `history.showPrevious`/`showNext` are Up and Down (`showHistoryKeybindingHint`).
-- Handoff, session m11f (layout list), in order, each with what it needs:
- 1. `workbench/contrib/modernUI`: `window.density.layout: compact` is `card_margins` with 0 for both margins plus the 40px rail (outer 0, lane 4) and the 4px item gap (layoutService.ts `getFloatingPanelMargin`, activitybarPart.ts `FLOATING_COMPACT_*`), and about 75 `.modern-ui-compact` rules (floatingPanels.css, connectedPaneTabs.css, statusBar.css, editorBorder.css, padding.css); the classic layout (`workbench.experimental.modernUI: false`) drops the floating cards and every rule of contrib/modernUI/browser/media, a second skin of the whole workbench. Both need their own ui-pair set; not started.
- 2. (done: limitIndicator verified)
- 3. `workbench/services/auxiliaryWindow`, `platform/auxiliaryWindow`, and the cross-window part of `platform/dnd`: unchanged from the handoff above (one workbench entity per window; groups' models must be shared across windows first).
- 4. (done in part: side by side editor, split JSON and openDefaultKeybindings, see Side by side editor for what the pair still shows)
- 5. (done: SCM Changes header as a view pane, see View panes)
-- Handoff, session m11f second pass (limitIndicator verified, SCM as a ViewPaneContainer, side by side editor), what is left in order:
- 1. (done: side by side editor gaps, see Side by side editor)
- 2. (done in part: SCM pair leftovers, see View panes; left: the ref picker's quick pick and filters, the header action pitch, the Graph pane's 3px)
- 3. `workbench/contrib/modernUI` compact density and classic layout, each with its ui-pairs (item 1 above).
- 4. Auxiliary windows and cross-window drag (item 3 above).
- 5. From the m11e session (coordinator): moving side bar view containers and the Move View command, with a pair; title-action tooltips below the action as the reference (the port shows some above). Done: opening an editor while the secondary side bar or the panel is maximized restores the layout (`show_editor_if_hidden` on a change of the grid groups' active editors, layout.ts `showEditorIfHidden`; cargo test -p app opening_an_editor_restores_a_maximized_part; not on a group activation, and every opening counts as explicit, where upstream keeps the bar maximized for an editor the chat agent opens); webviews restyle on `NSWorkspaceAccessibilityDisplayOptionsDidChangeNotification` while `workbench.reduceMotion` is `auto` (power.rs `watch_accessibility_display`; checked by build only, toggling the Studio's Reduce Motion would change a machine other sessions capture on).
- 6. port/tools/ui-pair takes the click scale from the first capture (`screenshot_scale`): the Studio's windows capture at 1x in some runs and 2x in others, so compare shots after `magick -resize 1024x768`.
-- Handoff, session m11f third pass (merged port-integrate; side by side sash, editor type control, settings pencil, maximized parts, live Reduce Motion, SCM rows and contributed colors), what is left in order:
- 1. Done in the fourth pass: the Graph ref picker (scm_graph_view/ref_picker.rs, `HistoryItemRefPicker`) with the 'all' and per-ref filters stored in `scm.graphView.referencesFilter`, the header action pitch, the fetch icon and the 3px offset. ui-pair m11/scm-graph-refs.json (picker, a checked tag, OK, the filtered graph, the picker again) matches; the quick pick's count badge is "N Selected" in a modernUI pill. Left: the reference's pane header shows no hover background while the pointer is on an action. Done in the fifth pass: `command_button` and the Timeline toolbar icons stop the mouse down as actionViewItems.ts does (`stop_action_mouse_down`: no focus moves, the header neither focuses nor drags; cargo test -p app a_click_on_a_header_action_does_not_focus_the_header).
- 2. Move View and Move Focused View (layoutActions.ts `MoveViewAction`, `MoveFocusedViewAction`): the port's containers are fixed (Explorer and SCM `PaneContainer`s, panel views); moving one view needs viewDescriptorService `moveViewsToContainer` and generated containers. Moving whole containers between the side bars and the panel exists (`move_view_container`).
- 3. Title-action tooltips below the action: updatableHoverWidget.ts gives every action item's managed hover `HoverPosition.BELOW` with the element placement and pointer (`HoverOptions::managed()`); the port's `command_button` and part title actions use `HoverOptions::mouse()` or `instant()` (above). Pair a hovered pane header action, a side bar title action and the title bar layout controls before changing them. Done in the fifth pass: ui-pair m11/title-action-hovers.json showed the Explorer folder actions and the side bar "..." had no hover at all; they, `command_button`, the Timeline and Outline toolbar icons now use `HoverOptions::action_item()` (below, centered with the pointer, after the delay) and the pair matches. The title bar layout controls already place theirs below (no room above); the reference showed none in that run, the pointer moved there from another hover.
- 4. Done in the fifth pass: the pencil's "Edit" glyph hover (cargo test -p app the_edit_setting_pencil_shows_its_hover_after_the_delay, pair as above) and the breadcrumbs' `…` item with Outline collapsed (seen in the same pair).
- 5. `workbench/contrib/modernUI` compact density and classic layout with their ui-pairs; auxiliary windows and cross-window drag (items 3 and 4 of the second pass list).
-- Handoff, session m11f fifth pass (merged port-integrate at bcd44f455da; items 1, 3, 4 above done), what is left in order:
- 1. Item 2, Move View and Move Focused View: built-in views are hard-wired per container (`layout_view_panes` builds the Explorer list from FILE_VIEW/OUTLINE_VIEW/TIMELINE_VIEW and SCM from SCM_CHANGES_VIEW/SCM_HISTORY_VIEW; `PaneContainer` is a two-value enum). The layer needed: a view location map (viewDescriptorService `views.customizations` storage: view id to container id, generated containers `workbench.views.service.<location>.<uuid>`), `PaneContainer` keyed by container id, and the pane body dispatch by view id instead of by container.
- 2. Item 5: modernUI compact density and classic layout, auxiliary windows and cross-window drag.
- 3. In ui-pair m11/split-settings-edit.json the port misses the pointer's first move after Escape closes the editor type menu (the pencil hover and highlight wait for a second move); the reference reacts to the first one.
- 4. The pane header keeps its `list.hoverBackground` while the pointer is on an action; in m11/title-action-hovers.json the reference shows no header background even on the label, so pair a slower hover on the label before changing it.
-- Handoff, session m11f sixth pass (merged port-integrate at ddb0b4f70f0; Move View ported in a252ccd6ab5), what is left in order:
- 1. Pair Move View: `port/tools/ui-pair /tmp/mv port/fixtures/ui-pair/m11/move-view.json dark`. Two earlier runs, made while the Studio GUI was shared, showed neither window reacting to the palette keys (the port ran Move Focused View, the reference showed no picker); the last run timed out on the GUI lock. Then widen `movable_views` (view_locations.rs): the folder view, SCM Changes and Graph, and tree views need their pane bodies built by view id; built-in panel containers need panes side by side to take added views. The Move View picker also lists only the movable views, where the reference lists every view.
- 2. Auxiliary windows and platform/dnd between windows (as item 2 above).
- 3. modernUI compact density and classic layout, each paired.
- 4. Items 3 and 4 above (the pointer's first move after Escape: gpui updates the modality before dispatch and hit-tests the rendered frame, so reproduce with a log in `edit_setting_mouse_moved` before changing anything).
-- Handoff, session m11f seventh pass (Move View verified, port-integrate merged at 8cab547f046), what is left in order:
- 1. Done in port-m11-auxwin (see Editor windows and Locked editor groups above). Was: One `Workbench` entity owns one GPUI window: its render reads `window.viewport_size()`, draws the quick input, hovers, menus and webview overlays into that window, and commands call `window.focus` on whatever window ran them. An AuxiliaryEditorPart needs a second GPUI window whose root view renders an editor part of the main workbench (`workbench.update(cx, |w, cx| w.aux_editor_part(id, window, cx))`, the same `with_group` swap the modal and panel groups use), plus per-window overlays (quick input and hovers open in the active window), per-window focus routing, the auxiliary title bar and status bar, close merging the groups back (auxiliaryEditorPart.ts `doClose`) and restoring the windows (editorParts.ts `getState`). Cross-window tab drag: AppKit sends `mouseDragged` only to the window of the `mouseDown`, so gpui's `active_drag` never reaches the other window; it needs the drag tracked against `NSEvent.mouseLocation` and the window under it in the gpui macOS platform. A dedicated session (or two) of its own.
- 2. Done (eighth pass): the classic layout is removed by Artur's decision, see Modern UI below.
- 3. Done (eighth pass): Layout Density, see Modern UI below.
- 4. Seen in the move-view pair, not Move View's: the empty editor's letterpress sits higher in the port than in the reference at the same window size (port/results/move-view.md shots, /tmp/mv on the Studio).
-
-## Milestone 15: Output panel and logs (in progress)
+- port/tools/ui-pair takes the click scale from the first capture (`screenshot_scale`): the Studio's windows capture at 1x in some runs and 2x in others, so compare shots after `magick -resize 1024x768`.
+
+## Milestone 15: Output panel and logs
- Channels are files, as upstream: the host writes each extension channel and logger to its file under `<userData>/logs/<session>/window1/exthost`, the workbench reads the file from the channel's start offset (`output.rs`, `FileContentProvider`). `$update` with Replace or Clear moves the start offset to `till`.
- `MainThreadOutputService` and `MainThreadLogger` are forwarded from the session to the workbench (`main_thread_output.rs`), as `MainThreadQuickOpen` is. A visible logger is a log channel (`LogOutputChannels`); the host registers its own `exthost` logger, so the Extension Host channel comes from the host.
@@ -671,7 +626,7 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- shortcut: Open Logs Folder reveals the session folder when it has no `main.log`; the port has no main process writing one.
- Toggle Keyboard Shortcuts Troubleshooting writes `[KeybindingService]:` lines to the Window log from `dispatch_key` and `Resolver::resolve_logged`; keydown lines carry the DOM `code` of the native event and chords print as scan code dispatch strings (milestone 9's keyboard mapper). shortcut: no `keyCode` (GPUI keystrokes have none) and no focus marker (GPUI does not expose the focused element's bounds).
-## Milestone 15: integrated terminal (in progress)
+## Milestone 15: integrated terminal
- Backend: `alacritty_terminal` 0.25 (Apache-2.0) is the VT parser and screen model in place of xterm.js; the PTY is the port's own node-pty (`terminal/pty.rs`: openpty, setsid, TIOCSCTTY, PWD set to the cwd as `unixTerminal.ts` does). Wu's `terminal` crate is GPL-3.0 and is not used.
- Keys follow xterm.js `Keyboard.ts` (`terminal/keys.rs`), mouse reports `CoreMouseService` DEFAULT and SGR (`terminal/mouse.rs`). `terminal/skip_shell.rs` is `DEFAULT_COMMANDS_TO_SKIP_SHELL` plus the terminalContrib lists of 1.147.0: a keybinding to one of them runs instead of reaching the shell.
@@ -685,7 +640,7 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- The port opens a workspace folder by its resolved path, so a folder under `/var` shows as `/private/var` in the prompt where the reference shows `/var`; the cause is the workspace, not the terminal.
- ui-pair of the profile picker, `exit` and the split rows (`/tmp/term/steps4.json` on the Studio): the picker sorts each list by name with the `defaultProfile.osx` profile first, shows a PATH profile by its basename (`isFromPath`) and has the "Configure Terminal Profile" gear button (copies the profile into `terminal.integrated.profiles.osx` under a new name); the tab row actions take no space until hovered (`.actions { display: none }`); the inline Split and Kill and the single tab entry follow `tabs.showActions` and `tabs.showActiveTerminal`.
- Extension host (`workbench/terminal_host.rs`, mainThreadTerminalService.ts and mainThreadTerminalShellIntegration.ts): `$createTerminal` (shell path and args or the default profile, cwd without `terminal.integrated.cwd`, env merged or `strictEnv`, `hideFromUser` terminals outside the groups until `$show`, `location` parent splits), `$show`, `$hide` (closes the view tab), `$dispose`, `$sendText`, data and command event toggles, extension pseudoterminals (`$startExtensionTerminal`, `$sendProcessData/Ready/Property/Exit`, input as `$acceptProcessInput`), the change events (opened, closed with exit reason, active, process id, title, dimensions, shell type from the foreground process, selection, interaction) and `$acceptDefaultProfile`. Environment variable collections (`terminal/environment_collection.rs`) are applied to new terminals and kept in workspace storage (`terminal.integrated.environmentVariableCollectionsV2`).
-- Shell integration: the upstream scripts are injected (`terminal/injection.rs`, bash `--init-file`, zsh through `ZDOTDIR` in `$TMPDIR/<user>-vsrustium-zsh`, fish and pwsh) when `terminal.integrated.shellIntegration.enabled`, with a nonce per terminal; `terminal/shell_integration.rs` parses OSC 633/133/1337/7 in stream order and `$shellExecutionStart/Data/End`, `$cwdChange`, `$shellIntegrationChange` reach the host; `executeCommand` waits for the prompt as `runCommand` does. `runCommand` waits for the prompt input model to reach `Input`, sends ^C, then the command. Not done: command decorations in the gutter (handoff item 2).
+- Shell integration: the upstream scripts are injected (`terminal/injection.rs`, bash `--init-file`, zsh through `ZDOTDIR` in `$TMPDIR/<user>-vsrustium-zsh`, fish and pwsh) when `terminal.integrated.shellIntegration.enabled`, with a nonce per terminal; `terminal/shell_integration.rs` parses OSC 633/133/1337/7 in stream order and `$shellExecutionStart/Data/End`, `$cwdChange`, `$shellIntegrationChange` reach the host; `executeCommand` waits for the prompt as `runCommand` does. `runCommand` waits for the prompt input model to reach `Input`, sends ^C, then the command.
- Undefined RPC arguments: `exthost::rpc::undefined()` as an argument is sent as `ArgType.Undefined` (`Arg::from_value`), as rpcProtocol.ts does for `undefined`; `$acceptTerminalClosed` exit codes and `$acceptTerminalSelection` need it (the api-tests compare with `undefined`).
- Task pickers (`workbench/task_quick_pick.rs`): runTask without an argument is the two-level `TaskQuickPick` (recently used from workspace storage `workbench.tasks.recentlyUsedTasks2`, configured, Configure a Task, contributed types, Show All Tasks..., Go back, the `{type}.autoDetect` entries with their confirmation), build and test (`_runTaskGroupCommand`: one default runs, else a picker), terminate (with All Running Tasks), restart, reRunTask, showTasks.
- Configuring tasks (`workbench/task_configure.rs`): Configure Task lists every task (`_runConfigureTasks`); a contributed task is customized into the folder's tasks.json (`customize`, a new file starts with the `tasksJsonComment` and follows `editor.insertSpaces`/`tabSize`), a custom one opens at its entry. Configure Default Build/Test Task sets `group.isDefault` and clears it on the others. Every task command goes through `with_task_trust` (`_trust`). The palette shows the task commands once the host sends `$registerSupportedExecutions` (the `*ExecutionSupported` context keys).
@@ -705,13 +660,9 @@ Scope (roadmap section 13): diagnostics, hover, completion, go to definition and
- Task providers: `fetch_tasks` waits for the `onTaskType:` activations (5 s race, `_activateTaskProviders`) before `$provideTasks`, so the first fetch of a type lists the provider's tasks (ui-pair `/tmp/m15-steps-grunt.json`: "grunt: default" and "grunt: hello" on the first pick).
- Initial hint (`workbench/terminal_initial_hint.rs`): terminal.initialHint.contribution.ts with AI features hidden, so only the suggest part and the dismiss links; it shows while its terminal is focused (upstream keeps a shown hint when focus leaves).
- Terminal persistence across restarts (`workbench/terminal_editor.rs`): on quit the buffers of the panel's and the editors' persistent terminals go to workspace storage `terminal.integrated.bufferState` and the panel's groups to `terminal.integrated.layoutInfo` (terminalGroup.ts `getLayoutInfo`); upstream writes the layout on each change (`_saveState`, debounced) and the buffers on quit, the port writes both on quit, which stores the same last layout. On start `revive_terminals` recreates the groups with their splits, active panes and the active group (`_recreateTerminalGroups`), then the editors' terminals, and drops both keys. Split panes share their width equally in the port, so `relativeSize` is 1/n and is not read back; the background terminals (`forcePersist`, only set by the chat tools) are not stored.
-- Handoff, in order (branch `port-m15b-terminal`):
- 1. Left: `application.shellEnvironmentResolutionTimeout` (the 10 s default is used); mark navigation's temporary highlight and selection variants; sticky scroll's reveal highlight.
- 2. The OSC 99 toast stayed past the reference's purge in the ui-pair (port/results/terminal.md); check whether the port's toast deadline starts while `cua-driver` drives the window in the background.
- 3. GUI checks the ui-pair could not reach: the quick fix light bulb (needs a command line `cua-driver` can type, `git push` has none of its punctuation) and the accessible view from Focus Accessible Terminal View (neither app opened it from the palette).
-## Milestone 18: extensions, install, update, gallery (in progress)
+## Milestone 18: extensions, install, update, gallery
-Scope (roadmap section 18): extension management on disk with VSIX install and uninstall, add and remove in the running host; then the Open VSX gallery, the Extensions view, recommendations and language packs.
+Scope (milestone 18): extension management on disk with VSIX install and uninstall, add and remove in the running host; then the Open VSX gallery, the Extensions view, recommendations and language packs.
- User extensions live in `<user data>/extensions` (`--extensions-dir` overrides it). Artur: the default user data dir is `~/.vsrustium` (product.json `dataFolderName`), so extensions go to `~/.vsrustium/extensions` and argv.json to `~/.vsrustium/argv.json`; nothing is shared with Code - OSS. Project settings live in both `.vscode/` and `.vsrustium/`, `.vsrustium/` winning (milestone 10).
- `exthost/src/extension_management.rs` keeps the upstream layout (extensionsScannerService.ts, extensionsProfileScannerService.ts): `extensions.json` profile entries with `relativeLocation` and metadata, `<publisher>.<name>-<version>` folders written to `.<hash>` first and renamed into place, `installedTimestamp` and `size` in `__metadata`, `.obsolete` for folders to delete at the next start, `.vsctmp` renames before a delete. A profile file that does not exist is filled from the folder (`doInitializeDefaultProfileExtensions`). A user extension replaces the built-in with its id unless the built-in is newer (`dedupExtensions`).
@@ -741,12 +692,7 @@ Scope (roadmap section 18): extension management on disk with VSIX install and u
- ExtensionsWatcher (extensionsWatcher.ts, `onDidChangeExtensionsByAnotherSource`): the workbench watches the folder of the profile's `extensions.json` (a profile switch moves the watch) and reads it again 100 ms after its last change; enabled user extensions the host does not run start, running user extensions no longer installed stop, both as one `Job::Delta`. What this window installs already runs when its change arrives, so it makes no delta. A read that fails (a half-written file) makes no delta. main.rs creates the extensions folder at startup as main.ts `initServices` does, so the watch has a folder from the first run. extensions-check runs the release binary as the CLI against the running window's user data dir.
- `port/tools/extensions-check` needs a fresh `out-exthost`: `port/tools/build-exthost` first (a stale bundle fails the ESM check with "Cannot find package 'vscode'").
-Handoff (branch `port-m18b-gallery`, after `docs(port): record milestone 18 extensions view and localization`):
-1. Trusted publishers (workbench/services/extensionManagement, still `ported`): extensionManagementService.ts `checkForTrustedPublishers` asks "Do you trust the publisher "X"?" (Learn More, Cancel, Trust Publisher & Install, publisher domain line, other publishers of the pack and dependencies) before a gallery install from a publisher not in `extensions.trustedPublishers` (application storage) or product.json `trustedExtensionPublishers`; extensions installed before startup are trusted on first run, and `workbench.extensions.action.manageTrustedPublishers` lists and removes them. The reference shows it in `port/fixtures/extensions/ui-display-language.json` step `dialog`. Then move workbench/services/extensionManagement to verified.
-2. mainthread/MainThreadLocalization is `ported`: `$fetchBuiltInBundleUri` and `$fetchBundleContents` are served (unit tests); an end-to-end check needs a built-in whose `vscode.l10n.t` text shows in the UI under `--locale de`.
-3. Workbench strings beyond the Command Palette, menu bar items, side bar titles and pane headers call `nls::localize` as each surface is touched.
-
-## Milestone 17: webviews and notebooks (in progress)
+## Milestone 17: webviews and notebooks
- Native child view (`webview.rs`): GPUI (Wu a3ced28) has no child-view API, so each webview is a `WKWebView` added as a subview of GPUI's content NSView (from `raw-window-handle`), framed from the editor body's canvas bounds every frame (`webview::place`, flipped coordinates handled). The view floats above GPUI's Metal layer: it is hidden while a quick input, the keybindings editor or a context menu is open (shortcut: Electron draws those over the iframe; GPUI cannot draw over a native view).
- Host page: upstream `webview/browser/pre/index.html` and its scripts, unchanged, at `https://<parentOriginHash>.vscode-webview.vscode-cdn.net/index.html` with the query webviewElement.ts builds (`platform=electron`, `vscode-resource-base-authority`, `parentOrigin=vscode-file://vscode-app`, `swVersion`). The host name hash is index.html's own check (`parentOriginHash`, SHA-256 base32 with the webview origin as salt).
@@ -795,9 +741,8 @@ Handoff (branch `port-m18b-gallery`, after `docs(port): record milestone 18 exte
- Session m17b (fourth pass): notebook find (`workbench/notebook_editor/find.rs`, notebookFindWidget.ts, findModel.ts): Cmd+F in the list or a cell editor (`actions.find` routes to it in a notebook editor), the widget at the list's top right under the toolbar, cell sources searched natively and rendered markdown and outputs by the preloads (`find`, `didFind`, `findHighlightCurrent`), the four filters as a checked menu, Enter and Shift+Enter, replace and replace all on sources (markup cells with matches open in edit mode while the replace input shows), research on each edit, decorations in the cell editors. The back layer webview draws over GPUI, so its clip view gets a CALayer mask with a hole where the widget lies, and presses there go to GPUI (`ClipView::place` `hole`). Checks: `cargo test -p app notebook_find`, ui-pair m17/notebook-find.json (typed, next, output: count, match highlights in a code cell and an output, webview current match as the reference). Not done: the widget's resize sash, Find in Selection (shown, inert), the `+` count past 1000 in the webview. Notebook view state (`NotebookEditorViewState` in `memento/workbench.editor.notebook`): focused cell, `editorFocused`, scroll, editing cells, each cell editor's view state, saved on close and shutdown, loaded for a new editor: `cargo test -p app a_reopened_notebook_editor_brings_back`. The focused cell's editor with the keyboard has the `notebook.focusedEditorBorder` border (ui-pair m17/notebook-cell-click.json). A markup cell's toolbar goes when its `...` menu opens (the hidden webview never sends `mouseLeaveMarkupCell`, now handled too): `cargo test -p app a_markdown_cell_toolbar_goes_with_its_more_menu`; ui-pair notebook-toolbars code-toolbar still shows it, because the press at (1000,160) lands in the markup preview and hovers it in the port, not in the reference (open). With a cell editor focused by a click the reference's cell toolbar shows only `...` and delete; the port shows all (open). REPL input status bar: the input's EOL only, then the list's indentation, EOL and `Cell N of M` (seen in the reference): `cargo test -p app a_notebook_shown_as_repl`. The cell toolbar's Share submenu holds github's Copy vscode.dev Link in a GitHub repository: `cargo test -p app the_github_share_items_fill_the_share_submenus`.
- Session m17d: the MRU kernel picker (`workbench/kernel_picker.rs`), `onRenderer:` activation, the outline's Filter Entries, `notebook.cellToolbarVisibility` click, the notebook and interactive status bar items, restored editors taking the focus, REPL scratchpad backups, dirty notebooks in the Explorer badge. The cell list's vertical scrollbar and `NotebookOverviewRuler` (`workbench/notebook_editor/overview_ruler.rs`): the list scrolls as a workbench list (`ListId::Notebook`, list_scroll.rs: wheel sensitivity, smooth scrolling, the fading 10px scrollbar, the top shadow), the back layer's `did-scroll-wheel` takes the same path, and the list scrolls until 50px of the last cell are left (`paddingBottom` of `editor.scrollBeyondLastLine`, not in interactive and REPL history lists). The webview clip leaves the list's right 10px to the scrollbar and ruler (the cells end 16px from it). The ruler draws find's decorations in the center lane as notebookOverviewRuler.ts: scaled by the editor height with the 26px toolbar over the scroll height, a line at most the editor line height in canvas pixels (half of it on a 2x display). An unfocused cell editor has a cover that takes the mouse: a press focuses the cell and places its cursor (`click_active_editor_at`, shared with the playground); its lines answered for the active editor before, and a hover past the focused cell's last line panicked. Checks: `cargo test -p app the_notebook_list_scrolls_beyond, the_mouse_over_a_longer_unfocused_cell, overview_ruler`; ui-pair m17/notebook-find.json (ruler marks at the reference's place), m17/notebook-scroll.json. Differences named, not copied: the cell title toolbar keeps stale actions until a menu context key changes (the reference shows only `...` and delete on a cell focused by keyboard or click); the reference's breadcrumbs show `…` for a code cell until its content changes; the webview hides under menus and quick input (native layer, see above); a restored notebook's status bar in the reference leaves out the cell editor's items (`Ln, Col`, `LF`) though the cell editor has the focus; Add Cell Output to Chat (AI removed). Unfocused cell editors show their hovers since (`the_mouse_over_an_unfocused_cell_shows_its_hover`). Hovering a markdown preview then Down moves the focused cell in both (ui-pair hover-down, the open question of m17c closed).
- Views audit (ui-pairs m17/notebook-open, notebook-keys-outline, notebook-output-toolbar, notebook-toolbars, notebook-cli at 8f138e76960, Studio /tmp/views-ipynb and /tmp/views-ipynb2): the "differences left" above now match: breadcrumbs (also `sample.ipynb > …` and the chain after keyboard moves), Run All `...`, output `...` and its menu, fold chevron, code and markup cell toolbars, title gear, focus bars over the outputs, `Spaces: 4`, the Outline filter action, and on the command line the JSON breadcrumbs `> …` and the `{ }` language status. Left: the reference shows only `...` and delete on the markup cell right after opening (its stale toolbar, named above, not copied); the Output menu leaves out Add Cell Output to Chat (AI removed); in one of two runs a click on the markdown preview then Down kept Cell 1 focused (ledger row extension/ipynb). The reference showed git's "A git repository was found in the parent folders" prompt within 6 s of notebook-cli, the port did not (fixture inside this repository; not notebook code).
-- Handoff (notebooks), what is left: the restored focus above, notebook find, an interactive window restart pair, (4) welcomeWalkthrough (Editor Playground) on the stacked editors: done in port-m19-walkthrough (Editor Playground above).
-## Milestone 14: source control and diff (done)
+## Milestone 14: source control and diff
- Diff algorithm: `native/crates/diff` ports editor/common/diff (Myers and DP line and char diffs, heuristics, moved lines, `DefaultLinesDiffComputer`). `cargo test -p diff` runs every fixture of `src/vs/editor/test/node/diffing/fixtures` against its `advanced.expected.diff.json` and verifyLinesDiff; `invalid-diff-bug` and `invalid-diff-trimws` stay Invalid with ignoreTrimWhitespace, as upstream.
- Diff editor (`diff_editor.rs`, `workbench/editor_view/diff_editor_view.rs`): a group entry with scheme `diff-editor` and a `DiffInput` side table (`EditorGroup.diffs`); the code editor edits the modified model, side by side the original side is its own `OpenEditor` drawn through the text area (`code_editor_area`), with its side's alignment zones and unchanged region placeholders as its own view zones, its removed line decorations and its scroll synced with the modified editor's. A press in it focuses it (`DiffInput.original_focused`), so `editors.active()` is the original editor and the cursor (blinking), selection, copy, find and the find widget act there (`getFocusedCodeEditor`), read-only as `originalEditable` false; a press in the modified text area takes the focus back, and diff navigation and the unchanged region bars keep acting on the modified editor (`active_diff_modified_mut`). Inline the original is the hand-drawn line number strip. Side by side and inline (`diffEditor.renderSideBySide`, the 900px `useInlineViewWhenSpaceIsLimited` breakpoint), alignment view zones (diagonal fill, inline deleted lines, zones above the first line: `ViewZone.anchor` `None`), inline original line numbers, gutter toolbar (`diff_gutter.rs`: Revert Block, extension `diffEditor/gutter/hunk` items such as git's Stage Block, the cursor's change shown, all on hover), title actions (previous/next change, swap sides, whitespace, collapse unchanged regions, extension `editor/title` navigation items), diff overview ruler, `MainThreadDocumentDiff.$computeDocumentDiff`, `_workbench.diff` (`vscode.diff`). The diff is computed synchronously on render when either model version or an option changes (upstream: debounced worker); shortcut: fine until a large file makes it slow, then move it to a background task.
@@ -831,12 +776,8 @@ Handoff (branch `port-m18b-gallery`, after `docs(port): record milestone 18 exte
- Checks: `FIXTURE=webview-view-tests`, `FIXTURE=media-preview-tests` and `FIXTURE=markdown-tests port/tools/webview-check`; `FIXTURE=webview-tests port/tools/webview-check` (7 upstream webview.test cases removed in c5f857f0cf0, incl. ArrayBuffer messages and `vscode:` links); `FIXTURE=custom-editor-tests port/tools/webview-check` (upstream customEditor.test.ts and its test extension, removed in bbe7b54cf4d; timeout 30 s, the reference's cold first check takes over 10 s); `cargo test -p app webview`; api-tests `MOCHA_GREP="vscode API - webview"` (625 local resources through the scheme handler, reply over postMessage) passes as in the reference.
- Screen reader detection (accessibility.rs `screen_reader_running`): Electron's `isAccessibilitySupportEnabled` on macOS, VoiceOver (NSWorkspace `voiceOverEnabled`) or an assistive app that set `AXManualAccessibility` or `AXEnhancedUserInterface` on the application (electron_application.mm; methods added to GPUI's `GPUIApplication` class at startup, a change redraws the windows). cua-driver sets one, so the reference and the port both show "Screen reader usage detected" under it with `editor.accessibilitySupport` auto; ui-pair keeps the setting `off` unless SETTINGS sets it. Reading the AccessKit tree alone no longer counts. Check: ui-pair `screen-reader-detection.json` with `SETTINGS='{"editor.accessibilitySupport":"auto"}'`.
- `custom-editor-tests` "timeouts": 8/8 in both apps (7 s and 22 s); the slow runs waited for the Studio GUI lock behind another session or rebuilt the release binary first. `gui-lock.sh` now prints who holds the lock once. Studio mirror: rsync keeps local mtimes, so a file edited before the mirror's last build but synced after it does not rebuild; `touch` a source in the run that needs the new binary.
-- Handoff (session m17c, second pass): checks and pairs in port/results/webviews.md. Still open:
- 1. Media preview: Copy image and mediaCodecs.ts.
- 2. The context menu's submenu rows are narrower than the reference's (about 100px on the editor type menu's Set Default row).
- 3. Notebooks (item 4 of the milestone): every notebook mainthread row is still the session.rs stub.
-## Milestone 19: product shell, privacy, accessibility, release (in progress)
+## Milestone 19: product shell, privacy, accessibility, release
Scope as in the M19 Work row of port/ledger.md.
@@ -875,10 +816,6 @@ Scope as in the M19 Work row of port/ledger.md.
- Product shell checks: port/tools/shell-check runs port/fixtures/extensions/shell-tests (the environmentPower and envIsConnectionMetered proposals) for the MainThreadPower and MainThreadMeteredConnection round trips and the product values the host sees; port/tools/shell-gui-check covers the update notification (updateUrl at a local server), the restart prompt (window.nativeTabs) and Help > Open Process Explorer. A prevent-display-sleep blocker shows in `pmset -g assertions` as NoDisplaySleepAssertion named Electron (the legacy type Chromium also creates).
- Timer service (`timer.rs`, timerService.ts `_computeStartupMetrics`): main.rs sets the upstream marks where the port has the phase (mainAppReady, Nls, CodeWindow, OpenNewWindow, InitStorage, InitWorkspaceService, LoadExtensions, RestoreEditors, CreateWorkbenchContributions, StartWorkbench); Developer: Startup Performance's Performance Marks table shows those phases with the upstream names, order and info, and leaves out the Electron-only ones (main bundle, crash reporter, main IPC, renderer bundle, window config, shared process).
- Signing (`port/tools/package-app`): with IDENTITY a Developer ID, codesign runs from a `.command` script opened in the GUI session with `--keychain ~/Library/Keychains/login.keychain-db` (the login keychain is locked over ssh); NOTARIZE=1 submits with the notarytool profile `vsrustium-notary` and staples. Artur runs once in a Studio GUI Terminal: `xcrun notarytool store-credentials vsrustium-notary --apple-id <apple-id> --team-id N529W98U62` (it asks for an app-specific password). Result on 2026-11-25: `IDENTITY="Developer ID Application: Artur Rok (N529W98U62)" port/tools/package-app` signed 8 Mach-Os, `codesign --verify --deep --strict` ok; `codesign -dv`: Authority Developer ID Application: Artur Rok (N529W98U62), Developer ID Certification Authority, Apple Root CA, a secure Timestamp, TeamIdentifier N529W98U62, flags runtime; port/tools/app-smoke on the signed app: exit 0 (host from the bundled bun); `spctl -a -vv`: accepted only because the Studio has assessments disabled (`override=security disabled`), `source=Unnotarized Developer ID`, so the spctl check waits for notarization.
-- Handoff (third milestone 19 session): done in it: the Welcome page, view welcome content, the process explorer, the timer service, the power/metered/product/update/relaunch checks (port/tools/shell-check, port/tools/shell-gui-check), Developer ID signing through the GUI session. Left, in order:
- 1. welcomeWalkthrough, Help > Editor Playground (done on the stacked editors, see Editor Playground): walkThroughPart.ts embeds one CodeEditorWidget per code block, and the port draws one code editor per group (`EditorGroup.viewport`, `editor_focus`, `active()` in about 100 places, IME through `EntityInputHandler for Workbench`). Smallest approach found: each block a host-visible `walkThroughSnippet` model drawn read-only like the diff editor's `original_pane` (`editor_view/diff_editor_view.rs`), and the clicked block becomes the one editable `text_area` (the active model and a block-high viewport); 1 to 2 days. N independent editors need `viewport` and focus per editor instance first (milestone 11's editor groups touch the same code).
- 2. platform/diagnostics: `--status` asks the running instance over the main process IPC (platform/launch, milestone 11); the other callers are the issue reporter (removed) and language detection's workspace file extensions (milestone 13).
- 3. Notarization: Artur stores the notarytool profile once (command above), then `IDENTITY="Developer ID Application: Artur Rok (N529W98U62)" NOTARIZE=1 port/tools/package-app`, port/tools/app-smoke, `spctl -a -vv`.
## Milestones 5 to 7: the remaining rows
@@ -918,10 +855,6 @@ Scope as in the M19 Work row of port/ledger.md.
- `UndoRedoGroup` (workbench/bulk_undo.rs, undo_redo.rs): `files::operations::new_undo_group` is `UndoRedoGroup._ID`; every bulk edit gets a group (an applyEdit's own, or the running one passed by file participants), its file undo (`FileUndo.group`) crosses from the host thread to the workbench as JSON (`pushFileUndo`) onto the `UndoRedoService` with source 0, so Explorer undo skips it as upstream's `undo(source)` does; text edits push their `SingleModelEditStackElement` or `MultiModelEditStackElement` with the group. Undo in an editor takes the closest element on its model's stack; an element with another of its group ready runs the group (last pushed first, redo first pushed first) without the split prompt; a file element of another source asks "Would you like to undo '{label}'?". Explorer undo continues into its group (the participants' text edits).
- One `UndoRedoService` (undo_redo.rs, shared as `editors.undo_redo`) holds every element as upstream: text edits (`editor/edit_stack.rs`, editStack.ts), file operations, notebook cell edits (`UndoElement::Cells`, `StackOperation`, joined to a workspace edit's group) and custom editor edits (`UndoElement::CustomEdit`, awaiting the extension's `$undo`/`$redo` on the host thread). Order is push order (`next_order`); `next_undo_stamp` and the editors' own stacks are gone. A released notebook or disposed custom document removes its elements. Tests: `cargo test -p app -- undo edit bulk notebook custom`.
- Quick Open file picks now show the reference's Open to the Side/Bottom action (`anythingQuickAccess.ts`, `forceOpenSideBySide`); pressing it activates the side group, opens the file there and closes the picker. History removal remains the second button. The minimap starts without cursor selections and draws them after cursor/edit changes (`minimap.ts` `_selections` starts empty). The overview ruler paints its background over right-side minimap highlights; editor split separators align to `splitview.css`; terminal cwd labels compare canonical paths for macOS `/tmp` symlinks. Tests: `cargo test -p app -- cursor_undo quick_open terminal::label editor_groups minimap` (33 passed).
-- Handoff, what is left of this session's list (branch `port-m20-sweep`), after the fourth sweep session:
- 1. welcomeWalkthrough (Editor Playground): was blocked on an embeddable code editor; built on the notebook's stacked editors (see Editor Playground). The playground page is markdown with about ten live, editable code editors scrolled with it (walkThroughPart.ts).
- 2. Milestone 8: textfile, workingCopy, undoRedo and editor/common are verified (above).
- 3. Done in the fifth sweep session: product icon themes, the trusted publisher dialog, codeEditor's editorSettingsMigration (the entries below); the parity run meets 318/28/0 (port/results/api-tests.md "The parity run"). The other contributions' configuration migrations followed in the sixth session (Configuration migration below).
- Diff editor Show Whitespace Differences ui-pair (port/fixtures/diff-whitespace/steps.json, Cmd+P a.txt, then Compare Active File With... b.txt, then a click on the button): same button and same whitespace diff after two fixes, the Show Leading/Trailing Whitespace Differences action drawn toggled (`actionBar.toggledBackground`) when `diffEditor.ignoreTrimWhitespace` is false, and the press on the button no longer reaching the editor under it (it moved the cursor to line 4). The breadcrumbs, paired again in the sixth session after the port-integrate merge brought the shared editor type picker (Studio, /tmp/dw/out, the strip under the tabs cropped from both `shown` shots): the same `b.txt` item with its file icon and the same "Text Diff Editor" picker with its chevron at the right; the two strips differ by 467 pixels of 63k at 10% fuzz, the label 1 device pixel left and the file icon 1 device pixel lower in the port (half a logical pixel: text and glyph rounding).
- The Studio mirror's `native/target` of this branch was deleted during the session (by someone else); a release build from scratch takes about 10 minutes.
- Configuration migration (workbench/common/configuration.ts `ConfigurationMigrationWorkbenchContribution`, workbench/configuration_migration.rs): runs at startup (upstream at `Eventually`) and after the window's folders change, over the user settings, the workspace settings and, in a multi-root workspace, each folder's settings, each value and each `[language]` block value; failed writes are skipped as `Promise.allSettled` does. Registered: every `registerConfigurationMigrations` of 1.147.0 outside removed features: migrateOptions.ts's editor items, diffEditorHelper.ts's, workbench.contribution.ts's layout keys (`includeApplication` is the user target in the port), accessibilityConfiguration.ts's (signal options, the legacy `audioCues.*` sound and `accessibility.alert.*` announcement keys), terminal bell, debug, extensions auto update, search, testing and the startup editor (cargo test -p app configuration_migration). Left out as removed features: chat, MCP, agent sessions, voice (`accessibility.voice.autoSynthesize` and the chat and voice signals), the integrated browser and the sessions window.
@@ -931,7 +864,7 @@ Scope as in the M19 Work row of port/ledger.md.
- "No custom document found" (extHostCustomEditors.ts `getCustomDocumentEntry`): thrown in the host by the fixture's `_cdoc.edit` firing `onDidChangeCustomDocument` for its `active` document when the host no longer has it, which happens when the command runs after Save As disposed the old document and before the renamed editor's `resolveCustomEditor` set `active`; upstream renames the same way (a new document, then a new resolve), so it is a race of the fixture's keystroke timing, not a port defect. No port path sends `$backup`, `$undo` or `$revert` for a document before `$createCustomDocument` answered (documents enter the list only then).
- The milestone 20 target is 318/28/0 (coordinator decision, Artur's rule that suites of removed features leave it): `vscode API - browser` (17/3) and `vscode API - browser CDP` (1/0), whose integrated browser was removed after the target was set, and `env.remoteName` (1/0), which asserts the removed `vscode.github-authentication`, leave the former 337/31/0 (port/results/api-tests-reference.md).
-## Milestone 16: debug and testing (in progress)
+## Milestone 16: debug and testing
- Debug adapters run in the extension host (`ExtHostDebugService`), as on desktop: inline, executable and server adapters all reach `workbench/debug_service.rs` as `$acceptDAMessage`; the workbench speaks DAP through `$sendDAMessage`. Model and storage: `debug.rs` (breakpoints, function, data and exception breakpoints, watch expressions, `debug.*` storage keys as debugStorage.ts); session state: `debug/session.rs`; launch.json and debuggers: `debug/configuration.rs`; UI: `workbench/debug_view.rs` (Run and Debug view), `debug_console.rs`, `debug_toolbar.rs`, `breakpoint_widget.rs` (glyph margin, stack frame lines, condition/hit count/log message widget), `debug_commands.rs`.
- The Debug Console (`workbench.panel.repl`, order 2) and Test Results (`workbench.panel.testResults`, order 3, its tab only while results exist as `hideIfEmpty` with `testing.hasAnyResults`) are panel views since the milestone 11 merge; a session start opens the console without focus. Launch configurations resolve their variables through the shared workbench/configuration_resolver.rs (cargo test -p app a_launch_configuration_resolves_its_command_variables_through_the_shared_resolver). Open gaps are in the workbench/contrib/debug row of port/ledger.md.
@@ -945,7 +878,7 @@ Scope as in the M19 Work row of port/ledger.md.
- Extension host debugging (`extensionHost` launch type; rawDebugSession.ts `launchVsCode`, localProcessExtensionHost.ts `attachSession`, debugService.ts `onAttachSession`): js-debug's `launchVSCode` opens the Extension Development Host window (or reloads the one on the same extension path) with `--debugId`, `--inspect-brk-extensions` and `--extensionEnvironment`; the host it starts has the session attach to the inspector port on a new adapter. Decision: a host with an inspector port runs on Node, since Bun has no V8 inspector; a host without one stays on Bun, and there is no 5870 default port (environmentService.ts gives one to a build from source, which would put every checkout run on Node). The window closes with its current host's exit and at the end of a 'Run Without Debugging' session; a restart reloads it. Check: `cargo test -p app workbench::host::`, ui-pair `debug/extension-host.json` with `FOLDER=port/fixtures/debug-extension` (stops at the breakpoint in `activate`).
- Checks: `cargo test -p app debug` and `cargo test -p app testing::`; api-tests `MOCHA_GREP="vscode API - debug"`; `port/fixtures/debug-node` (app.js with launch.json, math.test.js) with `port/fixtures/extensions/tests-provider` through `port/tools/ui-pair`.
-## Milestone 11 windows: dialogs, lifecycle, hot exit, windows, title bar (in progress)
+## Milestone 11 windows: dialogs, lifecycle, hot exit, windows, title bar
- File dialogs (`file_dialog.rs`; dialogMainService.ts and Electron's file_dialog_mac.mm): NSOpenPanel and NSSavePanel as sheets on the focused window (a panel of their own without one), title, button label without `&&`, the default path (a folder opens in it, a file in its parent with its name filled in; a missing default path is dropped for open dialogs), `createDirectory`, `treatPackageAsDirectory` for the pick commands, filters (the first applies, `*` or no extension allows all, more than one adds Electron's "Format:" pop-up), NFC paths, `acquireFileDialogLock` (the same dialog twice on a window answers nothing). `workbench/file_dialogs.rs` (abstractFileDialogService.ts, fileDialogService.ts): `defaultFilePath`, `defaultFolderPath` (the parent of the workspace root), `defaultWorkspacePath`, `preferredHome` (`files.dialog.defaultPath` when absolute and existing), Open, Open File, Open Folder, Open Workspace from File (`WORKSPACE_FILTER`), Save As with the language filters of `getPickFileToSaveDialogOptions` (All Files, the matching language, the others, No Extension) adding the pick to recently opened, New File... ("Create File"), Install from VSIX ("VSIX Extensions"), search editor Save As; `$showOpenDialog` and `$showSaveDialog` (mainThreadDialogs.ts). Not ported: the simple file dialog of `files.simpleDialog.enable`. Tests: `cargo test -p app file_dialog`.
- Dialog service (`workbench/dialogs.rs`, `dialog.rs`): `window.dialogStyle: custom` shows every message box as the custom dialog (dialog_view.rs, with the severity's codicon and a plain detail), else the NSAlert sheet. About (`workbench.action.showAboutDialog`, the first item of the app menu): the product name with `Version`, `Commit`, `Date` and `OS` (Darwin, arm64, uname release), Copy and OK. Product decision: no Electron, ElectronBuildId, Chromium, Node.js, V8 or `@github/copilot` lines. Tests: `cargo test -p app dialogs`.
diff --git a/port/results/api-tests.md b/port/results/api-tests.md
index 57047364d77..399bdac8527 100644
--- a/port/results/api-tests.md
+++ b/port/results/api-tests.md
@@ -280,7 +280,7 @@ Again when milestone 15's last unit gap closed, on the Studio at 5cc8dd203c7 wit
## M12 verification
-`MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" SUITE_TIMEOUT=900 port/tools/api-tests` on the Studio at 44a309311e1 (port-m12b-verify): api-folder 132 passing, 3 pending, 4 failing, 263 not reached (exit 1 after 212s); api-workspace 4/0/0 as the reference. Every test of `vscode API - workspace`, `workspace-fs`, `workspace events`, `workspace-watcher`, `file system` and `types` passes. Failing: `env.remoteName` (expects the removed github-authentication, as before) and 3 `vscode API - tasks` tests that time out after 60 s in this combined run ("main-thread startup survives provider disposal before the extension host observes the start", "provider disposal before execution preserves an extension-held task", "task should start and shutdown successfully"; milestone 15's, roadmap section 12 leaves workspace.tasks out). The 3 pending are upstream `test.skip`.
+`MOCHA_GREP="vscode API - (workspace|file system|env|types|tasks)" SUITE_TIMEOUT=900 port/tools/api-tests` on the Studio at 44a309311e1 (port-m12b-verify): api-folder 132 passing, 3 pending, 4 failing, 263 not reached (exit 1 after 212s); api-workspace 4/0/0 as the reference. Every test of `vscode API - workspace`, `workspace-fs`, `workspace events`, `workspace-watcher`, `file system` and `types` passes. Failing: `env.remoteName` (expects the removed github-authentication, as before) and 3 `vscode API - tasks` tests that time out after 60 s in this combined run ("main-thread startup survives provider disposal before the extension host observes the start", "provider disposal before execution preserves an extension-held task", "task should start and shutdown successfully"; milestone 15's, milestone 12 leaves workspace.tasks out). The 3 pending are upstream `test.skip`.
## Milestone 17: notebooks, model and extension host side
diff --git a/port/tools/a11y-check b/port/tools/a11y-check
index a43d7373ef0..f63414a36bd 100755
--- a/port/tools/a11y-check
+++ b/port/tools/a11y-check
@@ -1,5 +1,5 @@
#!/usr/bin/env bun
-// What VoiceOver reads (roadmap section 19): opens the port, or the reference with REF_APP=1, on a copy of
+// What VoiceOver reads (milestone 19): opens the port, or the reference with REF_APP=1, on a copy of
// port/fixtures/workspace with notes.txt, then dumps the window's accessibility tree through cua-driver (the AX API
// VoiceOver uses) after each step: the editor focused, two lines down, the Explorer focused, and Accessibility Help
// (Alt+F1). For the port it exits 1 when the Explorer tree, its rows, the editor text area or the help's text are missing. Run on the Studio:
diff --git a/port/tools/ledger-check.ts b/port/tools/ledger-check.ts
index b05c2b79191..0446c6ff7d2 100644
--- a/port/tools/ledger-check.ts
+++ b/port/tools/ledger-check.ts
@@ -11,6 +11,7 @@ const workStatuses = ['open', 'in progress', 'waiting on Artur', 'later', 'done'
const unitStatuses = ['todo', 'stub', 'ported', 'verified', 'removed', 'n/a'];
const gapClasses = ['1', '2', '3', 'scheduling', 'linux'];
const unfinished = (status: string) => ['ported', 'todo', 'stub'].includes(status);
+const maxEvidence = 2000;
const errors: string[] = [];
const milestones = new Map<string, string>();
@@ -27,13 +28,17 @@ for (const line of rowsOf(head.split('\n## Work')[1])) {
// Evidence may hold `|` (MOCHA_GREP alternations), so the row ends at the last cell.
const unitsOf = new Map<string, string[]>();
for (const line of rowsOf(unitsTable)) {
- const match = line.match(/^\| (\S+) \| [^|]+ \| (M\d+)? ?\| (\S+) \| ([^|]*?) ?\| .* \|$/);
+ const match = line.match(/^\| (\S+) \| [^|]+ \| (M\d+)? ?\| (\S+) \| ([^|]*?) ?\| (.*) \|$/);
if (!match) {
errors.push(`unit row does not parse: ${line.slice(0, 80)}`);
continue;
}
- const [, id, milestone, status, gapCell] = match;
+ const [, id, milestone, status, gapCell, evidence] = match;
const gaps = gapCell ? gapCell.split(' <br> ') : [];
+ // Evidence names the checks; the story behind them goes to port/notes.md.
+ if (evidence.length > maxEvidence) {
+ errors.push(`\`${id}\`: evidence is ${evidence.length} chars, over ${maxEvidence}`);
+ }
if (!unitStatuses.includes(status)) {
errors.push(`\`${id}\`: unknown status "${status}"`);
}
diff --git a/port/tools/network-capture b/port/tools/network-capture
index d8040042f1c..48d82fb0bac 100755
--- a/port/tools/network-capture
+++ b/port/tools/network-capture
@@ -1,5 +1,5 @@
#!/bin/bash
-# Network capture (roadmap section 19): runs vsrustium on a copy of port/fixtures/workspace with a fresh user data
+# Network capture (milestone 19): runs vsrustium on a copy of port/fixtures/workspace with a fresh user data
# dir and no user action for DURATION seconds (default 600) and lists every process of its tree that sent or got
# bytes over a non-loopback interface (nettop, 1 s samples; the tree sampled 5 times a second). Run on the Studio after a release build:
# port/tools/studio 'port/tools/network-capture' env DURATION=<s>, ARGS="<more vsrustium arguments>",
diff --git a/port/tools/package-app b/port/tools/package-app
index c55d764878d..46c03159e9e 100755
--- a/port/tools/package-app
+++ b/port/tools/package-app
@@ -1,5 +1,5 @@
#!/usr/bin/env bun
-// Packages VSRustium.app (roadmap section 19): the release binary and bun in Contents/MacOS; product.json and the
+// Packages VSRustium.app (milestone 19): the release binary and bun in Contents/MacOS; product.json and the
// app files (port/tools/app-files.ts) in Contents/Resources/app;
// Info.plist with the reference's document types and the vsrustium URL protocol; then codesign with the hardened
// runtime and `spctl -a`. Run on the Studio after a release build and port/tools/build-exthost:
diff --git a/port/tools/shell-gui-check b/port/tools/shell-gui-check
index 12d34316831..382ca0a4ece 100755
--- a/port/tools/shell-gui-check
+++ b/port/tools/shell-gui-check
@@ -1,5 +1,5 @@
#!/usr/bin/env bun
-// Product shell checks that need the window (roadmap section 19), run on the Studio after a release build:
+// Product shell checks that need the window (milestone 19), run on the Studio after a release build:
// - relaunch: changing `window.nativeTabs` in settings.json must ask to restart; Restart must start the app again
// with the same arguments and quit this one.
// port/tools/studio 'port/tools/shell-gui-check'
diff --git a/port/tools/studio b/port/tools/studio
index ee6e90f43d5..dc4435d694e 100755
--- a/port/tools/studio
+++ b/port/tools/studio
@@ -29,7 +29,7 @@ stale=$(mktemp)
trap 'rm -f "$stale" "$sync_lock"' EXIT
# A mirror without alternates still has the full .git of the old rsync copy: replace it with a light one.
# A mixed reset moves only the index, so file mtimes and the cargo build stay as they are.
-# A mirror of a tree without src/ (split, roadmap milestone 22) reads upstream from the Studio's 1.147.0 reference: upstream -> ~/Developer/vscode-ref.
+# A mirror of a tree without src/ (split, milestone 22) reads upstream from the Studio's 1.147.0 reference: upstream -> ~/Developer/vscode-ref.
ssh studio "cd ~/$work/$name && bash -c 'test -f .git/objects/info/alternates || { rm -rf .git && git init -q && echo ~/$work/git.git/objects > .git/objects/info/alternates; }; git reset -q $head && git clean -fdq && { git cat-file -e HEAD:src 2>/dev/null || test -e upstream || ln -s ~/Developer/vscode-ref upstream; } && git ls-files -m -z'" > "$stale"
# Diff against HEAD, not the index: staged changes (a merge being resolved) must travel too.
# openrsync has no --ignore-missing-args: leave out files deleted here.
diff --git a/port/tools/telemetry-source-check b/port/tools/telemetry-source-check
index bb7c3092145..4e8a5e25825 100755
--- a/port/tools/telemetry-source-check
+++ b/port/tools/telemetry-source-check
@@ -1,5 +1,5 @@
#!/usr/bin/env bun
-// Telemetry source search (roadmap section 19): no telemetry or experimentation endpoint string in what a VSRustium
+// Telemetry source search (milestone 19): no telemetry or experimentation endpoint string in what a VSRustium
// build loads: the release binary, the extension host bundle, and the built-in extensions with the packages they
// resolve (port/tools/shipped-files.ts). Run on the Studio after a release build and port/tools/build-exthost:
// port/tools/studio 'port/tools/telemetry-source-check' (env VSCODE_GPUI_EXTENSIONS, default the reference's extensions)
diff --git a/port/tools/vscode-src.sh b/port/tools/vscode-src.sh
index a438d53c113..551859a56b4 100644
--- a/port/tools/vscode-src.sh
+++ b/port/tools/vscode-src.sh
@@ -1,4 +1,4 @@
-# Sourced by the tools: exports VSCODE_SRC, the VS Code tree the port reads (roadmap milestone 22), resolved as
+# Sourced by the tools: exports VSCODE_SRC, the VS Code tree the port reads (milestone 22), resolved as
# native/vscode_src.rs does: $VSCODE_SRC (relative to the repo root), else upstream/.
VSCODE_SRC=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && cd "${VSCODE_SRC:-upstream}" && pwd)
export VSCODE_SRC
diff --git a/port/tools/vscode-src.ts b/port/tools/vscode-src.ts
index 239e0c37e45..1c891cc859f 100644
--- a/port/tools/vscode-src.ts
+++ b/port/tools/vscode-src.ts
@@ -1,4 +1,4 @@
-// The VS Code tree the port reads (roadmap milestone 22), resolved as native/vscode_src.rs does: $VSCODE_SRC (relative
+// The VS Code tree the port reads (milestone 22), resolved as native/vscode_src.rs does: $VSCODE_SRC (relative
// to the repo root), else upstream/.
import { join, resolve } from 'node:path';