With every new project comes another development environment. Another installation of Visual Studio Code and the inevitable loss of productivity whilst you get all the necessary extensions installed and configured. If only there was a quick and painless way to perform a VSCode Configuration Sync between environments.

A quick search today for a method to sync configuration between VSCode environments revealed a VSCode Extension from Shan Ali Khan.

The VSCode Settings Sync Extension does everything the name implies leveraging GitHub Gists as the configuration store. The process is super simple too. Simply;

  • Install the Settings Sync Extension
  • Generate a GitHub Access Token to allow it to create a configuration Gist (one time task)
  • Upload your VSCode Configuration from your VSCode instance that has your Gold Config
  • Install the Settings Sync Extension on the target machine
  • Download your config and watch as it retrieves your configuration and installs all your extensions

The last two steps can then be repeated in each new environment. And if you enable Auto-upload (disabled by default) on your Master Configuration machine your configuration stored in the associated Gist will always be the latest. Likewise you can Auto Download your configuration to target machines (disabled by default).

The documentation for Settings Sync is super easy to follow and will have your environments in sync super quick.

The screenshot below shows Settings Sync downloading the 36 extensions I have configured that I use for the different projects I write into a new environment.

VSCode Configuration Settings Sync between computers

Thanks for your work Shan Ali Khan. I’ve donated to your great extension.

Darren Robinson

Bespoke learnings from a Microsoft Identity and Access Management Architect using lots of Microsoft Identity Manager, Azure Active Directory, PowerShell, SailPoint IdentityNow and Lithnet products and services.

Recent Posts

Visualising your IP Address using PowerShell and AI

A few weeks back the Microsoft AI Tour was in Sydney Australia. There was a…

2 months ago

Where the heck is the PowerShell Module loading from?

If you're anything like me you always have PowerShell open, and often both PowerShell and…

5 months ago

Express Verified ID Setup

Decentralised Identity is a technology I'm passionate about and have written many posts and tools…

6 months ago

Orchestrating 1Password with PowerShell

Over two years ago I authored a PowerShell Module that enabled the automation of 1Password.…

9 months ago

Entra ID Tenant ID & Custom Domains PowerShell Module

Buried in my PowerShell Snippets Vol 4 post from 2021 is the PowerShell script and…

10 months ago

Windows Subsystem for Linux instance has terminated

Short post on how to recovery from "The Windows Subsystem for Linux instance has terminated"…

10 months ago

This website uses cookies.