Home > Development Tools > VSCode > body text

How to migrate vscode configuration to new computer

Release: 2020-03-25 10:19:21
Original
10255 people have browsed it

How to migrate vscode configuration to new computer

How to migrate vscode configuration to a new computer:

1. Install the extension Settings Sync

Search for Settings Sync in the VSCode extension and install it. After the installation is complete, restart VSCode

How to migrate vscode configuration to new computer

2. Set up Github Person Access Token

This step requires you to have a github account because we need to upload the configuration Save it on github gist.

After you have a github account, go directly to this page: https://github.com/settings/tokens and click generate new token.

How to migrate vscode configuration to new computer

#Write a description of the token and check the gist option, and click Next.

How to migrate vscode configuration to new computer

At this time you will generate an access token. Remember to find a place to save your access token (for example, I saved it on a cloud disk or something), and then synchronize the configuration. use.

How to migrate vscode configuration to new computer

3. Upload your configuration to Github Gist

Open VSCode, ctrl (mac is command) shift p, enter sync, click Sync: Upload / Update Settings

How to migrate vscode configuration to new computer

Enter the access token saved in step 2

How to migrate vscode configuration to new computer

After the upload is successful, it will appear in the console output A series of information, remember two key pieces of information, Github Token is equivalent to a password, Github Gist is the id you save in Github Gist, these two pieces of information will be used in future download configurations

GitHub Token: 08eed0310a0ac7**********17cbc88d257aa8
GitHub Gist: 66671319ae7********f621fb2ec737fe # 可以通过https://gist.github.com/<username>/<gist id> 访问到这个信息
Copy after login

Configuring new devices VSCode

Install the Settings Sync extension, ctrl (mac is command) shift p, enter sync, click Sync: Download Settings, enter access token and gist id.

Recommended learning: vscode tutorial

The above is the detailed content of How to migrate vscode configuration to new computer. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!