Which vscode config files to restore on new system to duplicate setup?

705 Views Asked by At

I'm using vscode on linux and backed up ~/.config/Code/User/settings.json. I copied that file to a new system and installed vscode there, but none of the extensions, etc that I had configured were installed because settings.json doesn't contain any information about extensions.

What's the minimum set of files that I need to restore to duplicate my vscode setup on another system? I could copy all of ~/.config/Code, but I'd like to know what the minimum set of files I need is to get the settings and extensions back.

1

There are 1 best solutions below

3
On BEST ANSWER

Since you are using vscode on linux you should backup the files located under ~/.vscode/extensions in addtion to what you are currently doing (i.e, backing up ~/.config/Code/User/settings.json)

The Settings Sync is one great extenstion which coders use much for backing up all your vscode settings. Give it a try!

Hope this helps!