excalidraw-vscode
excalidraw-vscode copied to clipboard
Files marked as dirty when opening
Sometimes when I open a *.excalidraw
file it immediately gets marked as dirty, If I hit save (without making any change) to clear the mark. The actual changes that get saved vary but I've seen the order of the properties change, and a number of property values change; version
, versionNonce
, updated
, but also height
and baseline
.
If I then close all editor windows, and then try to close vscode I get "Do you want to save the changes you made to file.excalidraw" popup.
Yes, please fix this as it super anoying when using excalidraw file in a git repo. If one has many files in VScode opening a file it changes immedately but you can not figure out which one has real changes in it.
I'm using *.excalidraw.svg as container for the metadata
BTW: excalidraw is awesome!
I love working with excalidraw, and more on vscode, but this is extremely annoying and makes it difficult to keep files synced when trying to work with files that were just opened but not changed clean in the source control repo, introducing artifact changes and causing conflicts.