vscode - 使用Settings进行同步扩展以及配置信息等
2024-10-21 12:38:10
1. 创建token(记住要复制上面的token):
https://github.com/settings/tokens.
2. 创建gist id
当前如果不存在gist,则无法创建gist id,
保存gist id
3. Ctrl+Shift+P 安装Settings-sync(我们保存了gistid 和 tokens以后)
以及安装了Settings-sync以后,Ctrl+Shift+P输入:Sync
填入token以及gist id
{ "ignoreUploadFiles": ["projects.json", "projects_cache_vscode.json", "projects_cache_git.json", "projects_cache_svn.json", "gpm_projects.json", "gpm-recentItems.json"], "ignoreUploadFolders": ["workspaceStorage"], "ignoreExtensions": [], "replaceCodeSettings": {}, "gistDescription": "Visual Studio Code Settings Sync Gist", "version": 300, "token": "填入token", "downloadPublicGist": false, "supportedFileExtensions": ["json", "code-snippets"], "openTokenLink": true, "填入gist id": "sync" }
最后,使用Ctrl+Shift+P,输入
即可上传成功. 上传:Shift+Alt+U、下载:Shift+Alt+D
最后gist重新生成一份备份,以及一份新的gist id(保存好)
谨记保存新的gist id以及原来的token!!!
这是你以后恢复扩展插件的必要条件.
======================
恢复的话,即以下的步骤
下载vscode,安装settings-sync,最后按键shift+alt+u,输入你的token
最后更改gist id为上次的即可,再重启等待扩展安装
最新文章
- [转]HDFS中JAVA API的使用
- IOS判断设备是否已越狱
- Spring中bean的scope详解
- xampp 访问出现New XAMPP security concept 解决办法
- 8.20 css样式表:样式分类,选择器。样式属性,
- 数学对象Math ceil()、floor()、round()方法
- EF TO MYSQL 无法查询中文的解决方法
- RosettaNet
- JS 操作 radio input(cc问卷管理)
- 关于Eclispe插件开发起步(一)
- Html5页面返回机制解决方案
- Combination Sum,Combination Sum II,Combination Sum III
- canvas探照灯效果
- JPA关系映射之many-to-many
- hdu 4897 树链剖分(重轻链)
- oracle数据库链路和同义词
- 【教程】Git在Eclipse中的安装和基本使用
- 怎样在winform中上传图片
- CompletableFuture
- python测试开发django-24.表单提交之get请求