如何使用 VSCode 的 Setting Sync 插件

Setting Sync 插件

使用插件將目前配置保存到GitHub上,之後只須要從GitHub上獲取,就能夠一次性安裝插件配置信息。git

適用於

電腦更換時還要一個個去搜索插件安裝,公司電腦和我的電腦同步github

  • 註冊申請github帳號spa

  • 安裝了git插件

步驟以下

一、首先在VSCode裏面搜索Setting Sync插件,安裝好後從新加載激活code

  • Upload Key : Shift + Alt + Ublog

  • Download Key : Shift + Alt + Dtoken

插件詳情頁

二、 Shift + Alt + Uip

  • 這一步好像在有文件打開時纔有用同步

新建tooken,命名爲code_sync

  • 在跳出來的頁面點擊 generate new tookenit

確認按鈕

  • 將生成的key輸入vscode命令框裏

key

三、上傳完成後會生成一個ID,要記下來
ID和key不一樣

四、使用Shift + Alt + D,輸入ID,便可開始同步配置

Key Features

  1. Use your GitHub account token and Gist.

  2. Can create Anonymous Gist without using your GitHub account token.

  3. Easy to Upload and Download on one click.

  4. Show a summary page at the end with details about config and extensions effected.

  5. Auto Download Latest Settings on Startup.

  6. Auto upload Settings on file change.

  7. Share the Gist with other users and let them download your settings.

  8. Supports GitHub Enterprise
    It Syncs

All the extensions and complete User Folder that Contains

  1. Settings File

  2. Keybinding File

  3. Launch File

  4. Snippets Folder

  5. VSCode Extensions Settings

  6. Workspaces

相關文章
相關標籤/搜索