Skip to content

Visual Studio Code, rebuilt in Rust

Rust

test(syntax): check the colorize fixtures against 1.148.0 grammars

rokartur9ac6cea8a93f
diff --git a/port/ledger.md b/port/ledger.md
index 2a1fec47065..497b0905537 100644
--- a/port/ledger.md
+++ b/port/ledger.md
@@ -109,7 +109,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,
| M21 uplift | setup: baselines | done | Refresh the pixel-check baseline and `port/results/api-tests-reference.md`. 1.148.0 adds `browser.tools.test.ts` cases (integrated browser, removed) and an `http.noProxy` step in `proxy.test.ts` (row extension/vscode-api-tests). | api-tests on the 1.148.0 reference: api-folder 362/46/0 (6 new tests, all in the removed `chat - browser tools` suite, so the port's target stays 318/28/0), api-workspace 4/0/0 (port/results/api-tests-reference.md); pixel-check against 1.148.0 in port/results/pixels.md "Baseline against 1.148.0" (2026-12-01) |
| M21 uplift | setup: version bump | done | 1.148.0 in `VERSION` (`native/crates/app/src/main.rs`), in this file's header and 1:1 rule, and in README.md's coverage line (`port/tools/readme-coverage.ts` now reads the version from upstream's `package.json`); evidence that names a 1.147.0 dump keeps its version. `bun port/tools/gen-ledger.ts` added one unit: `mainthread/MainThreadRemoteAgentHosts`, `removed` (remote agent hosts). `mainthread/MainThreadGitExtensionService` (21 lines) is a client of the removed IGitService and stays with the `removed` row `mainthread/MainThreadGitExtension`. | `bun port/tools/ledger-check.ts` exits 0; 595 rows (2026-12-01) |
| M21 uplift | setup: diff recount | done | Run `bun port/tools/uplift-diff.ts 1.148.0 1.147.0` on the split tree and compare its group counts with section 1 of `port/plans/uplift-1.147.0-to-1.148.0.md`. Same as the plan but for the new `removed` row `mainthread/MainThreadRemoteAgentHosts` (36 lines), which moves from "new upstream unit" to "removed by decision". | to port 79 rows (10,606 lines), new unit 1 (21, `mainthread/MainThreadGitExtensionService`), removed by decision 32 (78,874), tests only 8, API typings 5, not mapped 29 folders (2026-12-01) |
-| M21 uplift | extension/* grammars | later | M7. New upstream grammar commits for cpp, csharp, dart, dotenv, go, java, latex, log, php, razor, rust and scss (1,265 lines of data) arrive with the reference's extensions; the colorize fixtures `test-80644_cpp`, `test_env` and `test_tex` change (712 lines). | `cargo test -p app syntax` (`colorize_fixtures_match_the_reference`) |
+| M21 uplift | extension/* grammars | done | M7. New upstream grammar commits for cpp, csharp, dart, dotenv, go, java, latex, log, php, razor, rust and scss (1,265 lines of data) arrive with the reference's extensions; the colorize fixtures `test-80644_cpp`, `test_env` and `test_tex` change (712 lines). No port code: the test reads grammars, fixtures and results from the 1.148.0 tree. | `cargo test -p app syntax` on the 1.148.0 tree: 17 passed, `colorize_fixtures_match_the_reference` ok (2026-12-01) |
| M21 uplift | extension/theme-defaults | later | M7, 8 lines. Light 2026: `editorGroupHeader.connectedTabsBackground` #EAEAEA to #F0F0F3, `tab.divider` #CECECE, `activityBarTop.inactiveForeground` #606060. Light Modern: the quick pick's focused row is #005FB8 with #FFFFFF foreground, icon and highlight. | ui-pair 2026-light tab bar and top activity bar, light_modern Cmd+P; the defaultThemeColors.test.ts cases (74 lines) in `cargo test -p app theme` |
| M21 uplift | workbench/services/themes | later | M7, 26 lines (`modernTabColorCustomizations.ts`, `tabDividerColor.ts`): modern tabs fall back to `editorGroupHeader.tabsBorder` for the tab border, and `tab.divider` follows a customized `tab.border` unless `tab.divider` is customized itself. | `cargo test -p app theme` with the 3 cases of the new test |
| M21 uplift | editor/contrib/suggest | later | M13, 6 lines (`suggestWidget.ts`): the default of `editorSuggestWidget.focusHighlightForeground` becomes `quickInputList.focusHighlightForeground`; when the theme sets `editorSuggestWidget.selectedBackground` it is `list.focusHighlightForeground` (`ifDefinedThenElse`). | `cargo test -p app theme` color defaults |