Home>Article>Development Tools> Share the VSCode synchronization configuration method to allow you to migrate your computer environment gracefully!
This article will take you through theVSCodesynchronization configuration method, so that you can elegantly migrate the computer environment and take away the VSCode configuration from your previous job. I hope it will be helpful to everyone!
If a worker wants to do his job well, he must first sharpen his tools. It’s the annual job-hopping competition again. I wonder if everyone is getting restless! If you have found a suitable niche and are ready to quickly integrate into the new company, then synchronizing the VSCode plug-in and configuration may be of great help to you. Without further ado, let’s get started!
1. Install the plug-in
Search for Settings Sync in the plug-in store and install it.
[Recommended study: "vscode introductory tutorial"]
2. Log in
There are two ways to log in. I usually choose Github to log in and clickLOGIN WITH GITHUB
.
The default browser will automatically open at this time, and we clickAuthorize shanalikhan
to authorize.
3. Upload configuration information
After successful authorization, useshif ctrl p
Open the naming panel, enter Sync, and selectUpdate/Upload Configuration
.
At this time, aGist
message will be automatically created and uploaded to Github. After the upload is successful, the console will output a prompt message:
4. Check the Gists information
in Log in to Github in the browser, open the drop-down menu, and selectYour gists
.
You can see that theGist
you just created has appeared. Click to see the complete configuration information.
5. Download configuration
The question arises at this time, how to use the computer in the new company Where is the configuration information downloaded fromGist
? The method is also very simple. First log in according to the above method. After successful login, the following interface will appear:
Shown here are allGist
in Github , oneGist
corresponds to one configuration information, choose the one you want to use. At this time,Gist ID
will be automatically configured into your VSCode.
Then open the naming panel again, enter Sync, and selectDownload Configuration
.
#The console also outputs the corresponding prompt information. At this time, all plug-ins and configurations have been synchronized! Isn’t it so easy!
6. Summary
In fact, VSCode has its own synchronization function, which is in the settings in the lower left corner. But I don’t think it’s easy to use, and I don’t know where the configuration information exists. Interested friends can try it themselves.
Note: IfYour gists
cannot be opened in Github, then you may need some scientific methods to access the Internet.
For more knowledge about VSCode, please visit:vscode tutorial! !
The above is the detailed content of Share the VSCode synchronization configuration method to allow you to migrate your computer environment gracefully!. For more information, please follow other related articles on the PHP Chinese website!