Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
/ vscode-config Public archive

在多台设备上同步vscode配置的命令行工具

License

Notifications You must be signed in to change notification settings

januwA/vscode-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

在多台设备上同步vscode配置的命令行工具

原来写了个vscode插件,但不怎么好用

  1. 创建一个gist并获取gist的id,在gist中创建一个c.json5的文件,配置会被写入进去
  2. 创建一个github的token,并给与repo和gist权限。
  3. 将这两个配置保存起来vc config -h

Install

$ npm i -g vscode-config

use

$ vc -h
$ vc config -h
$ vc config --token <your github token>
$ vc config --id <your gist id>

拉取配置到本地

$ vc pull

如果pull卡住了,就退出进程在执行一次

pull完后,记得重启vscode

将本地配置保存到gist

$ vc push

test

$ node ./bin/vc -h
$ npm link
$ npm unlink

About

在多台设备上同步vscode配置的命令行工具

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published