purplestone / vscode-saveBackup

This is a vscode extension for backup file when you save.
8 stars 6 forks source link

Create directory tree, re issue: backup folder #5 #7

Open giampaolo44 opened 3 years ago

giampaolo44 commented 3 years ago

Hi @purplestone, would you consider checking this update to your extension? It should address @lhenry2k request.

In case you were ok with the changes, I could free the code from all the console.logs and update the README.

In essence the update creates two new options for the user:

  1. to recreate the directory folders where the original file was in,
  2. to choose if the directory tree should be a full or relative path (this second option assumes that the user places his backup folder at the same level than the projects folders, therefore he does not need the full path)

Looking forward to your feedback, Giampaolo