Home > Article > Development Tools > How to synchronize configuration with vscode
Step one: In VSCode, install the plugin settings sync
Step 2: Upload VSCode configuration to GitHub
Complete this step requires GitHub token and GitHub gist
Enter the GitHub settings interface & create GitHub token
##After clicking [Generate new token], you will see the When you see such a string of characters, you can also see a prompt on the interface, prompting you to save this string of characters, because you will not be able to see this string of characters in the future This The string character is the GitHub token that will be used to synchronize the VSCode configuration in the future, so it must be saved. Now GitHub supports free private repositories, so save this GitHub token to your private repository for easy search in the future. . Generate gist, open VSCode, press shift alt u and enter the GitHub token just generated in the pop-up window. If VSCode does not report an error message, just wait for VSCode to upload the configuration to GitHub. After the configuration is uploaded successfully, the following prompt will appear in the output of VSCode:##Here you can see the GitHub Gist, and save this string of characters together with the previous GitHub token. This is also the password that will be used to download the configuration in the future.
output The Extensions Added at the bottom is the plug-in information that has been synchronized.
Step 3: Download the VSCode configurationIn the VSCode that needs to download the configuration, also install the settings sync plug-in, then press alt shift d and enter your input in the pop-up window gist value, wait for a moment and the synchronization will be successful.
Recommended related articles and tutorials:
vscode tutorialThe above is the detailed content of How to synchronize configuration with vscode. For more information, please follow other related articles on the PHP Chinese website!