0

I've built a new pc, and I'm trying to transfer all my VS Code settings from my old pc to my new one. And I came across Settings Sync within VS Code. I sign in on both machines using my GitHub account. I click Sync Now, it somewhat works in that only five of my extensions show up on my new PC, I have over 100. But then on my old pc all but those same 5 extensions for some reason, gets removed.

For a brief moment, I was able to get all my extensions back on my old pc by clicking in the sync activity (remote) tab and restoring to a previous state. The problem is, whenever I open a new window, they're gone again. Now when I try to restore a previous state, it just loads those same 5 extensions only.

I came across this post Recover lost settings + extensions and more?

And I tried JΛYDΞV's suggestion. I can see the backup JSON files which contain info for all my extensions when I view it in Windows explorer. However, when I try to view them in VS Code under the Sync Activity (Local) panel, I get this error:

Cannot read properties of undefined (reading 'id')

Would anyone have any other ideas as to how I can get my extensions back on either machine?

I should also add that before I tried any of this I did actually copy the entire VS Code folder under AppData\Roaming to an external hard drive and for the heck of it overwrote that same folder on my new pc just to see if that would remedy the problem, but then however no extensions show on my new pc.

Would anyone have any more steps I could try? The last thing I would want to do is to have to add all those extensions again

rioV8
  • 24,506
  • 3
  • 32
  • 49
Jinjoe
  • 51
  • 1
  • 1
  • 9

0 Answers0