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
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
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 file
it stores the file path, modified time for each entry and the entire file contents at that time
it can be disabled with the workbench.localHistory.enabled preference
it is barely documented, only mentioned in this change log from when it was introduced https://code.visualstudio.com/updates/v1_66#_local-history