vscode synchronous plug-sync (gist, token)

Many online tutorials synchronization, according to the time course has been operating upload error: sync: invalid gist ID

Find a problem for a long time and know the gist token is two things. The following re-sort under:

First, download and install the plug-Setting sync

Second, to generate the gist github

   

 

 Enter your gists

 

 

Just give their gist from a name, add content, and then "Create secret gist"

 

 The image above is the gist af0d9d448e78f5adfe6bc94418fe7034

Third, generate token (see other tutorials online)

Four, vscode configuration gist and token

       vscode in:

        1,, Ctrl + P recall command block

        2. Enter> sync: advanced option

        3, find the open settings

        4, there is provided the following interface

 

 Gist ID which is acquired our above Gist ID, the token is other tutorial (below) generated token

 

 

Enter json automatically updated after filling is completed.

5, shift + alt + u: uploaded to the local configuration github

6, on the other device, to download plug-sync, shift + alt + d: github to download to the local configuration.

       

Guess you like

Origin www.cnblogs.com/hebdzw/p/11456325.html