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

Data loss when updating VS Code - missing warning for unsaved changes #434

Open
JSchoeck opened this issue Jul 4, 2024 · 0 comments
Open

Comments

@JSchoeck
Copy link

JSchoeck commented Jul 4, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant