title: restore previous version of a saved file in vscode
body: <p>TL;DR: I have saved a file, I need the previous version. What do I do?</p>
  <p>I had had a lot of code, cut them (<code>ctrl+x</code>), and wanted to paste them somewhere else that VS code crashed. I opened it again, copy some other lines, and BOOM! I can't access the first cut lines. Is there any way I can have them back?</p>
  <p>Notes:</p>
  <ol>
  <li><p>I didn't commit them.</p>
  </li>
  <li><p>Because of that continues crash, I installed/uninstalled VScode 2-3 times, even installed <code>VS-insiders</code> <strong>BUT</strong> I saved the <strong>PREVIOUS</strong> data files like <code>.vscode</code> folder in <code>C:\Users\User</code> or <code>Code</code> folder under <code>C:\Users\User\AppData\Roaming\Code</code> directory, for all previous VScode installations (All are for today).</p>
  </li>
  <li><p>I read links like <a href="https://stackoverflow.com/questions/42635755/visual-studio-code-backup-mechanics">this</a>, but my files are saved. They aren't saved in that <code>backup</code> folder.</p>
  </li>
  <li><p>VS is configured to autosave files (after a delay), so I don't press <code>ctrl+s</code> manually.</p>
  </li>
  <li><p>I have git enabled, does that help? The file is staged btw.</p>
  </li>
  </ol>