Use resolver-owned synthetic documents in multi-diff #336737

Merged
hediet opened 3:23am on September 18, 2026 wanted to merge 999 Δ into microsoft/vscode main from
fix/multi-diff-shared-synthetic-models

Pull request #336737 quality checks

Code files and functions touched by this pull request are analyzed below.

Quality targets

How does this pull request compare to chosen code quality targets? Read more about code quality targets.

Target name Target value This PR
Maximum Diff Delta per PR 500 999
Maximum comment count per PR 10 0
Pull request maximum business days between activity 3 0
Pull request maximum business days open 5 0

Coupled files

Are there any files from this commit that are always committed alongside another file? This often suggests that there exists code coupling to potentially remove. Read more about code coupling

Committed together % Code file
Coupled code file
Commits in PR with both
100 src/vs/workbench/contrib/multiDiffEditor/test/browser/multiDiffEditorInput.test.ts
src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.ts
1
100 src/vs/editor/common/services/model.ts
src/vs/editor/common/services/modelService.ts
2

Biggest files changes in pull request

Path View whole file Lines removed Lines added Final line count
src/vs/workbench/services/textmodelResolver/test/browser/textModelResolverService.test.ts 0 222 528
src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.ts 16 35 242
src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts 5 27 279
src/vs/editor/common/services/inMemoryTextModelService.ts 0 124 ---
src/vs/editor/standalone/browser/standaloneServices.ts 78 1 1233
src/vs/editor/common/services/modelService.ts 0 0 ---
src/vs/editor/standalone/test/browser/standaloneServices.test.ts 0 62 125
src/vs/editor/test/common/services/modelService.test.ts 0 0 ---
src/vs/workbench/common/editor/textResourceEditorModel.ts 0 0 ---
src/vs/editor/common/services/model.ts 0 0 ---
src/vs/editor/common/services/resolverService.ts 0 8 98
src/vs/sessions/contrib/changes/test/browser/sessionChangesEditorInput.test.ts 1 3 248
src/vs/editor/contrib/inlineCompletions/test/browser/utils.ts 0 4 443
src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.ts 0 0 510
src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.ts 0 0 276
src/vs/editor/test/browser/testCodeEditor.ts 0 3 300
src/vs/workbench/api/test/browser/mainThreadEditorTabs.test.ts 2 2 305
src/vs/workbench/contrib/multiDiffEditor/test/browser/multiDiffEditorInput.test.ts 1 1 232
src/vs/workbench/test/browser/componentFixtures/fixtureUtils.ts 0 0 ---

️ Biggest functions grown or shrunk by pull request

Which functions had their line count change as part of this pull request?

Could not find any functions changed by this pull request.