Skip to content

Visual Studio Code, rebuilt in Rust

Rust

fix(workbench): draw scrollbars on the panel trees and lists

rokartur1d8517b84837
diff --git a/native/crates/app/src/workbench/comments_view.rs b/native/crates/app/src/workbench/comments_view.rs
index 733fe285009..8db917a20c5 100644
--- a/native/crates/app/src/workbench/comments_view.rs
+++ b/native/crates/app/src/workbench/comments_view.rs
@@ -410,9 +410,6 @@ impl Workbench {
.debug_selector(|| "comments-tree".into())
.track_focus(&self.comments.view.tree_focus)
.on_key_down(cx.listener(|workbench, event: &KeyDownEvent, window, cx| workbench.comments_tree_key_down(event, window, cx)))
- .flex_1()
- .min_h_0()
- .overflow_y_scroll()
.flex()
.flex_col()
.text_size(px(13.));
@@ -422,7 +419,7 @@ impl Workbench {
false => "There are no comments in this workspace yet.",
};
let message = div().pl(px(20.)).line_height(px(22.)).child(message);
- return div().flex_1().min_h_0().flex().flex_col().child(list.child(message));
+ return div().flex_1().min_h_0().flex().flex_col().child(self.scrollable("comments-tree", None, list.child(message), cx).flex_1());
}
let selected = self.comments.view.selected.as_ref();
let mut rows = Vec::new();
@@ -441,7 +438,7 @@ impl Workbench {
let guides = self.tree_guides_in_group(group.clone(), depths, &active);
let inset = self.pane_row_inset();
let rows = rows.into_iter().enumerate().map(|(index, (row, _, _))| div().relative().flex_none().child(row).children(guides.row(index, inset)));
- div().flex_1().min_h_0().flex().flex_col().child(list.group(group).children(rows))
+ div().flex_1().min_h_0().flex().flex_col().child(self.scrollable("comments-tree", None, list.group(group).children(rows), cx).flex_1())
}
/// listWidget.ts `style`: the selected row's background and, in the focused tree, the focused row's outline
diff --git a/native/crates/app/src/workbench/debug_console.rs b/native/crates/app/src/workbench/debug_console.rs
index 4ba4ad76ea4..3e64e6e7f71 100644
--- a/native/crates/app/src/workbench/debug_console.rs
+++ b/native/crates/app/src/workbench/debug_console.rs
@@ -446,7 +446,7 @@ impl Workbench {
let font_size = 12.;
let line_height = (font_size * 1.4_f32).round();
let padding = if self.debug_console.find.open { FIND_PADDING } else { 0. };
- let mut rows = div().id("repl-tree").debug_selector(|| "repl-tree".into()).size_full().overflow_y_scroll().px(px(10.)).pt(px(4. + padding)).pb(px(4.)).flex().flex_col();
+ let mut rows = div().id("repl-tree").debug_selector(|| "repl-tree".into()).px(px(10.)).pt(px(4. + padding)).pb(px(4.)).flex().flex_col();
let shown = self.shown_repl_session();
let mut shown_elements = Vec::new();
for (index, element) in self.debug.repl.iter().enumerate() {
@@ -458,7 +458,7 @@ impl Workbench {
rows = rows.child(self.repl_element(index, element, line_height, cx));
}
}
- let tree = div().relative().flex_1().min_h_0().child(rows).children(self.repl_find_widget(&shown_elements, window, cx));
+ let tree = div().relative().flex_1().min_h_0().child(self.scrollable("repl-tree", None, rows, cx).size_full()).children(self.repl_find_widget(&shown_elements, window, cx));
let focused = self.debug_console.input_focus.is_focused(window);
let prompt_color = self.color("debugConsoleInputIcon.foreground");
let input = div()
diff --git a/native/crates/app/src/workbench/list_scroll/tests.rs b/native/crates/app/src/workbench/list_scroll/tests.rs
index 3f7077ef6a2..26fae968e55 100644
--- a/native/crates/app/src/workbench/list_scroll/tests.rs
+++ b/native/crates/app/src/workbench/list_scroll/tests.rs
@@ -166,3 +166,42 @@ fn the_explorer_paints_only_the_rows_in_view(cx: &mut TestAppContext) {
assert!(painted(150, cx) && !painted(1, cx));
std::fs::remove_dir_all(dir).unwrap();
}
+
+/// markersView.ts puts the Problems tree in a ScrollableElement: the wheel scrolls it and the pointer over it
+/// shows its scrollbar (`Workbench::scrollable`).
+#[gpui::test]
+fn the_problems_tree_scrolls_with_a_scrollbar(cx: &mut TestAppContext) {
+ let (dir, workbench, cx) = explorer("problems", cx);
+ let problems = ListId::Scrollable("problems-tree");
+ workbench.update_in(cx, |workbench, window, cx| {
+ let markers: Vec<_> = (1..=100).map(|line| json!({ "severity": 8, "message": "bad", "startLineNumber": line, "startColumn": 1, "endLineNumber": line, "endColumn": 2 })).collect();
+ workbench.diagnostics.service.change_one("test", "file:///w/a.ts", &markers, false);
+ drop(workbench.execute_command("workbench.panel.markers.view.focus", Vec::new(), window, cx));
+ });
+ cx.run_until_parked();
+ let bounds = workbench.read_with(cx, |workbench, _| workbench.list_scroller(problems).bounds());
+ cx.simulate_mouse_move(bounds.center(), None, Modifiers::none());
+ assert_eq!(workbench.read_with(cx, |workbench, _| workbench.list_hover(problems).map(|(over, _)| over)), Some(true));
+ cx.simulate_event(ScrollWheelEvent { position: bounds.center(), delta: ScrollDelta::Lines(point(0., -1.)), ..Default::default() });
+ cx.run_until_parked();
+ assert_eq!(workbench.read_with(cx, |workbench, _| workbench.list_scroller(problems).position().y), 50.);
+ std::fs::remove_dir_all(dir).unwrap();
+}
+
+/// Each panel whose upstream body sits in a ScrollableElement draws it through `Workbench::scrollable`.
+#[gpui::test]
+fn the_panels_draw_their_bodies_in_a_scrollable(cx: &mut TestAppContext) {
+ let (dir, workbench, cx) = explorer("panels", cx);
+ let views = [
+ ("workbench.panel.markers.view.focus", "problems-tree"),
+ ("workbench.debug.action.toggleRepl", "repl-tree"),
+ ("workbench.view.testing", "testing-tree"),
+ ("notifications.showList", "notifications-center-list"),
+ ];
+ for (command, id) in views {
+ run(&workbench, command, cx);
+ let drawn = workbench.read_with(cx, |workbench, _| workbench.list_scrolls.handles.borrow().contains_key(id));
+ assert!(drawn, "{command} draws {id} in a scrollable");
+ }
+ std::fs::remove_dir_all(dir).unwrap();
+}
diff --git a/native/crates/app/src/workbench/notifications_view.rs b/native/crates/app/src/workbench/notifications_view.rs
index 879655e07f3..7715a5794f3 100644
--- a/native/crates/app/src/workbench/notifications_view.rs
+++ b/native/crates/app/src/workbench/notifications_view.rs
@@ -592,7 +592,7 @@ impl Workbench {
.aria_label("Notifications List")
.track_focus(&self.notifications.focus)
.child(header)
- .child(div().id("notifications-center-list").h(px(list_height)).overflow_y_scroll().children(rows))
+ .child(self.scrollable("notifications-center-list", None, div().id("notifications-center-list").children(rows), cx).h(px(list_height)))
}
/// `NotificationsListDelegate.getHeight`: a row, plus the message's extra lines and the details row when expanded.
diff --git a/native/crates/app/src/workbench/problems_table.rs b/native/crates/app/src/workbench/problems_table.rs
index d58bbd8f26d..dcd08ddbd6b 100644
--- a/native/crates/app/src/workbench/problems_table.rs
+++ b/native/crates/app/src/workbench/problems_table.rs
@@ -130,7 +130,7 @@ impl Workbench {
}))
.child(bounds_tracker(self.problems.table_view.bounds.clone()))
.child(header)
- .child(list.children(rows))
+ .child(self.scrollable("problems-tree", None, list.children(rows), cx).flex_1())
.children(sashes)
.when(self.problems.table_view.columns.dragged_sash().is_some(), |table| table.child(self.problems_column_sash_drag(cx)))
}
diff --git a/native/crates/app/src/workbench/problems_view.rs b/native/crates/app/src/workbench/problems_view.rs
index 26b4b6a3d3e..874c69e9f90 100644
--- a/native/crates/app/src/workbench/problems_view.rs
+++ b/native/crates/app/src/workbench/problems_view.rs
@@ -760,7 +760,7 @@ impl Workbench {
.id("problems-tree")
.track_focus(&self.problems_focus)
.on_key_down(cx.listener(|workbench, event: &KeyDownEvent, window, cx| workbench.problems_tree_key_down(event, window, cx)))
- .flex_1().min_h_0().overflow_y_scroll().flex().flex_col().text_size(px(13.));
+ .flex().flex_col().text_size(px(13.));
let total = self.diagnostics.service.read(ReadOptions::default()).len();
let table = self.problems_table_mode().then(|| self.problems_table_items(&resources));
let filtered = match &table {
@@ -768,7 +768,8 @@ impl Workbench {
None => shown.iter().map(|resource| resource.markers.len()).sum(),
};
if filtered == 0 {
- return div().flex_1().min_h_0().flex().flex_col().child(list.child(self.problems_message(total, &resources, cx)));
+ let list = list.child(self.problems_message(total, &resources, cx));
+ return div().flex_1().min_h_0().flex().flex_col().child(self.scrollable("problems-tree", None, list, cx).flex_1());
}
if let Some(items) = table {
return div().flex_1().min_h_0().flex().flex_col().child(self.problems_table(&items, list, cx));
@@ -802,7 +803,7 @@ impl Workbench {
let guides = self.tree_guides_in_group(group.clone(), depths, &active);
// `.monaco-tl-row` starts at the rows' 4px margin, its guides 16px further (TreeGuides adds 3px to the inset).
let rows = rows.into_iter().enumerate().map(|(index, (row, _, _))| div().relative().flex_none().child(row).children(guides.row(index, 4.)));
- div().flex_1().min_h_0().flex().flex_col().child(list.group(group).children(rows))
+ div().flex_1().min_h_0().flex().flex_col().child(self.scrollable("problems-tree", None, list.group(group).children(rows), cx).flex_1())
}
/// `renderMessage`: no problems at all, none in the active file, or none the filters let through with a Clear
diff --git a/native/crates/app/src/workbench/scm_graph_view.rs b/native/crates/app/src/workbench/scm_graph_view.rs
index 44f25cbd0a4..7afaaa349d5 100644
--- a/native/crates/app/src/workbench/scm_graph_view.rs
+++ b/native/crates/app/src/workbench/scm_graph_view.rs
@@ -331,7 +331,7 @@ impl Workbench {
if let Some(last) = graph.view_models.last().filter(|_| has_more(&graph.view_models)) {
rows.push(self.scm_graph_load_more_row(handle, last, cx).into_any_element());
}
- let body = div().id("scm-graph-list").flex_1().min_h_0().overflow_y_scroll().track_scroll(&graph.scroll).children(rows).into_any_element();
+ let body = self.scrollable("scm-graph-list", Some(&graph.scroll), div().id("scm-graph-list").children(rows), cx).flex_1().into_any_element();
// scmHistoryViewPane.ts `ViewPaneShowActions.WhenExpanded`: the actions show while the pane is expanded.
ViewPane { id: SCM_HISTORY_VIEW, title: "Graph".into(), description: None, actions: Some(self.scm_graph_title_actions(provider, window, cx).into_any_element()), draws_more: true, show_actions: true, body }
}
diff --git a/native/crates/app/src/workbench/scm_repositories_view.rs b/native/crates/app/src/workbench/scm_repositories_view.rs
index fb42bd0e597..3c5bbaa6e65 100644
--- a/native/crates/app/src/workbench/scm_repositories_view.rs
+++ b/native/crates/app/src/workbench/scm_repositories_view.rs
@@ -264,7 +264,8 @@ impl Workbench {
// modernUI padding.css: the rows sit `pane_row_inset` in from the pane's edges, the guides from the row.
rows.push(div().relative().mx(px(inset)).child(row).children(guides.row(index, 0.)));
}
- let body = div().id("scm-repositories").debug_selector(|| "scm-repositories".into()).group(group).flex_1().min_h_0().overflow_y_scroll().track_scroll(&self.scm.repositories.scroll).track_focus(&self.scm.repositories.focus).children(rows).into_any_element();
+ let list = div().id("scm-repositories").debug_selector(|| "scm-repositories".into()).group(group).track_focus(&self.scm.repositories.focus).children(rows);
+ let body = self.scrollable("scm-repositories", Some(&self.scm.repositories.scroll), list, cx).flex_1().into_any_element();
ViewPane { id: SCM_REPOSITORIES_VIEW, title: "Repositories".into(), description: None, actions: Some(actions.into_any_element()), draws_more: true, show_actions: focused, body }
}
diff --git a/native/crates/app/src/workbench/scm_view.rs b/native/crates/app/src/workbench/scm_view.rs
index 7482bfc9b39..dc7346777de 100644
--- a/native/crates/app/src/workbench/scm_view.rs
+++ b/native/crates/app/src/workbench/scm_view.rs
@@ -678,7 +678,7 @@ impl Workbench {
let inset = self.pane_row_inset();
// modernUI padding.css: the rows sit `pane_row_inset` in from the pane's edges, the guides from the row.
let rows = rows.into_iter().enumerate().map(|(index, row)| div().relative().mx(px(inset)).child(row.element).children(guides.row(index, 0.)));
- div().id("scm-list").debug_selector(|| "scm-list".into()).group(group).flex_1().min_h_0().overflow_y_scroll().track_focus(&self.scm.list_focus).children(rows).into_any_element()
+ self.scrollable("scm-list", None, div().id("scm-list").debug_selector(|| "scm-list".into()).group(group).track_focus(&self.scm.list_focus).children(rows), cx).flex_1().into_any_element()
}
};
ViewPane { id: SCM_CHANGES_VIEW, title: "Changes".into(), description: None, actions: Some(actions.into_any_element()), draws_more: true, show_actions, body }
diff --git a/native/crates/app/src/workbench/testing_results.rs b/native/crates/app/src/workbench/testing_results.rs
index e8dce0340d1..c4c4b17bc37 100644
--- a/native/crates/app/src/workbench/testing_results.rs
+++ b/native/crates/app/src/workbench/testing_results.rs
@@ -927,11 +927,6 @@ impl Workbench {
.group("test-results-tree")
.track_focus(&focus)
.capture_any_mouse_down(move |_, window, cx| window.focus(&focus, cx))
- .flex_1()
- .min_w_0()
- .overflow_y_scroll()
- .border_l_1()
- .border_color(self.color("panelSection.border"))
.text_color(self.color("editor.foreground"))
.flex()
.flex_col();
@@ -939,7 +934,7 @@ impl Workbench {
let row = self.results_row(row, selected.contains(&index), tree_focused, window, cx);
tree = tree.child(div().relative().child(row).children(guides.row(index, inset)));
}
- tree
+ self.scrollable("test-results-tree", None, tree, cx).flex_1().border_l_1().border_color(self.color("panelSection.border"))
}
/// `TestRunElementRenderer.doRenderInner`: twistie, state icon, label with its description, and the primary
@@ -1059,7 +1054,7 @@ impl Workbench {
}
let viewport = crate::editor::Viewport { top_whitespace: 0., ..self.editors.viewport };
let content_height = |editor: &OpenEditor| editor.line_top(editor.view_line_count(), viewport);
- let mut list = div().id("test-results-call-stack").flex_1().min_w_0().overflow_y_scroll().flex().flex_col();
+ let mut list = div().id("test-results-call-stack").flex().flex_col();
for (index, row) in self.results_call_stack_rows().into_iter().enumerate() {
let collapsible = index == 0 || self.testing_view.call_stack[index - 1].source.is_some();
let collapsed = self.testing_view.call_stack_collapsed.contains(&index);
@@ -1079,7 +1074,7 @@ impl Workbench {
list = list.child(frame.child(self.embedded_code_editor(editor, window, cx)));
}
}
- list
+ self.scrollable("test-results-call-stack", None, list, cx).flex_1()
}
/// callStackWidget.ts `makeFrameElements` header: the collapse button (the title toggles too), the
@@ -1194,12 +1189,13 @@ impl Workbench {
let style = MarkdownStyle { font_size: 13., line_height: 15., foreground: self.color("foreground"), action_handler: None, code_foreground: None, code_background: None, selectable: true };
// testing.css `.preview-text`: 8px 12px 8px 20px of padding; paragraphs 1em apart, none at the ends.
let text = self.selectable_markdown_blocks("test-results-markdown", &blocks, style, cx).gap(px(13.)).pt(px(8.)).pr(px(12.)).pb(px(8.)).pl(px(20.));
- return div().id("test-results-output").flex_1().min_w_0().relative().overflow_y_scroll().px(px(self.pane_row_inset())).child(text).children(self.results_floating_button(window, cx));
+ let output = div().id("test-results-output").px(px(self.pane_row_inset())).child(text);
+ return self.scrollable("test-results-output", None, output, cx).flex_1().children(self.results_floating_button(window, cx));
}
- let content = div().id("test-results-output").flex_1().min_w_0().relative().overflow_y_scroll().p(px(8.)).font_family("Menlo").text_size(px(12.)).flex().flex_col();
+ let content = div().id("test-results-output").p(px(8.)).font_family("Menlo").text_size(px(12.)).flex().flex_col();
let text = self.testing_view.results_subject.as_ref().and_then(|subject| self.subject_text(subject));
let lines = super::debug_console::strip_ansi(&text.unwrap_or_default()).lines().map(|line| div().whitespace_nowrap().child(line.to_owned())).collect::<Vec<_>>();
- content.children(lines).children(self.results_floating_button(window, cx))
+ self.scrollable("test-results-output", None, content.children(lines), cx).flex_1().children(self.results_floating_button(window, cx))
}
pub(super) fn subject_text(&self, subject: &InspectSubject) -> Option<String> {
diff --git a/native/crates/app/src/workbench/testing_view.rs b/native/crates/app/src/workbench/testing_view.rs
index 356c4ab1cef..27318f6fab1 100644
--- a/native/crates/app/src/workbench/testing_view.rs
+++ b/native/crates/app/src/workbench/testing_view.rs
@@ -371,7 +371,7 @@ impl Workbench {
actions = actions.child(self.search_action("terminal", "testing.showMostRecentOutput", !self.testing.results.is_empty(), cx));
actions = actions.child(self.testing_more_actions(cx));
}
- let mut body = div().id("testing-tree").debug_selector(|| "testing-tree".into()).flex_1().min_h_0().overflow_y_scroll().track_scroll(&self.testing_view.scroll).track_focus(&self.testing_view.tree_focus).flex().flex_col();
+ let mut body = div().id("testing-tree").debug_selector(|| "testing-tree".into()).track_focus(&self.testing_view.tree_focus).flex().flex_col();
if !has_tests {
// testing.contribution.ts `registerViewWelcomeContent` of the Test Explorer.
body = body.child(div().px(px(20.)).py(px(13.)).text_size(px(13.)).child("No tests have been found in this workspace yet."));
@@ -387,7 +387,7 @@ impl Workbench {
}
let filter = has_tests.then(|| self.testing_filter_box(window, cx));
let summary = has_tests.then(|| self.result_summary()).flatten();
- let body = div().flex_1().min_h_0().flex().flex_col().children(filter).children(summary).child(body).into_any_element();
+ let body = div().flex_1().min_h_0().flex().flex_col().children(filter).children(summary).child(self.scrollable("testing-tree", Some(&self.testing_view.scroll), body, cx).flex_1()).into_any_element();
super::view_panes::ViewPane { id: TESTING_VIEW, title: "Test Explorer".into(), description: None, actions: has_tests.then(|| actions.into_any_element()), draws_more: has_tests, show_actions: false, body }
}
diff --git a/native/crates/app/src/workbench/timeline_view.rs b/native/crates/app/src/workbench/timeline_view.rs
index a72fd98d0ec..247f21ac595 100644
--- a/native/crates/app/src/workbench/timeline_view.rs
+++ b/native/crates/app/src/workbench/timeline_view.rs
@@ -691,11 +691,8 @@ impl Workbench {
.id("timeline-tree")
.track_focus(&self.timeline.focus)
.on_key_down(cx.listener(Self::timeline_key_down))
- .flex_1()
- .min_h_0()
- .overflow_y_scroll()
- .track_scroll(&self.timeline.scroll)
.children(rows);
+ let tree = self.scrollable("timeline-tree", Some(&self.timeline.scroll), tree, cx).flex_1();
let body = div().relative().size_full().flex().flex_col().children(message).child(tree).children(self.high_contrast_list_outline(tree_focused, self.timeline.focused.is_some()));
super::view_panes::ViewPane {
id: TIMELINE_VIEW_ID,
diff --git a/port/ledger.md b/port/ledger.md
index 1891b920f22..f5189433060 100644
--- a/port/ledger.md
+++ b/port/ledger.md
@@ -451,7 +451,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| 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 | verified | | 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 use_modal_all_opens_editors_in_the_modal_part use_modal_all_reveals_an_opened_editor_in_its_group_unless_an_index_is_given 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 a_custom_editor_on_a_debug_memory_resource_has_breadcrumbs; ui-pair m8/breadcrumbs-pickers.json, debug/memory.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/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); scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable |
| 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 |
@@ -569,9 +569,9 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| 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 | | 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 | verified | | 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); cargo test -p app reactions_are_action_items_4px_apart |
+| workbench/contrib/comments | workbench contribution | M13 | verified | | 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); cargo test -p app reactions_are_action_items_4px_apart; scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable (comments_view.rs draws comments-tree through Workbench::scrollable) |
| 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; custom editor diffs: cargo test -p app reopen_as_text_turns_an_inline_custom_diff_into_the_text_diff the_modal_header_of_a_custom_diff_offers_reopen_as_text; `FIXTURE=markdown-tests port/tools/webview-check` 8/8 (side by side, inline, reopenTextEditor); ui-pair port/fixtures/custom-editor-diff/steps.json with FILE=README.md and the `*.md` association to `vscode.markdown.preview.editor` |
-| workbench/contrib/debug | workbench contribution | M16 | verified | | 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 the_find_widget_filters_the_console a_variable_row_draws_its_scopes_indent_guide a_top_frame_past_column_1_injects_the_column_arrow the_call_stack_selects_the_focused_frame_only_after_a_focus_change_it_saw a_visualized_child_shows_its_tree_in_the_hover a_watch_expressions_visualized_child_draws_its_tree a_dynamic_selection_keeps_its_type_for_f5 inline_breakpoints debug_memory; ui-pair debug/memory.json (setup in port/notes.md, View Binary Data), port/fixtures/debug-node (breakpoint, F5, views, REPL, toolbar, `greeting` and `numbers` hovers), menus/view-container-title.json, debug/hover-find.json, debug/unverified-breakpoints.json, debug/call-stack-menu.json, debug/toolbar.json, debug/variables-menu.json, debug/lazy-variable.json, debug/quick-access.json; shortcuts in port/notes.md |
+| workbench/contrib/debug | workbench contribution | M16 | verified | | 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 the_find_widget_filters_the_console a_variable_row_draws_its_scopes_indent_guide a_top_frame_past_column_1_injects_the_column_arrow the_call_stack_selects_the_focused_frame_only_after_a_focus_change_it_saw a_visualized_child_shows_its_tree_in_the_hover a_watch_expressions_visualized_child_draws_its_tree a_dynamic_selection_keeps_its_type_for_f5 inline_breakpoints debug_memory; ui-pair debug/memory.json (setup in port/notes.md, View Binary Data), port/fixtures/debug-node (breakpoint, F5, views, REPL, toolbar, `greeting` and `numbers` hovers), menus/view-container-title.json, debug/hover-find.json, debug/unverified-breakpoints.json, debug/call-stack-menu.json, debug/toolbar.json, debug/variables-menu.json, debug/lazy-variable.json, debug/quick-access.json; shortcuts in port/notes.md; scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable |
| 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 |
@@ -602,7 +602,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| 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 | | 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/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); scrollbars: cargo test -p app the_problems_tree_scrolls_with_a_scrollbar |
| workbench/contrib/mcp | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| 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 | verified | | 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`; verified: cargo test -p app open_merge_editor_resets_the_conflict_and_accepts_incoming ("..." active while its menu shows, cursor Ln 1, Col 1, no encoding entry), ui-pair menus/merge-result-title.json with FOLDER a repository mid-merge: shots `merge` and `more` match the reference (counter width, input titles with "·" at the same height, tab decoration, "Text Editor" switch, status bar) |
@@ -625,7 +625,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| workbench/contrib/remoteTunnel | workbench contribution | | removed | | no sign-in/AI by decision (port/notes.md); not ported |
| 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 | verified | | 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; verified: cargo test -p app a_changes_row_draws_its_count_and_hovers_its_path, ui-pair Ctrl+Shift+G and a hover on a resource row of a git folder with changes: badge, letters and `<path> • Modified` hover match the reference |
+| workbench/contrib/scm | workbench contribution | M14 | verified | | 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; verified: cargo test -p app a_changes_row_draws_its_count_and_hovers_its_path, ui-pair Ctrl+Shift+G and a hover on a resource row of a git folder with changes: badge, letters and `<path> • Modified` hover match the reference; scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable (scm-list, scm-repositories, scm-graph-list through Workbench::scrollable) |
| 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) |
@@ -642,9 +642,9 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston
| 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, 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 | verified | | cargo test -p app testing:: testing_filter testing_message_colorizer testing_results:: coverage 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 view_as_list_shows_the_leaves_and_the_more_menu_checks_the_mode peek_error_opens_the_failed_childs_message_at_the_test a_test_run_waits_for_workspace_trust_and_completes_when_it_is_refused a_line_with_more_than_30_tests_picks_the_rest_from_a_quick_pick reveal_in_test_explorer_selects_and_scrolls_to_the_row the_run_group_chevron_is_active_while_its_menu_is_open the_workbench_context_has_the_testing_service_keys; 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 math.test.js line 2, the run profile dropdown); ui-pair port/fixtures/testing-messages (diff message, markdown message output and selection copy, ANSI message, stack trace and a press in a frame); ui-pair m16/coverage.json; ui-pair m16/inline-coverage.json (Toggle Inline Coverage in the editor title, inline ranges with hit-count badges, the coverage toolbar) |
+| workbench/contrib/testing | workbench contribution | M16 | verified | | cargo test -p app testing:: testing_filter testing_message_colorizer testing_results:: coverage 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 view_as_list_shows_the_leaves_and_the_more_menu_checks_the_mode peek_error_opens_the_failed_childs_message_at_the_test a_test_run_waits_for_workspace_trust_and_completes_when_it_is_refused a_line_with_more_than_30_tests_picks_the_rest_from_a_quick_pick reveal_in_test_explorer_selects_and_scrolls_to_the_row the_run_group_chevron_is_active_while_its_menu_is_open the_workbench_context_has_the_testing_service_keys; 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 math.test.js line 2, the run profile dropdown); ui-pair port/fixtures/testing-messages (diff message, markdown message output and selection copy, ANSI message, stack trace and a press in a frame); ui-pair m16/coverage.json; ui-pair m16/inline-coverage.json (Toggle Inline Coverage in the editor title, inline ranges with hit-count badges, the coverage toolbar); scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable |
| 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/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); scrollbars: cargo test -p app the_panels_draw_their_bodies_in_a_scrollable (timeline-tree through Workbench::scrollable) |
| 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 | | 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 |