使用插件將目前配置保存到GitHub上,之後只須要從GitHub上獲取,就能夠一次性安裝插件配置信息。git
電腦更換時還要一個個去搜索插件安裝,公司電腦和我的電腦同步github
註冊申請github帳號spa
安裝了git插件
一、首先在VSCode裏面搜索Setting Sync插件,安裝好後從新加載激活code
Upload Key : Shift + Alt + Ublog
Download Key : Shift + Alt + Dtoken
二、 Shift + Alt + Uip
這一步好像在有文件打開時纔有用同步
在跳出來的頁面點擊 generate new tookenit
將生成的key輸入vscode命令框裏
三、上傳完成後會生成一個ID,要記下來
ID和key不一樣
四、使用Shift + Alt + D,輸入ID,便可開始同步配置
Use your GitHub account token and Gist.
Can create Anonymous Gist without using your GitHub account token.
Easy to Upload and Download on one click.
Show a summary page at the end with details about config and extensions effected.
Auto Download Latest Settings on Startup.
Auto upload Settings on file change.
Share the Gist with other users and let them download your settings.
Supports GitHub Enterprise
It Syncs
Settings File
Keybinding File
Launch File
Snippets Folder
VSCode Extensions Settings
Workspaces