Setting Sync contains all extensions and complete user folders
-
Settings file
-
Shortcut key Settings file
-
Launch File
-
Snippets Folder
-
VSCode extension Settings
-
The workspace
shortcuts
-
Upload: Shift + Alt + U (Sync: Update/Upload Settings)
-
Shift + Alt + D (Sync: Download Settings)
If the shortcut keys conflict, you can set Ctrl + K + S to configure other shortcut keys or Ctrl + P/F1 to enter >sync on the command window, corresponding commands are displayed for you to select
configuration
1. Install Sync plug-in “Settings Sync”
2. Go to Github -> Settings on the left Developer Settings -> Personal Access Tokens
3. Click the button Generate new token Add a token
4. Go to THE VSCode configuration and configure the token locally
(Sync: Update/Uplaod Settings) Shift + Alt + U type your token in the popover and press Enter to generate a syncsummary.txt file
Something like package.json
You can share your tokens with your team so that the team has a common set of Settings
5. Set synchronous download
(Sync: Download Settings) Shift + Alt + D (Download Settings) Type your GIST value in the popup and it will be synchronized in a few seconds
PS: If you don’t know gist, it can be checked in Your gists
6. If you want to reset the synchronization Settings or change other tokens
-
Method one:
- Copy and regenerate good tokens
- Click the Command panel or
Ctrl+Shift+P
The inputsync:
Go to Advanced Options and press Enter - The selected
Edit Extension Local Settings
(Edit local extension Settings) - Enter the
syncLocalSettings.json
File, find"token"
And modify the
-
Method 2: Modified Win find the configuration file: C: \ Users \ \ Administrator \ AppData \ Roaming \ Code \ User Mac: ~ / Library/Application Support/Code/User/syncLocalSettings json Linux: . ~ / config/Code/User/syncLocalSettings json into the directory, find syncLocalSettings. Json this file, find the token, and replace the back copy of value, can smoothly synchronization configuration information