Home > Development Tools > VSCode > body text

How to synchronize configuration with vscode

王林
Release: 2020-01-09 14:01:51
Original
7049 people have browsed it

How to synchronize configuration with vscode

Step one: In VSCode, install the plugin settings sync

How to synchronize configuration with vscode

Step 2: Upload VSCode configuration to GitHub

Complete this step requires GitHub token and GitHub gist

Enter the GitHub settings interface & create GitHub token

How to synchronize configuration with vscode

How to synchronize configuration with vscode

How to synchronize configuration with vscode

How to synchronize configuration with vscode

##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

How to synchronize configuration with vscode

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.

How to synchronize configuration with vscode

After the configuration is uploaded successfully, the following prompt will appear in the output of VSCode:

How to synchronize configuration with vscode

How to synchronize configuration with 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 configuration

In 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 tutorial

The 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template