preface

Code Settings sync: Vsdoe is a plug-in designed to synchronize vscode configuration to Gitee. With this plug-in, you can synchronize your configuration on any new device, new platform, and quickly build your familiar IDE environment (vsDOE may not be an IDE, but it’s too powerful as a text editor). Currently, Settings Sync is used to synchronize the configuration to Github, but the speed is too slow. You can find detailed tutorials on how to synchronize the configuration to Gitee. As a plug-in, Code Settings Sync has the following features:

  1. Easy installation: you can install code Settings sync in VsCode directly.
  2. Simple configuration: You only need to configure it in setting JSON
"Gitee. The gist" : "* * * * * *", # gist is gitee code segment ID "gitee. Access_token" : "* * * * * * *", # access_token is gitee generated private tokenCopy the code
  1. Easy to use: only two commands are requiredupload setting.download settingYou can do it
  2. Security:gitee.access_tokenYou only need to check when generating private tokens in GiteegistsCan,user_infoPermission is mandatory.

steps

1. Look for downloads in the plugin librarycode settings sync

2. Create Gist in Gitee

Because of Gitee’s restrictions, it is not possible to create an empty Gist, so you can successfully create it by filling in the relevant content as required. Here I casually fill in some information as a demonstration

3. Obtain GiteeID

Gist: get your GiteeID, which is c7AZrd902Weis6opjl4ub23. This ID is written in the gize. Gist: property of setting JSON

4. Create a private token

Gists are gists just tick the box of the gists when generating private tokens in the Gitee. User_info access is mandatory. Gists are gists in the gists. The private token is written in the Githee.access_token property of setting JSON

5. Configure VsCode setting JSON

Click Settings, then open extension Settings

6. Upload the configuration

The upload configuration command is upload setting. Use the shortcut key Ctrl+Shift+P to call up the command line above VsCode and type upload setting

View the content in the output window below

This indicates that the configuration has been uploaded successfully.

7. How to synchronize configuration in the new VScode

This command generally occurs on new devices and just need to complete Step 5 of the gists. Gists and token are shown in the gitee code snipfragment and filled in the gists in the plug-in configuration of a new device. Click the shortcut key Ctrl+Shift+P to open the VsCode Command Palette and enter Download Setting.

8. Visual Studio Code download

Address: code.visualstudio.com/

To solve the problem of slow vscode download in China, first find the file to download on the official website and click download.

If you can see the download address in your browser or download software, copy it (arrow in the image below).

Then change the content in the red box to vscode.cdn.azure

Example:

https://az764295.vo.msecnd.net/ stable/ce72a4466fbb27b715c3722558bb15afa9f48 / VSCodeUserSetup - 507 x64-1.57.1. ExeCopy the code

After the replacement:

https://vscode.cdn.azure.cn/ stable/ce72a4466fbb27b715c3722558bb15afa9f48 / VSCodeUserSetup - 507 x64-1.57.1. ExeCopy the code

This is the domestic image, in the browser new TAB page to open the replacement download address, this time you will find the speed directly off.

9. WillVScodeChange the environment to Chinese

1) To download and Install the Chinese language package, click Extensions on the left toolbar or use the shortcut key [Ctrl+Shift+X], type Chinese, and click Install to Install Chinese simplified

2) Configure the environment

Use the shortcut key [Ctrl+Shift+P] to pop up the search command box, enter language, find Configure Display language, click, and select the locale property as zh-CN, as shown below:

Then select zh-cn:

3) Restart VScode. The installation is successful and the configuration is complete.

10. Select 15 necessary VSCode plug-ins

Selected 15 must-have VSCode plug-ins