Synchronize Visual Studio Code settings with Gist

Synchronize Visual Studio Code settings with Gist

To synchronize Visual Studio Code settings between different computers, you need to follow these simple steps:

  1. Install the extension: Settings Sync in Visual Studio Code

  2. Generate a token on GitHub according to the instructions from the extension

  3. In the Visual Studio Code program, press Shift + Alt + U and enter the token

  4. If the wrong token was entered, you can reset the settings, and re-enter: F1 -> Sync -> Sync: Reset Extension Settings

  5. After entering the token, the Gist ID will be shown, which you need to copy and save to adjust the load on other computers.

  6. Install custom extensions on all computers with Visual Studio Code. To access the settings: Ctrl + K Ctrl + S

  7. To call the Settings Sync settings use the shortcut: F1 -> Sync


Expansion settings on the main computer for upload to Gist:

Customization Description
sync.gist”: “*a9c35f383025a9589b051c1*“, ID to use on other machines to load settings with Gist
“sync.lastUpload”: “2018-08-04T10:41:16.461Z”, Last unloaded time on Gist
sync.autoDownload”: false, Does automatic loading of settings with Gist enabled when the editor is started
sync.autoUpload”: true, Is the upload of settings enabled to Gist when the editor is started
sync.lastDownload”: “”, Last loading time of settings from Gist
“sync.forceDownload”: false, Does not load settings with gist if they are the latest version
sync.quietSync”: true, The page with the result after loading / unloading (true - do not show)
sync.showSummary”: true, Show in the status bar the status of loading / unloading

Extension settings on other computers to boot from Gist:

Customization Description
sync.gist”: “*a9c35f383025a9589b051c1*“, ID to use on other computers to load settings with Gist
sync.lastUpload”: “”, Last unloaded time on Gist
sync.autoDownload”: true, Does automatic loading of settings with Gist enabled when the editor is started
sync.autoUpload”: false, Is the upload of settings enabled to Gist when the editor is started
“sync.lastDownload”: “2018-07-28T11:37:29.763Z”, Last loading time of settings from Gist
“sync.forceDownload”: false, Does not load settings with gist if they are the latest version
sync.quietSync”: true, The page with the result after loading / unloading (true - do not show)
sync.showSummary”: true, Show in the status bar the status of loading / unloading

After these settings, we get identically configured Visual Studio Code programs.