From 98559fa6f9fa01b82898654080a698489aba0c93 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Andrea Date: Mon, 13 Feb 2023 23:47:26 +0100 Subject: [PATCH] docs: vscode unsaved files --- docs/privacy-and-security.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/privacy-and-security.md b/docs/privacy-and-security.md index 66d1196b..9e4426f6 100644 --- a/docs/privacy-and-security.md +++ b/docs/privacy-and-security.md @@ -92,6 +92,18 @@ pattern for the `workbench.localHistory.exclude` setting in the [Settings editor On Windows, the history location is typically found at `%APPDATA%\Code\User\History`. +Visual Studio Code also creates a copy of all unsaved files that are open in +the tabs of a window. Visual Studio Code stores these copies in a backup +location that is automatically cleaned when you save the file. However, if +your computer were to shut off before you save the file, or the Visual Studio +Code process were killed unexpectedly, then an unencrypted temporary file will +remain on your disk. You can manually delete these files from the backup +location. + +!!! note + On Windows, the backup location is typically found at + `%APPDATA%\Code\Backups`. + ### Vim Vim stores progress data in a so called Viminfo file located at `~/.viminfo`