Post ATp1KVOnvMeN3raU88 by tay@tech.lgbt
 (DIR) More posts by tay@tech.lgbt
 (DIR) Post #ATp1KTcuVwkHZ2Aiq8 by tay@tech.lgbt
       2023-03-20T09:44:17Z
       
       0 likes, 1 repeats
       
       fun fact about vscode:every time you make a change to a file it copies it to ~/Library/Application Support/Code/User/History or the appdata folder on Windows.have fun with that information if you edit files with sensitive information in them
       
 (DIR) Post #ATp1KVOnvMeN3raU88 by tay@tech.lgbt
       2023-03-20T12:27:46Z
       
       0 likes, 0 repeats
       
       while having the history is definitely a handy feature, it's a privacy footgun and should really be off by default:there seems to be no retention policy, on my old install, it has history dating from April 2022 (when the feature was introduced) to dec 2022 (when i wiped that machine)it stores 50 entries per fileit stores the file path, modified time for each entry and the entire file contents at that timeit can be disabled with the workbench.localHistory.enabled preferenceit is barely documented, only mentioned in this change log from when it was introduced https://code.visualstudio.com/updates/v1_66#_local-history