'How can I VSCode to pop a notification "File not saved" when I turn it off?
The thing is:
- I made a modification on a file.
- I didn't save it.
- I didn't close the editor; I close VSCode directly, and it didn't ask me about the unsaved file.
- I deleted the file permanently, not in the bin.
- When I open VSCode, it restores the deleted file.
How could I turn off this function? I mean how to set it to pop a notification when I close it without saving, like other software, rather than restore the file when I reopen the VSCode even if I have deleted the file permanently.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
