I tried to sync my visual studio code settings / extensions. Many sync steps I did manual.
I found then these both tools
The first is from Microsoft and integrated (out of the box) in VScode. The second one is a high rated extension.
When I want to start a sync where should I start? Is there a recommended way? I cannot see many differences for the both tools.
My environment Win 10 with VScode and additional two times WSL2 Alpine and Ubuntu each with vscode.
Khan's Setting Sync can have multiple profile. Also OSS version of VS Code such as VSCodium doesn't include this feature, so the extension might be the only way to have this feature. Also, it is sometimes useful to be able to see different versions of your settings in Github Gist, as it maintains versioning.
You just need to follow these steps: Go to File > Preferences > Setting Sync is on (its the last option in the menu). Then click on Settings sync: Show Synced Data. You'll notice Side Bar open with 2 sections: SYNC ACTIVITY and SYNCED MACHINES.
Git Status Bar actions# There is a Synchronize Changes action in the Status Bar, next to the branch indicator, when the current checked out branch has an upstream branch configured. Synchronize Changes will pull remote changes down to your local repository and then push local commits to the upstream branch.
Settings Sync in Visual Studio Code 1 Search for “Settings Sync” in the Command Palette The default shortcut to open the Command Palette: Mac: ⌘ + Shift + P Linux & Windows: Ctrl + Shift ... 2 Turn on Settings Sync and sign in Currently, you can sign in using a Microsoft/GitHub account (I use GitHub). ... 3 All done!
Settings Sync lets you share your Visual Studio Code configurations such as settings, keybindings, and installed extensions across your machines so you are always working with your favorite setup. You can turn on Settings Sync using the Turn On Settings Sync... entry in the Manage gear menu at the bottom of the Activity Bar.
The built-in sync requires account in MS or Github. According to the VS Code documentation, it is completely different from Khan's Settings Sync extension. Now that the VS Code has introduced the feature of syncing, the writing might be on the wall for the extension.
To sync your VS Code configuration to another computer or VS Code environment, you want to first follow steps 1 and 2 above — installing the extension and logging in to Github. The difference is this time, you’ll want to configure VS Code to download your settings instead of upload them.
the newest vscode update has the additional settings in which you can turn on the settings sync. Just go to file -> preferences -> settings sync. I used to use the extensions for my settings sync but now i don't use it anymore
Summary: Use VS Code's built-in Setting Sync for most cases. Use Khan's Setting Sync extension if you require multiple profiles (ie multiple settings) or you are running open source version of VS Code (such as VSCodium).
Before the official VS Code's version was released, the most popular way to sync VS Code settings across computers (and across platforms like Windows, Mac and Linux) was possible with Shan Khan's Settings Sync - Visual Studio Marketplace. This extension works really well, but it requires the users to set up their Github as it saves the settings to their private Gist.
VS Code had recently released its own Settings Sync, which unfortunately uses the same name as the extension, causing some confusion amongst the users. The built-in sync requires account in MS or Github. According to the VS Code documentation, it is completely different from Khan's Settings Sync extension. Now that the VS Code has introduced the feature of syncing, the writing might be on the wall for the extension. However, the extension has other features that is not available in the VS Code, so I think it will continue to be used and updated.
Khan's Settings Sync extension might be preferrable over the VS Code's built-in sync for some cases. Khan's Setting Sync can have multiple profile. Also OSS version of VS Code such as VSCodium doesn't include this feature, so the extension might be the only way to have this feature. Also, it is sometimes useful to be able to see different versions of your settings in Github Gist, as it maintains versioning. Finally, Khan's Settings Sync is also available for Azure Data Studio, which is based on VSCode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With