How to Sync VS Code Settings Across Your Machines
You spent some time getting your VS Code environment just as you want it. What if your machine is unavailable and you need to use another? Luckily, VS Code is free and a slim 236MB download. You'll be up and running again in no time. So no problem, right?
Well yes, except that all your settings, shortcuts, and extensions are now missing. The ones you've been tweaking almost daily to get things perfect, like moving the search box from the sidebar to the footer. You could remember all the settings, shortcuts and extensions, but it's still going to take a while to set them up.
When synchronizing multiple machines, the task becomes even harder. In such cases, it makes sense to automate the process.
This guide assumes that you know that VS Code is a lightweight code editor, and that you already have it installed on at least one machine. You will also need a GitHub account because your settings will be stored in a secret GitHub Gist.
There are a few extensions for syncing settings in VS Code, and a new built-in function (currently in 'preview').
We are going to install the well-established and tested Settings Sync extension by Shan Khan. It's been going for years and installed by millions.
Read on to find out how to backup and synchronize your VS Code environment in 9 short steps, with the minimum of fuss.
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.