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

add merge action icons in a diff editor #616

Open
2Lavine opened this issue Apr 26, 2024 · 4 comments
Open

add merge action icons in a diff editor #616

2Lavine opened this issue Apr 26, 2024 · 4 comments

Comments

@2Lavine
Copy link

2Lavine commented Apr 26, 2024

I originally intended to support folding in the diff editor, but after reading related issues, I found that VSCode still does not support it.
I want to add merge action icons between two editors in a diff editor, just like it's displayed in the Microsoft Monaco playground."
Current monaco-react:
image

Microsoft playground
image
https://microsoft.github.io/monaco-editor/playground.html?source=v0.45.0#XQAAAAIiAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0jtAyAEiAJM8XEuX7Os378jBGtVLkr6ryuhqvky-XZ9Sy0vyFSI1m9lYQpwqOsaKmhydYWIo-9hGbv_4wlPIsEpVooDN3UCgYV8kLlvOGD8rooZ1WJ_A9v5uEdBOb0AipkE4Iowchu_BgMrpPL1Ntca8LopanXcEtdWz5KKsCh_UeVKP09Ty-lq0ScxsMyFQQoUHz7UPX6EShb6_1BGocdGyMty7yhEbiFaNu0t7oNdVD7EfTq8jtjs2OL5QX8iaMMvX8twO43_yROfbw6FOvzdKtO248gmQJMdPIbf_JFI5cDQtJf25meP_NQ7wAA

@2Lavine
Copy link
Author

2Lavine commented Apr 26, 2024

I try to add these options but didn't work

@suren-atoyan
Copy link
Owner

This is what I see in the link you've sent:

Screenshot 2024-04-26 at 10 10 25

@LewisLim
Copy link

LewisLim commented Jun 4, 2024

@erikologic
Copy link

Solved it adding this prop: options={{ glyphMargin: true }} somehow!

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

4 participants