Dirk Bäumer
90d · built 2026-11-29
Performance
What Dirk Bäumer shipped in the selected window, measured in ETV, and how it compares with the 90 days before it.
Effective capacity
+4.1engineers
delivers like 5.1 (5.1x pre-AI)
Output (ETV)
23.4ETV
+157.2% vs 9.1 prior
Features share
40.7%
−38.1 pp vs prior window
Fixes share
8.4%
+4.9 pp vs prior window
Work mix
40.7% Features6.8% Maintenance43.3% Tests0.8% Docs8.4% Fixes
43 commits over 90 days, ending 2026-11-29.
Daily performance
Daily ETV, stacked by Features, Maintenance, Tests, Docs and Fixes.
Repository spread
Where this developer's commits land. Concentrated work (top1 > 80%) vs polymath spread (top1 < 30%).
Most impactful commits
Top 10 by ETV in the last 90 days.
- 4.1ETVShow structural changes in the Source Control view (#346113) * Show structural changes in the Source Control view When the experimental `scm.structuralDiff.enabled` setting is on and a structural diff provider is registered, Show Structural Diff in the View & Sort menu lets changed files in the Source Control view expand to the symbols that changed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Make the SCM structural diff test result complete Results that are not marked as incomplete must now cover every textual change, so the shared test result covers the changed digit on the file. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep structural diff ids stable and open deletions in inline diffs Row ids now locate an entity by where it starts in the original document; added entities are mapped there through the text changes. Same-name siblings, such as overloads, keep their ids, and with them their focus, selection and expansion, when other siblings start or stop changing. The ordinal only breaks exact ties. When the diff editor shows the diff inline, the original editor is hidden, so deleted symbols open in the modified editor where they were deleted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use a deleted entity with deleted text in the SCM structural diff test The test reported an entity as deleted although its text was unchanged, which the validation of structural diff results now rejects. The deleted entity now starts at an unchanged comment and contains deleted text, so the test still locates unchanged text in the modified document. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep the twistie of expandable SCM files and symbols when icon themes hide arrows Files and symbols in the Source Control view open when clicked, so they expand only through their twistie. A file icon theme that hides arrows also hid that twistie, which made expandable files and symbols look like leaves. Like file nests in the Explorer and files in the Search view, expandable files and symbols now keep their twistie. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Do not refresh the Source Control tree while it is hidden Hiding the Source Control view clears its structural diffs, but the refresh that hiding queues reloaded them for expanded files and kept their documents loaded while the view was hidden. A hidden tree is no longer refreshed, because it is refreshed when the view is shown again. Context keys are still updated as before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Analyze no structural diffs while the Source Control view is hidden A refresh of the tree can start while the view is visible, wait for an overlapping refresh, such as the expansion of a file whose analysis takes up to 30 seconds, and then ask for the children of expanded files after the view was hidden. Skipping queued refreshes of the hidden tree did not prevent that, so hiding the view could still start analyses and keep documents loaded. The structural diff model now knows whether the view is visible. While the view is hidden, the model keeps no results and analyzes no files, whichever refresh asks. Files stay expandable, so the tree keeps them expanded and loads their children when the view is shown again. Skipping refreshes of the hidden tree is no longer needed, so the refresh code of the Source Control view is as it was before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Analyze a file again when a document changes after its structural diff failed A file whose analysis failed or timed out showed a status row until it was invalidated, but the failure released the documents and removed the listeners that invalidate it when a document changes. Editing the file therefore never analyzed it again; only collapsing the file or hiding the view did. A failure now keeps the documents it resolved, like a result does, so an edit of either document analyzes the file again. Each document is observed as soon as it is resolved, so this also applies when the other document cannot be resolved. Documents are still released when the file is collapsed or removed or the view is hidden. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep watching documents when a structural diff provider or document fails A provider can reject with a cancellation error of its own. The TypeScript provider does when tsserver restarts or crashes, because TypeScript answers all pending requests as cancelled. The model treated any cancellation error as its own cancellation and discarded the entry of the file, so the file showed no children, and editing it did not analyze it again. Only the view now cancels loads. A provider that cancels on its own supplies no result, like a provider that fails, and the documents stay watched. Any other cancellation error is a failure that shows a status row. The original document was loaded before the modified document, so when it could not be loaded, the modified document was never loaded or watched. Both documents are now loaded even when one of them fails, so editing any document that could be loaded analyzes the file again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Render the Source Control fixtures like the view and style status letters like file badges A review of the Source Control fixture screenshots in the standard and high contrast themes found that the structural diff fixtures did not render like the Source Control view: every row had a twistie, rows used the default font of the browser, and status letters did not use the Git decoration colors. The fixtures now render like the view in list mode, every Source Control fixture also renders in both high contrast themes, and new fixtures show the rows for files whose structural changes could not be loaded and a selected row in a focused list. Structural status letters share the box of the file badges they line up with, but not three of their styles. Like file badges, they are now dimmed, use the selection foreground in a focused list, and keep the margin of file badges in the Modern UI, where they were 1px out of the column. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix the formatting of the Source Control structural diff fixture An edit indented the StructuralChangesSelected fixture and the end of the StructuralChanges fixture by three extra tabs, and inserted three tabs into the expected description of StructuralChanges. Hygiene rejected the file as not formatted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Free the load slots of cancelled structural diffs and keep staged comparisons current Collapsing a file or hiding the Source Control view cancels the structural diff of the file, but nothing interrupts loading its documents. A cancelled load therefore kept its slot until the documents were loaded or the 30 second budget ran out, and newly expanded files waited for it. A cancelled load now stops waiting for its documents and frees its slot right away. Documents that are loaded later are still released. The Git file system provider reports changes only for git: documents in its cache, and its periodic cleanup dropped entries older than three minutes unless their file was open. A staged comparison loads only git: documents, the HEAD and index versions of the file, so once the file had been closed long enough, staging more of its edits left its structural changes stale. The cleanup now also keeps the entries of git: documents that are loaded. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Settle the structural diff requests of files that wait for a load slot when they are released Collapsing a file or hiding the Source Control view releases the structural diff of the file, but a file that was still waiting for a load slot kept its request pending until its turn. The tree makes refreshes of the group and the root wait for pending requests, so they could wait until a slot was free, at worst for the 30 second budget. Disposing the model left such requests pending forever, because the limiter drops its queue without settling it. A request now settles without children as soon as its file is released, the view is hidden or the model is disposed. A timeout does not release the file, so it still shows its status. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Do not include the language kind in structural diff row ids The proposed API removes StructuralDiffEntity.languageKind, so the Source Control row identity of a structural diff entity no longer includes it. Entities that a change adds with the same kind and name are still distinguished by their ordinal. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use the renamed structural diff items in the Source Control view Adapts the Source Control view, its tests and its component fixtures to StructuralDiffItem and to the originalItem and modifiedItem properties of StructuralDiffNode. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Assign the structural diff provider observable in the constructor The hasProvider field of SCMStructuralDiffModel read the languageFeaturesService parameter property in its initializer. With JavaScript class field semantics, class fields are initialized before the constructor assigns parameter properties, which the local/code-no-parameter-property-before-init lint rule reports. The field is now assigned in the constructor. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · 580745c3 · 2026-11-13
- 3.4ETVMerge 1.136.2 into maingithub.com-microsoft-vscode · 9e024fbc · 2026-09-08
- 2.6ETVProvide TypeScript structural diffs in Copilot (#346114) * Show structural changes in the Source Control view When the experimental `scm.structuralDiff.enabled` setting is on and a structural diff provider is registered, Show Structural Diff in the View & Sort menu lets changed files in the Source Control view expand to the symbols that changed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Make the SCM structural diff test result complete Results that are not marked as incomplete must now cover every textual change, so the shared test result covers the changed digit on the file. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep structural diff ids stable and open deletions in inline diffs Row ids now locate an entity by where it starts in the original document; added entities are mapped there through the text changes. Same-name siblings, such as overloads, keep their ids, and with them their focus, selection and expansion, when other siblings start or stop changing. The ordinal only breaks exact ties. When the diff editor shows the diff inline, the original editor is hidden, so deleted symbols open in the modified editor where they were deleted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Provide TypeScript structural diffs in Copilot Registers a structural diff provider for TypeScript and TSX working files and Git snapshots. With TypeScript 7 it analyzes both documents through the native API. With TypeScript 6 the TypeScript server plugin parses them. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep TypeScript structural diffs fast and available - Classify each change against only the import, test and implementation regions and the children that overlap it, so that new files and bulk edits no longer take quadratic time. The results are unchanged. - Like the TypeScript extension, use TS7 only while a native TypeScript extension, including the nightly, is installed, and update the provider when extensions change. - When a TS6 request fails because tsserver has not created a project yet, which can happen for staged diffs since Git snapshots are not synchronized, open the backing file and send the request once more. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use a deleted entity with deleted text in the SCM structural diff test The test reported an entity as deleted although its text was unchanged, which the validation of structural diff results now rejects. The deleted entity now starts at an unchanged comment and contains deleted text, so the test still locates unchanged text in the modified document. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep the twistie of expandable SCM files and symbols when icon themes hide arrows Files and symbols in the Source Control view open when clicked, so they expand only through their twistie. A file icon theme that hides arrows also hid that twistie, which made expandable files and symbols look like leaves. Like file nests in the Explorer and files in the Search view, expandable files and symbols now keep their twistie. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Do not refresh the Source Control tree while it is hidden Hiding the Source Control view clears its structural diffs, but the refresh that hiding queues reloaded them for expanded files and kept their documents loaded while the view was hidden. A hidden tree is no longer refreshed, because it is refreshed when the view is shown again. Context keys are still updated as before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Analyze no structural diffs while the Source Control view is hidden A refresh of the tree can start while the view is visible, wait for an overlapping refresh, such as the expansion of a file whose analysis takes up to 30 seconds, and then ask for the children of expanded files after the view was hidden. Skipping queued refreshes of the hidden tree did not prevent that, so hiding the view could still start analyses and keep documents loaded. The structural diff model now knows whether the view is visible. While the view is hidden, the model keeps no results and analyzes no files, whichever refresh asks. Files stay expandable, so the tree keeps them expanded and loads their children when the view is shown again. Skipping refreshes of the hidden tree is no longer needed, so the refresh code of the Source Control view is as it was before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Analyze a file again when a document changes after its structural diff failed A file whose analysis failed or timed out showed a status row until it was invalidated, but the failure released the documents and removed the listeners that invalidate it when a document changes. Editing the file therefore never analyzed it again; only collapsing the file or hiding the view did. A failure now keeps the documents it resolved, like a result does, so an edit of either document analyzes the file again. Each document is observed as soon as it is resolved, so this also applies when the other document cannot be resolved. Documents are still released when the file is collapsed or removed or the view is hidden. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep watching documents when a structural diff provider or document fails A provider can reject with a cancellation error of its own. The TypeScript provider does when tsserver restarts or crashes, because TypeScript answers all pending requests as cancelled. The model treated any cancellation error as its own cancellation and discarded the entry of the file, so the file showed no children, and editing it did not analyze it again. Only the view now cancels loads. A provider that cancels on its own supplies no result, like a provider that fails, and the documents stay watched. Any other cancellation error is a failure that shows a status row. The original document was loaded before the modified document, so when it could not be loaded, the modified document was never loaded or watched. Both documents are now loaded even when one of them fails, so editing any document that could be loaded analyzes the file again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Render the Source Control fixtures like the view and style status letters like file badges A review of the Source Control fixture screenshots in the standard and high contrast themes found that the structural diff fixtures did not render like the Source Control view: every row had a twistie, rows used the default font of the browser, and status letters did not use the Git decoration colors. The fixtures now render like the view in list mode, every Source Control fixture also renders in both high contrast themes, and new fixtures show the rows for files whose structural changes could not be loaded and a selected row in a focused list. Structural status letters share the box of the file badges they line up with, but not three of their styles. Like file badges, they are now dimmed, use the selection foreground in a focused list, and keep the margin of file badges in the Modern UI, where they were 1px out of the column. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix the formatting of the Source Control structural diff fixture An edit indented the StructuralChangesSelected fixture and the end of the StructuralChanges fixture by three extra tabs, and inserted three tabs into the expected description of StructuralChanges. Hygiene rejected the file as not formatted. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Free the load slots of cancelled structural diffs and keep staged comparisons current Collapsing a file or hiding the Source Control view cancels the structural diff of the file, but nothing interrupts loading its documents. A cancelled load therefore kept its slot until the documents were loaded or the 30 second budget ran out, and newly expanded files waited for it. A cancelled load now stops waiting for its documents and frees its slot right away. Documents that are loaded later are still released. The Git file system provider reports changes only for git: documents in its cache, and its periodic cleanup dropped entries older than three minutes unless their file was open. A staged comparison loads only git: documents, the HEAD and index versions of the file, so once the file had been closed long enough, staging more of its edits left its structural changes stale. The cleanup now also keeps the entries of git: documents that are loaded. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Settle the structural diff requests of files that wait for a load slot when they are released Collapsing a file or hiding the Source Control view releases the structural diff of the file, but a file that was still waiting for a load slot kept its request pending until its turn. The tree makes refreshes of the group and the root wait for pending requests, so they could wait until a slot was free, at worst for the 30 second budget. Disposing the model left such requests pending forever, because the limiter drops its queue without settling it. A request now settles without children as soon as its file is released, the view is hidden or the model is disposed. A timeout does not release the file, so it still shows its status. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Do not include the language kind in structural diff row ids The proposed API removes StructuralDiffEntity.languageKind, so the Source Control row identity of a structural diff entity no longer includes it. Entities that a change adds with the same kind and name are still distinguished by their ordinal. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep the language kind of TypeScript structural diff entities internal The proposed API no longer has StructuralDiffEntity.languageKind. The TS7 provider keeps the TypeScript kind on its internal entities, because matching and rename detection use it to tell apart entities with the same name and symbol kind, such as a getter and a setter. The TS6 provider no longer copies the server's languageKind to the API entity, but still uses it to name the import and export groups. The shared TS6 and TS7 tests now check the symbol kind, or the declaration keyword where the symbol kind is the same. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use the renamed structural diff items in the Source Control view Adapts the Source Control view, its tests and its component fixtures to StructuralDiffItem and to the originalItem and modifiedItem properties of StructuralDiffNode. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use the renamed structural diff items in the TypeScript providers Adapts the TypeScript 6 and 7 structural diff providers and their tests to StructuralDiffItem and to the originalItem and modifiedItem properties of StructuralDiffNode. The matching type of the TypeScript server protocol is renamed to StructuralDiffItem as well; the protocol messages do not change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use DiffTextChange in the TypeScript structural diff tests and protocol Adapts the shared TypeScript structural diff tests to the renamed DiffTextChange and renames the matching type of the TypeScript server protocol. The protocol messages do not change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Support omitted children in the TypeScript structural diff tests StructuralDiffNode.children is now optional. The shared test harness checks the provider contract on the result as the provider returns it, and then gives every node a list of children, so that the tests can keep reading them directly. The TS7 provider declares the more specific type of the nodes that it returns, which always list their children. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Assign the structural diff provider observable in the constructor The hasProvider field of SCMStructuralDiffModel read the languageFeaturesService parameter property in its initializer. With JavaScript class field semantics, class fields are initialized before the constructor assigns parameter properties, which the local/code-no-parameter-property-before-init lint rule reports. The field is now assigned in the constructor. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Avoid quadratic scans in structural diff grouping and rename matching Grouping declarations under the Imports and Exports nodes checked every child against every import or export statement of its container. The statement spans are collected in source order, so a binary search now finds the spans that start at or before a child, and a running maximum of their ends decides whether one of them contains the child. The running maximum keeps the check exact when spans overlap. Matching renamed declarations checked every text change for each pair of candidates. The changes are ordered and do not overlap, so a binary search now finds the first change that can touch the original name, and the scan stops at the first change that starts after it. The TS6 server plugin and the TS7 implementation get the same change. A new shared test covers declarations nested in an export statement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · c98c65cb · 2026-11-13
- 1.5ETVAdd GrepResultService and RegionContextProviderService implementations (#333727) * First cut of GrepResultService * Wire up a TS7 implementation * WIP * WIP * WIP * Add TS6 implementation * WIP * WIP * Align implementation * Polish telemetry and fix tests * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Enable developer action only for typescript and javascript * More review comments fixed * Handle dispose correctly * Correct parent for property access --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>github.com-microsoft-vscode · e6094c93 · 2026-09-01
- 1.2ETVFix revealing ranges below the first screen in multi-file diffs (#350136) * Fix revealing ranges below the first screen in multi-file diffs Each file of a multi-file diff keeps its full height in the outer list, whose scroll position decides which part of the file's editor shows. Revealing a range scrolled that editor, so the next layout scrolled it back, and a range below the first screen of a file never showed. The list now scrolls to the range instead. A new `side` option tells which side of the diff the range refers to. It defaults to the original side while the diff shows it, and to the modified side otherwise. A revealed range is highlighted only when `highlight` is set. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reveal wrapped rows, inline original ranges and long lines in multi-file diffs Addresses the review of the multi-file diff reveal fix: - Scroll to the row that shows the start of the range when its line wraps. - Keep the original document as the default side unless the file was added, and in an inline diff map a range of the original document into the modified editor before scrolling and highlighting. - Reveal the range horizontally in the file's editor, keep the list's vertical scroll position, and share the new horizontal scroll position with all files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reveal ranges once the diff is computed, and in inline deletions Addresses the second review of the multi-file diff reveal fix: - Reveal a range once the diff of its file is computed, since the diff decides where the range shows, for example by hiding unchanged regions. A later reveal or another view model discards a range that waits. - In an inline diff, scroll to deleted text in the view zone that shows it, with the hidden original editor, whose lines align with the zone. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Expand collapsed files and find deleted text from diff changes Addresses the third review of the multi-file diff reveal fix: - Expand a collapsed file before revealing a range in it. The list only shows the header of a collapsed file, so measuring the range in its hidden editor scrolled past the file. - Decide from the diff's changes whether a range of the original document starts in deleted text, also for an empty range, instead of from whether it maps to an empty range. Changes without inner changes, which the legacy diff algorithm computes for larger changes, map a range to their modified lines. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep ranges next to replaced text without the replacement translatePosition maps a position at the edge of replaced text to the whole replacement, so revealing a range of the original document that only touches replaced text in an inline diff also highlighted the replacement. The edges of such a range now map to the edges of the replacement. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reveal rows of wrapped deleted lines and whole legacy ranges - In an inline diff, the view zones wrap deleted lines like the modified editor wraps its lines, which the hidden original editor does not do. Compute the row of deleted text with the same line breaks, so that a target far into a long deleted line is revealed. - Map each edge of a range that lies in a change without inner changes, which the legacy diff algorithm computes for larger changes, to that edge of the change's modified lines, so that the highlight covers the rest of a range after the change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reveal deleted text that true inline diffs show in modified lines With diffEditor.experimental.useTrueInlineView, an inline diff shows deleted text of changes within single lines in front of where it was deleted in the modified line, rather than in view zones. The hidden original editor only aligns its lines with the modified editor at the end of such a change, so it placed deleted text rows too high after earlier wrapped lines of the change or inserted text. Find the row in the wrapped rows of the modified editor instead, from where the injected text starts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Reveal replaced text that true inline diffs show in front of its replacement A true inline diff shows the replaced text of a change within lines in the modified editor, in front of its replacement, like deleted text. A range that starts in replaced text mapped to the start of the replacement, so the list centered the row where the replaced text starts, and a range far into wrapped replaced text stayed below the viewport. Find the row of the range's start in the replaced text, like for deleted text. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · d5fc2cf8 · 2026-11-25
- 1.2ETVEnhance structural diff provider for top-level code and test handling (#349609) * feat: enhance structural diff provider to support top-level code and improve test handling - Added support for categorizing top-level code in structural diffs. - Enhanced EntityInfo interface to include members and statements for better representation of code structure. - Improved handling of test and suite registrations, allowing for nested test structures. - Refactored code to streamline the collection of source items and their relationships. - Introduced utility functions for better management of test titles and spans. * Structural diff: match tests by position and recognize wrapped and Playwright suites Address review comments on the TypeScript structural diff providers: - Match siblings at unchanged starts before matching them by name, so that a test whose title changes to the old title of another test is not matched with that test. - Unwrap parentheses, type assertions, `await` and `void` around suite and test registrations, as for other call statements. - Recognize Playwright's `test.describe`, including variants such as `test.describe.skip`, as a suite. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Structural diff: fix assignment names, titled hooks and chained test calls Address the issues of the second review of the TypeScript structural diff providers: - Name assignments by their target text, so that keys with spaces, such as `module.exports["foo bar"]`, keep them. - Classify the arguments after a test callback and those of calls chained to a test, such as `.timeout(1000)`, as its implementation. - Keep Playwright's titled hooks, such as `test.afterEach('title', () => {})`, in their suite instead of listing them as tests, and still tag their callbacks as test code. - Register a test by the innermost call with a title and a callback, so that `test(…).then(undefined, onRejected)` is not mistaken for the registration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Structural diff: list tests registered by expression-bodied suites A suite whose callback has an expression body, such as `suite('outer', () => test('inner', () => {}))`, now lists the test or suite that the body registers as its child in both TypeScript structural diff providers, instead of attributing edits in the test to the suite. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Structural diff: list the tests of suite wrappers such as flakySuite Calls of functions whose names end in `Suite`, such as `flakySuite(title, fn)`, now register suites in both TypeScript structural diff providers when they have a title and a callback, so that their tests are listed instead of being attributed to a top-level call. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · 8ad044d9 · 2026-11-22
- 1.1ETVShow structural changes in the multi-file diff editor's file list (#350138) * Show structural changes in the multi-file diff editor's file list While the Source Control view shows structural changes, the files in the file list of the multi-file diff editor expand to the symbols that changed in them, and opening a symbol reveals it in the diff of its file, also in a hidden unchanged region. Like in the Source Control view, files load their symbols when they are expanded, and collapsed files and hidden editors keep none. File rows now show their icon right after their twistie, like folders, unless the file icon theme hides the twistie. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Honor the expand mode for folders and keep the file list's selection Folders in the multi-file diff editor's file list follow `workbench.tree.expandMode` again, like in the Source Control view. Files and symbols still expand only through their twistie, since clicking them opens them. When the list stops showing the selected symbol, because its file collapses, structural changes are turned off or its symbols load again without it, the list selects the symbol's file instead of losing its selection and focus. While its editor is hidden, the list keeps showing the symbols of its expanded files, so that switching editors doesn't make them flicker. The documentation now says so, and a test covers hiding and showing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update the file list when it is shown and keep opened symbols selected When its editor is shown again, the multi-file diff editor's file list renders its files again before loading the symbols of its expanded files. The structural diff model forgets which files have no structural changes while it is hidden, so a file that had none could otherwise not expand after edits made in the meantime. Revealing the file of an opened symbol makes the file active before it scrolls into view, which could make the list select another file. The list selects the opened symbol again after revealing its file. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · cdd865e1 · 2026-11-26
- 1.1ETVLayout: apply an arrangement of the side bars and the panel at once (#350079) * layout: apply an arrangement of the side bars and the panel at once Add getPartsLayoutState() and applyPartsLayoutState() to the workbench layout. Applying an arrangement recreates the grid from the new state, as when the window starts, instead of showing, hiding, moving and maximizing the parts one after the other. It does not pass through intermediate arrangements and does not move the focus. This is the groundwork for switching between named layouts (#348819). Grid creation moves into createWorkbenchGrid(), which startup and applying share, and the startupLayout telemetry event moves out of createGridDescriptor() so that it is still sent once. Also fix the width of the editor area when the grid is created with the panel on the left or right: the panel was only subtracted when no panel size was stored. A hidden editor area, as for a maximized panel, kept a width that was too large, and restoring the panel then took the room from the side bars. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: keep the chat part, the focus and the banner when applying a parts layout state - A maximized panel or secondary side bar that is applied hides a visible chat part until it is restored, as maximizing it does. - Applying a maximized secondary side bar hides the other parts in the grid as maximizing it does, and applying a state that restores it shows them as restoring it does, so that a chat part beside them gives and takes back their width. - An editor area hidden for the chat part is not described as a maximized panel, and stays hidden when an applied maximized secondary side bar is restored. - The element that had the focus gets it again while its part shows, for all parts, including the chat part. - A banner that shows keeps showing when the grid is created again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: apply a parts layout state only once the grid exists, and drop stale view container opens - `applyPartsLayoutState()` is new in this branch and has no callers yet. It now only applies once the workbench layout is created, since the window creates the grid from the arrangement that it restores. Called before, it reports an unexpected error and changes nothing. - A view container that applying a state opens, and that waits for the extensions to register, is no longer opened when another state applies meanwhile, or when its part hides or gets a view container: opening it would show the part again. `openViewContainer()` takes an optional check for this; its existing callers behave as before. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: keep the chat part's own width while a maximized secondary side bar hides it - Maximizing the secondary side bar beside a visible editor area now hides the chat part before the side bar and the panel, and restoring it shows the chat part after them. The chat part so keeps its own width while hidden, rather than the width of the parts that hid beside it, which it gave back as they showed again. A maximize and restore gives the same widths as before. With the editor area hidden for the chat part, the order is unchanged. - `applyPartsLayoutState()` creates the grid directly from the state, maximized as when the window starts. Before, it hid and showed the parts in the grid to account for that width, which gave the chat part a width depending on the previous arrangement, and a maximized panel on the left or right only its minimum width. - The focus in content that an editor shows outside its element, such as a notebook or a webview, is in the editor, as `hasFocus()` finds it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: give a hidden editor area its restored width under a secondary side bar maximized over a maximized panel Under a maximized secondary side bar, a maximized panel on the left or right keeps the editor area hidden until the panel is restored too, so the editor area shows again after the other parts. Creating the grid gave it the width beside the hidden side bar and panel, which it then took from the side bars as it showed. It now gets the width that the side bar, the chat part, the panel and the secondary side bar leave it once they show again at their sizes from before maximizing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: show an extension's view container once the extensions register when applying a parts layout state When a part shows as a parts layout state applies, and the view container that was active last in the panel or the secondary side bar has no views yet, as the view container of an extension has none until the extensions register, applying now waits for the extensions to register and chooses then. Before, it showed another view container with views, or none. The open is still dropped when another state applies meanwhile, or when the part hides or gets a view container. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: keep the chat part's own width while it has the editor area While the editor area is hidden for the chat part, the chat part fills the editor area's width too, and its stored layout saved that width. A grid created from it, as a window reloads or a parts layout state applies, gave the hidden editor area the width that was left, none, so the editor area showed again at its minimum width and the chat part kept the editor area's width. The chat part now saves its own width while it has the editor area: its width less the width that the hidden editor area shows again at. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: save the chat part's layout before a maximized panel ends its hold on the editor area Applying a parts layout state with a maximized panel ended hiding the editor area for the chat part before it saved the chat part's layout, so the chat part saved the editor area's width with its own. Restoring the panel then showed the editor area at its minimum width. It now saves the chat part's layout first. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * layout: give the side bars their widths back when the chat part shows again after a maximized secondary side bar Restoring the secondary side bar shows a chat part beside a visible editor area after the other parts, while the secondary side bar still takes most of the room, so the room that the chat part needs came from the side bar and a panel on the left or right. After a window reloaded with the secondary side bar maximized, restoring it left the side bar at its minimum width. The side bar and a panel on the left or right now get their widths back once the secondary side bar has its own again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Layout - give the focus to a view container that opens later in a maximized part When applying a parts layout state hides the part that has the focus, the focus goes to the maximized part. A view container that opens there only once the extensions register now gets the focus as it opens, unless something has the focus by then. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · 8599011c · 2026-11-25
- 0.8ETVEnhance AST node handling and add tests (#335051) * Add more AST node handling and test cases * Add check for variable declaration name in regionContextProvider Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Add check for variable declaration name in region context Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>github.com-microsoft-vscode · cdddec4b · 2026-09-08
- 0.8ETVMake structural diffs reusable outside the Source Control view (#350137) The model that loads and refreshes the structural changes of files now works with any kind of file, which an adapter describes, and reports in telemetry which view requested them. The Source Control view uses it through a subclass. Finding where a diff editor shows a structural item moved into a helper that other views can use too. The state of Show Structural Diff moved from the Source Control view into the SCM view service, so that other views can follow it, and the styles of structural rows that do not depend on the Source Control view moved into a stylesheet that the renderer imports. The Source Control view does not change. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>github.com-microsoft-vscode · a99db3e5 · 2026-11-26