Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to migrate the vscode configuration to a new computer

Shulou Source: shulou.com Published: 2022-06-02 17:50:07 10月02日 Update

Editor to share with you how to migrate the configuration of vscode to the new computer. I hope you will learn a lot after reading this article. Let's discuss it together.

How to migrate the configuration of vscode to a new computer:

1. Install and expand Settings Sync

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

2. Set Github Person Access Token

This step requires you to have a github account, because we need to upload the configuration to github gist to save.

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

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

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

3. Upload your configuration to Github Gist

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

Enter the access token saved in step 2

After a successful upload, a series of messages will appear in the console output. Remember two key messages. Github Token is the equivalent of password, and Github Gist is the id you saved in Github Gist. You will need to use these two messages to download the configuration later.

GitHub Token: 08eed0310a0ac7*17cbc88d257aa8GitHub Gist: 66671319ae7*f621fb2ec737fe # can access this information through https://gist.github.com//

Configure VSCode for new Devic

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

After reading this article, I believe you have a certain understanding of how to migrate the configuration of vscode to the new computer. You want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!

Tags: Configuration information input computer two articles accounts success key can be passed place done password console new device method time more steps knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Shulou Technology Shulou Tech Info vpn