[Bug] MultiDiff not work
Author: linghaoSuCreated Jun 28, 2024Updated Sep 4, 2026
Labelsbug
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
No response
Reproduction Steps
Hi, I noticed that vscode can do multi-file diff and I found that there is createMultiFileDiffEditor API in monaco-editor, when I looked at the source code, I found that I need to create the required multiFileDiffEditor instances through multiFileDiffEditor instances, but when I called the creation method, I found that they are removed by tree-shake, so I would like to know how I can use this api. multiDiffModelView, but when I call the create method, I find that they have been removed by tree-shake, so I'm trying to figure out how I can use this api.
Actual (Problematic) Behavior
cannot access to createViewModel or setViewModel
Expected Behavior
call these method to create/set viewModel for multiDiffEditor without error
Additional Context
No response
Source: microsoft/monaco-editor