vscode-drawio
vscode-drawio copied to clipboard
Data loss when updating VS Code - missing warning for unsaved changes
I lost a ton of work when VS Code was updated. There was no warning of unsaved changes (and I thought I did save the diagram in between), however, when VS Code reopened, the state of the file was that from 10 days ago.
One aspect of this issue is that the diagram document loses the ability to track that it was changed. Not sure how to reproduce it. When this happens, saving with Ctrl + s no longer works, but the user does not know about it! Only when looking at the last modified datetime, this becomes clear.
Possible solutions:
- Stop VS Code from closing the document (when updating itself), if there are unsaved changes
- Implement optional auto-save feature
- Investigate roll-back problem