Visual Studio Code, rebuilt in Rust
Rust
fix(workbench): draw the action bar focus outline on its item
rokartur7ffda61c590a
diff --git a/native/crates/app/src/workbench/action_bar.rs b/native/crates/app/src/workbench/action_bar.rsindex 45726f2e8b6..fdde16ffaeb 100644--- a/native/crates/app/src/workbench/action_bar.rs+++ b/native/crates/app/src/workbench/action_bar.rs@@ -58,6 +58,8 @@ impl Workbench {}}).absolute()+ .top_0()+ .left_0().size_full(),)}diff --git a/native/crates/app/src/workbench/hover/tests.rs b/native/crates/app/src/workbench/hover/tests.rsindex 94a3a30d26e..457974948eb 100644--- a/native/crates/app/src/workbench/hover/tests.rs+++ b/native/crates/app/src/workbench/hover/tests.rs@@ -879,4 +879,7 @@ fn the_title_bar_toolbars_are_tab_stops_in_the_dom_order(cx: &mut TestAppContextlet layout = "title-actions:workbench.action.toggleSidebarVisibility";// The command center's center is a nested toolbar: a tab stop after the navigation buttons', without the update entry.assert_eq!(stops, ["title-command-center:center", "title-command-center:back", "title-command-center:center", layout, "activity:workbench.view.explorer"]);+ // workbench.css outlines the focused item itself, not the slot after its icon.+ let outline = workbench.update_in(cx, |workbench, _, cx| workbench.drawn_action_bar_item_bounds("activity", "workbench.view.explorer", cx));+ assert_eq!(Some(outline), cx.debug_bounds("workbench.view.explorer"));}diff --git a/port/ledger.md b/port/ledger.mdindex 55cca5d5aa4..4384998f476 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -407,7 +407,7 @@ One row per upstream unit, generated by `bun port/tools/gen-ledger.ts`; mileston| 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 | ported | [3 S] workbench/language_detection.rs: 4 s after typing a Python snippet into a new untitled editor (Cmd+N in a ui-pair run, hc) the port's language entry shows Python, the reference's still Plain Text, also after 12 s; not yet known whether the reference build lacks the detection model or the port detects where upstream does not | 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 || 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 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 and the editor area 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 other parts still render with the Workbench, which GPUI renders whole every frame; `scroll_frame_time` median / p95 with both cached (two runs, the Studio shared): Explorer 10.6 / 14.6 and 11.2 / 23.9 ms, Editor 7.9 / 18.7 and 8.5 / 19.9 ms, Settings 1.8 / 2.2 and 2.0 / 5.8 ms (Extensions 2.4 / 2.8 and 2.5 / 4.9); each `key_context` caller clones every `config.*` key (keyboard.rs:400), the menubar and the timeline toolbar are rebuilt; the next steps are the panel, status bar, activity bar and title bar part views (port/notes.md Scroll frame costs, cheap steps). GUI (Studio at load 33 to 57, 60 Hz display, 690 trackpad events in 7 s): main thread in `Window::draw` 86% scrolling the Explorer (800 files), 89% the Extensions @builtin list (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/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 and the editor area 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 other parts still render with the Workbench, which GPUI renders whole every frame; `scroll_frame_time` median / p95 with both cached (two runs, the Studio shared): Explorer 10.6 / 14.6 and 11.2 / 23.9 ms, Editor 7.9 / 18.7 and 8.5 / 19.9 ms, Settings 1.8 / 2.2 and 2.0 / 5.8 ms (Extensions 2.4 / 2.8 and 2.5 / 4.9); each `key_context` caller clones every `config.*` key (keyboard.rs:400), the menubar and the timeline toolbar are rebuilt; the next steps are the panel, status bar, activity bar and title bar part views (port/notes.md Scroll frame costs, cheap steps). GUI (Studio at load 33 to 57, 60 Hz display, 690 trackpad events in 7 s): main thread in `Window::draw` 86% scrolling the Explorer (800 files), 89% the Extensions @builtin list (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 | ported | [3 L] unattendedRestart.ts: the editor detail names the scheme where upstream names `typeId`, `workbench.floatingWindowNotRestorable` cannot occur (the port's auxiliary windows are all editor parts), and the scheduler's `app.dialogOpen` (`hasOpenDialogs`) is not ported: the native open and save panels open from file_dialog.rs, profiles_editor_view.rs and merge_editor_view.rs without a count <br> [3 S] workbench/unattended_restart.rs `window_blockers`: a window keeps only `--profile` and `--profile-temp` of the command line that opened it, so `window.launchArguments` misses its other `SESSION_ARGUMENTS` and `window.launchedFromCli` its `VSCODE_CLI` environment <br> [3 S] terminal/pty.rs:95: `hasChildProcesses` is a foreground process group other than the shell's, so a background job (`cmd &`) does not block the restart where upstream's childProcessMonitor.ts sees it | 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, 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`, `hasArgumentsLostOnRelaunch`, `app.launchedFromCli` 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/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) |diff --git a/port/notes.md b/port/notes.mdindex 15ced92036c..8c06c5e0508 100644--- a/port/notes.md+++ b/port/notes.md@@ -504,7 +504,7 @@ Done when (first item): api-tests `vscode API - editors` passes as in the refere- Editor font zoom (fontZoom.ts, editorZoom.ts, fontInfo.ts, mouseHandler.ts `_setupMouseWheelZoomListener`): one level for every editor from -5 to 20, not persisted, scaling the font size and line height by 10% per level (no rounding, like upstream), so the glyph margin, gutter, sticky scroll, minimap, overview ruler, message placement and drop marker follow `Viewport.line_height`. The actions have no keybinding upstream, only the Command Palette. With `editor.mouseWheelZoom`, Cmd or Ctrl (no Shift, no Alt) and a mouse notch zoom one level; a trackpad gesture that began with them zooms by a fifth of its accumulated delta; GPUI's line delta stands in for `MouseWheelClassifier.isPhysicalMouseWheel`. ui-pair (`notes.txt`, zoom in twice, out three times): level -1 matches pixel for pixel; levels 1 and 2 place the gutter and text 2 and 1 device pixels right of the reference, Chrome's snapping of the fractional 19.8 and 21.6px margins.- Insert Final New Line (insertFinalNewLine.ts): the action appends the model's EOL to the last line even when that line is already empty, between undo stops, tracking the primary selection with `trackSelection` stickiness. That stickiness (`NeverGrowsWhenTypingAtEdges` for a selection) now also applies to Replace All and the indentation and trim commands, which tracked a selection as always growing. The `files.insertFinalNewline` save participant is in the save participants entry below. ui-pair (`notes.txt`): the new line 11 and the dirty tab match the reference.- Overtype (toggleOvertype.ts, inputMode.ts, replaceCommand.ts `ReplaceOvertypeCommand` and `ReplaceOvertypeCommandOnCompositionEnd`): one input mode for the window, insert at start, flipped by View: Toggle Overtype/Insert Mode. Its Alt+Cmd+O is shadowed by the later `workbench.action.remote.showMenu` rule in both apps, so the key runs nothing in the port (remote is removed). In overtype mode a typed character replaces as many characters after the selection up to the line's end, an IME commit removes as many characters after it, and a paste does the same when `editor.overtypeOnPaste` is on. The status bar shows the prominent `OVR` item (`updateInputModeElement`) and the Column Selection item (`updateColumnSelectionModeElement`) beside Tab Moves Focus. The cursor takes `editor.overtypeCursorStyle` in overtype mode and `editor.cursorStyle` otherwise; of their styles only `block` (one char wide, the char under it in `editorCursor.background` or the caret color's opposite) and `line` are drawn, the underline and outline styles draw a line.-- Toggle Tab Key Moves Focus (toggleTabFocusMode.ts, tabFocus.ts, editorStatus.ts `TabFocusMode`): the mode starts from `editor.tabFocusMode` and follows each change of the setting; the toggle flips it in between. A setting changed and changed back within one toggle resumes the toggled mode, where upstream takes the setting's value. With the mode on, `editorTabMovesFocus` turns the tab and outdent keybindings off and Tab moves the focus from the editor text to the status bar, drawn with its 1px `statusBar.focusBorder` outline and rounded bottom corners; Shift+Tab returns. Past the status bar Tab follows the browser's DOM order (probed on the reference with `port/tools/ref-dom` `key:Tab`): the editor group's tab, close actions and toolbar, the editor text, the panel, the status bar, the title bar (Go Back and Go Forward, the command center, the layout actions), the activity bar, the side bar's views, back to the editor. The workbench's Tab and Shift+Tab are a bubble-phase default (`keyboard.rs` `tab_key_down`, after every element's own handler, as the browser's default action) that call GPUI's `focus_next` / `focus_prev` over `tab_stop` handles in paint order (`editor_status.rs` `move_tab_focus`). Each action bar is one tab stop, the item it last focused or its first (actionbar.ts `setFocusable`, roving tabindex; `action_bar.rs` `is_roving_tab_stop`); the command center's center item and each editor tab's close action are bars of their own (commandCenterControl.ts, multiEditorTabsControl.ts), and an inactive tab's close action stays focusable at `opacity: 0` (connectedEditorTabs.css). The content hover keeps its own order: Shift+Tab from the editor text enters it at its last element and Tab past its last element leaves it for the stop after the editor; Tab in the text hides it (contentHoverController.ts `_onKeyDown`). Tests: `cargo test -p app -- tab_walks_the_parts_in_the_dom_order the_title_bar_toolbars_are_tab_stops_in_the_dom_order the_tab_close_actions_and_the_editor_actions_toolbar_are_tab_stops the_verbosity_actions_use_the_focused_part`. The aria alert ("Pressing Tab will now ...") has no GPUI equivalent. The "Tab Moves Focus" item paints `statusBarItem.prominentBackground` around the label's margins with 4px corners (modernUI statusBar.css). ui-pair (`notes.txt`): the item and the status bar outline match the reference; the word highlight stays in the port's tab1 shot only because cua leaves the port window inactive, where GPUI sends no focus events (the tab_focus test covers the blur).+- Toggle Tab Key Moves Focus (toggleTabFocusMode.ts, tabFocus.ts, editorStatus.ts `TabFocusMode`): the mode starts from `editor.tabFocusMode` and follows each change of the setting; the toggle flips it in between. A setting changed and changed back within one toggle resumes the toggled mode, where upstream takes the setting's value. With the mode on, `editorTabMovesFocus` turns the tab and outdent keybindings off and Tab moves the focus from the editor text to the status bar, drawn with its 1px `statusBar.focusBorder` outline and rounded bottom corners; Shift+Tab returns. Past the status bar Tab follows the browser's DOM order (probed on the reference with `port/tools/ref-dom` `key:Tab`): the editor group's tab, close actions and toolbar, the editor text, the panel, the status bar, the title bar (Go Back and Go Forward, the command center, the layout actions), the activity bar, the side bar's views, back to the editor. The workbench's Tab and Shift+Tab are a bubble-phase default (`keyboard.rs` `tab_key_down`, after every element's own handler, as the browser's default action) that call GPUI's `focus_next` / `focus_prev` over `tab_stop` handles in paint order (`editor_status.rs` `move_tab_focus`). Each action bar is one tab stop, the item it last focused or its first (actionbar.ts `setFocusable`, roving tabindex; `action_bar.rs` `is_roving_tab_stop`); the command center's center item and each editor tab's close action are bars of their own (commandCenterControl.ts, multiEditorTabsControl.ts), and an inactive tab's close action stays focusable at `opacity: 0` (connectedEditorTabs.css). The content hover keeps its own order: Shift+Tab from the editor text enters it at its last element and Tab past its last element leaves it for the stop after the editor; Tab in the text hides it (contentHoverController.ts `_onKeyDown`). Tests: `cargo test -p app -- tab_walks_the_parts_in_the_dom_order the_title_bar_toolbars_are_tab_stops_in_the_dom_order the_tab_close_actions_and_the_editor_actions_toolbar_are_tab_stops the_verbosity_actions_use_the_focused_part`. ui-pair (Tab Focus Mode, notes.txt open, Tab five times from the text, then Shift+Tab twice): both apps go status bar, Go Back, command center, Customize Layout, Explorer in the activity bar, and back to the command center; the item outline used to sit one item lower (the outline canvas took its static position after the icon). The aria alert ("Pressing Tab will now ...") has no GPUI equivalent. The "Tab Moves Focus" item paints `statusBarItem.prominentBackground` around the label's margins with 4px corners (modernUI statusBar.css). ui-pair (`notes.txt`): the item and the status bar outline match the reference; the word highlight stays in the port's tab1 shot only because cua leaves the port window inactive, where GPUI sends no focus events (the tab_focus test covers the blur).- Render whitespace (viewParts/whitespace/whitespace.ts, the default `experimentalWhitespaceRendering: svg`): `editor.renderWhitespace` (`none`, `boundary`, `selection` by default, `trailing`, `all`) picks the spaces and tabs (`editor/whitespace.rs`, `cargo test -p app whitespace`) up to `stopRenderingLineAfter`; each space is a circle of radius spaceWidth / 7 at the middle of its cell and each tab the 10-point arrow of `_renderArrow`, in `editorWhitespace.foreground`, painted after the decorations and under the text. In `selection` mode a selection counts on a line only when it covers at least one character there. The port never wraps, so the wrapped-line cases of `boundary` and `trailing` do not apply. View: Toggle Render Whitespace (toggleRenderWhitespace.ts) writes `all` when the setting is `none`, else `none`; the View > Appearance > Render Whitespace submenu and its five Set Render Whitespace actions wait for the Appearance menu.- Column selection mode (toggleColumnSelection.ts): Toggle Column Selection Mode flips `editor.columnSelection` and is checked in the Selection menu (`4_config`). Turned on, the primary selection becomes a column selection from its anchor to its head; turned off, the column selection's corners become one selection (`column_selection_mode_changed`). While it is on, a drag or Shift+click on the text selects a column (`dispatchMouse`) and Shift+arrows run the `cursorColumnSelect*` keys. The Selection menu's other `4_config` item runs Toggle Multi-Cursor Modifier (toggleMultiCursorModifier.ts), titled by the `multiCursorModifier` context key; with `editor.multiCursorModifier` `ctrlCmd` the text click takes Cmd as the multi-cursor modifier and Alt+drag selects a column (`dispatchMouse`).- Save participants (saveParticipants.ts, `editor/save_participants.rs`): every save of a model (Cmd+S, Save All, the host's `$save`, `$saveAll` and `$trySaveDocument`, search replace) first runs, with the settings of the model's language and resource, `files.trimTrailingWhitespace` (no cursor spared, as an explicit save), `files.insertFinalNewline` and `files.trimFinalNewlines`, after an undo stop, so their edits undo as one step; the selections stay as they were. Format on Save and Code Actions on Save wait for the formatting and code action providers (milestone 13); Save without Formatting (`workbench.action.files.saveWithoutFormatting`) skips all of them. The host's participants still run before the workbench's, where upstream registers the workbench's first.