excalidraw / excalidraw-vscode

Excalidraw for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor
MIT License
477 stars 60 forks source link

Provide a Toggle to switch from rendered view to JSON #93

Open bjesuiter opened 1 year ago

bjesuiter commented 1 year ago

When I see that an excalidraw document changed, I click it to see the diff, like any other codefile.

However, when I do this with an excalidraw file, it opens the renderer on both sides, which is not very practical.

image
  1. I have to adjust the zoom and position for both sides manually
  2. Changes are not highlighted in rendered view.
  3. No division between the rendered images.

My idea for the easiest workaround possible would be to have a button to switch the renderer to JSON mode, which would allow VSCode to show the usual code diff window.