Skip to content

Instantly share code, notes, and snippets.

@ifyour
Last active May 10, 2020 03:55
Show Gist options
  • Select an option

  • Save ifyour/83187f0dd2de65cf98bbb8492b88cc21 to your computer and use it in GitHub Desktop.

Select an option

Save ifyour/83187f0dd2de65cf98bbb8492b88cc21 to your computer and use it in GitHub Desktop.
VSCode's Settings - Syncing
[
{
"id": "alefragnani.Bookmarks",
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "11.2.0"
},
{
"id": "azemoh.one-monokai",
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.4.6"
},
{
"id": "baurine.vscode-pangu",
"name": "vscode-pangu",
"publisher": "baurine",
"version": "1.0.4"
},
{
"id": "ChakrounAnas.turbo-console-log",
"name": "turbo-console-log",
"publisher": "ChakrounAnas",
"version": "1.4.0"
},
{
"id": "christian-kohler.path-intellisense",
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "1.4.2"
},
{
"id": "clinyong.vscode-css-modules",
"name": "vscode-css-modules",
"publisher": "clinyong",
"version": "0.2.3"
},
{
"id": "CoenraadS.bracket-pair-colorizer",
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"id": "dbaeumer.vscode-eslint",
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.5"
},
{
"id": "dsznajder.es7-react-js-snippets",
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.7.1"
},
{
"id": "eamodio.gitlens",
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.1"
},
{
"id": "EditorConfig.EditorConfig",
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.14.5"
},
{
"id": "eg2.vscode-npm-script",
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.11"
},
{
"id": "esbenp.prettier-vscode",
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "4.5.0"
},
{
"id": "formulahendry.auto-close-tag",
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.7"
},
{
"id": "formulahendry.auto-rename-tag",
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.2"
},
{
"id": "GitHub.github-vscode-theme",
"name": "github-vscode-theme",
"publisher": "GitHub",
"version": "1.0.0"
},
{
"id": "GitHub.vscode-pull-request-github",
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.16.0"
},
{
"id": "LaurentTreguier.vscode-simple-icons",
"name": "vscode-simple-icons",
"publisher": "LaurentTreguier",
"version": "1.13.2"
},
{
"id": "mhutchie.git-graph",
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.22.0"
},
{
"id": "ms-azuretools.vscode-docker",
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.1.0"
},
{
"id": "MS-CEINTL.vscode-language-pack-zh-hans",
"name": "vscode-language-pack-zh-hans",
"publisher": "MS-CEINTL",
"version": "1.45.1"
},
{
"id": "nonoroazoro.syncing",
"name": "syncing",
"publisher": "nonoroazoro",
"version": "3.0.13"
},
{
"id": "spywhere.guides",
"name": "guides",
"publisher": "spywhere",
"version": "0.9.3"
},
{
"id": "VisualStudioExptTeam.vscodeintellicode",
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.7"
},
{
"id": "wmaurer.vscode-jumpy",
"name": "vscode-jumpy",
"publisher": "wmaurer",
"version": "0.3.1"
}
]
// 将密钥绑定放在此文件中以覆盖默认值
[
{
"key": "shift+cmd+j",
"command": "extension.jumpy-word",
"when": "editorTextFocus"
},
{
"key": "Escape",
"command": "extension.jumpy-exit",
"when": "editorTextFocus && jumpy.isJumpyMode"
}
]
{
"workbench.startupEditor": "none",
"editor.fontSize": 14,
"editor.fontFamily": "Victor Mono",
"editor.fontLigatures": true,
"editor.lineHeight": 24,
"workbench.colorTheme": "GitHub Dark",
"workbench.iconTheme": "simple-icons",
"editor.tabSize": 2,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"terminal.integrated.shell.osx": "/bin/zsh",
"git.confirmSync": false,
"git.autofetch": true,
"cSpell.userWords": [
"Mobx",
"NUXT",
"Vuex",
"antd",
"dangerously",
"dayjs",
"dingding",
"echarts",
"html",
"ifyour",
"inner",
"popconfirm",
"set"
],
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.enableBell": true,
"prettier.singleQuote": true,
"window.newWindowDimensions": "inherit",
"window.zoomLevel": 0,
"editor.detectIndentation": false,
"javascript.implicitProjectConfig.experimentalDecorators": true,
"breadcrumbs.enabled": false,
"npm.enableScriptExplorer": true,
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"debug.node.autoAttach": "off",
"workbench.activityBar.visible": true,
"diffEditor.ignoreTrimWhitespace": false,
"vetur.format.defaultFormatter.html": "prettier",
"guides.enabled": false,
"terminal.integrated.rendererType": "dom",
"editor.suggestSelection": "first",
"search.followSymlinks": false,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"editor.cursorSmoothCaretAnimation": true,
"files.trimTrailingWhitespace": true,
"editor.formatOnPaste": true,
"files.insertFinalNewline": true,
"telemetry.enableCrashReporter": false,
"workbench.editor.highlightModifiedTabs": true,
"editor.cursorBlinking": "smooth",
"telemetry.enableTelemetry": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"workbench.statusBar.feedback.visible": false,
"window.title": "${activeEditorMedium}${separator}${rootName}",
"files.exclude": {
"**/dist*": false,
"**/node_modules*": false
},
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"go",
"handlebars",
"html",
"jade",
"java",
"javascript",
"javascriptreact",
"json",
"jsonc",
"latex",
"less",
"markdown",
"php",
"plaintext",
"pug",
"python",
"restructuredtext",
"rust",
"scala",
"scss",
"text",
"typescript",
"typescriptreact",
"vue",
"yaml",
"yml"
],
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"workbench.tree.indent": 20,
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.foldingHighlight": false,
"editor.fontWeight": "500",
"terminal.integrated.fontWeight": "500",
"turboConsoleLog.quote": "'",
"turboConsoleLog.addSemicolonInTheEnd": true
}
{
// Place your snippets for bat here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
{
// Place your snippets for javascriptreact here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
}
@ifyour

ifyour commented Dec 11, 2017

Copy link
Copy Markdown
Author

Usage

  1. 安装 Syncing 插件
  2. 输入命令: open syncing settings
  3. 请使用自己的 gist 配置一个 token 用于同步上传, 如果没代理, 字段 http_proxy 也不需要配置
  4. 输入配置文件:
{
    "id": "83187f0dd2de65cf98bbb8492b88cc21",
    "token": "651c0eeb605129fb151c7a312ae6fa4273299e28****",
    "http_proxy": "http://127.0.0.1:1080"
}
  1. 下载设置 download settings, 上传设置 upload settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment