Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] MultiDiff not work #4584

Open
1 of 2 tasks
linghaoSu opened this issue Jun 28, 2024 · 0 comments
Open
1 of 2 tasks

[Bug] MultiDiff not work #4584

linghaoSu opened this issue Jun 28, 2024 · 0 comments

Comments

@linghaoSu
Copy link

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

https://microsoft.github.io/monaco-editor/playground.html?source=v0.50.0#XQAAAAJpAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw10_kGqDTilUrSvZdCEkJoct6e5xymsgchVewcCURwZhxLRheEW-k71pa4P8iJPI2Z1mCU61lnXIJThP5sajV1G0U95cq4xFMv0zKkKHKUV4UdCb9PYdHaMbZFaEmJOt12q3yQx89GBy1okUapPVdMokGflkKPL8MSp1KMo0vOmvmBC2C9s8sc5mkZoaJ6jGHCGSU2AZ4tERGtx1UjTjIVkQvM_2JbbN0gI6oHXVLPq_SGq5wVn_2aAR_b5GvEgWdv0zs32PvEl7jk69kzNKXUOdppdfoKO9mI7pHvtI5L7cfAjFpxygM2PBmkHBBQDnPFQLyiCSE3tqvWnO31ZxWU_U5iUuq_6r7RNw

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

image image

Expected Behavior

call these method to create/set viewModel for multiDiffEditor without error

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant