Hacker News new | ask | show | jobs
by stavros 701 days ago
Is this if you close the entire editor? If you just close the file, do the changes remain next time you open it?
1 comments

Just if you close the entire editor. Editors with this feature, if you close the file it will ask if you want to save changes, click no and the changes are lost.
That's very good UX, I really like that. I wonder why it's not more widespread.
It's more common than you would expect in IDEs: VS code, sublime, notepad++, though I would love to see it adapted to other types of software such as audio, graphic editors, etc.
How do I do that in vscode? When I'm trying to close vscode, it asks me to save unsaved files.