golf1052 / code-sync

Sync VSCode extensions using your favorite file synchronization service (OneDrive, Dropbox, Google Drive, etc.)
https://marketplace.visualstudio.com/items?itemName=golf1052.code-sync
MIT License
34 stars 3 forks source link

Settings get wiped out #16

Closed golf1052 closed 7 years ago

golf1052 commented 7 years ago

I've seen two reviews that mention that settings can get wiped out. I'm guessing this may be due to how things are being saved when deactivate is called. I should get around to fixing this at some point this week but for now I would recommend either

  1. Turning off auto import on setttings, keybindings, and snippets
  2. Backing up your settings files
  3. Use Settings Sync
golf1052 commented 7 years ago

Ok I pushed a new update which should mitigate this issue. Now the extension shouldn't import empty files if for some reason the export failed.

golf1052 commented 7 years ago

Issue fixed with commits
d4c4f8ec215d204cd746e55c3bfbe872b00f220a
5b67412ed58cd2347600b0dc92b0999b3ee57b1d
f7b3bbdf8e12cc61bd1a784df64ac3ec179199ed

Just pushed version 2.2.0.