When using VS Code, the configuration cloud can be synchronized. This way, when we change computers, the configuration can be synchronized to local with one click, and there is no need to reinstall plug-ins or reconfigure software.

We can also share the configuration with other users, and we can use the configuration of other users for our own use.

Synchronize your local configuration cloud to GitHub:

(1) Install settings-sync.

(2) After installing the plugin, login with your GitHub account in the plugin.

(3) After logging in, you can select a GIST of others in the interface of VSCODE; You can also ignore it and create your own Gist.

(4) Using the shortcut key “Command + Shift + P”, type sync in the Command box that pops up and select “Update/Upload Configuration” to upload the latest configuration to GitHub.

When switching to another computer, synchronize configuration from cloud to local:

(1) When switching to another computer, install settings-sync in VS Code first.

(2) After installing the plugin, login with your GitHub account in the plugin.

(3) After logging in, the previous synchronization record will automatically appear on the interface of the plug-in:

In the image above, we click on the latest record to synchronize the latest configuration of the cloud to our local location:

If your remote configuration is not successfully synchronized to local, there may be a network problem. At this point, use the shortcut “Command + Shift + P”, enter sync in the Command box that pops up, and select “Download the configuration” to try it a few times.

Using someone else’s configuration:

If we want to use someone else’s configuration, we first need them to provide you with GIST. The specific steps are as follows:

(1) Install settings-sync.

(2) Use the shortcut key “Command + Shift + P”, enter sync in the pop-up Command box, and select “Download Configuration”

(3) In the pop-up interface, select “Download Public Gist” and then enter the Gist that someone shared with you. Note that you do not need to log into your GitHub account for this step.