Skip to content

Instantly share code, notes, and snippets.

@rxliuli rxliuli/cloudSettings Secret
Last active May 26, 2019

Embed
What would you like to do?
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-26T10:03:45.724Z","extensionVersion":"v3.2.9"}
[
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.0.15"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.9"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.3.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "9.8.1"
},
{
"metadata": {
"id": "926ba2ee-eff4-40d0-a87b-af6b6e3d99fd",
"publisherId": "pushqrdx.inline-html",
"publisherDisplayName": "pushqrdx"
},
"name": "inline-html",
"publisher": "pushqrdx",
"version": "0.2.5"
},
{
"metadata": {
"id": "f30b63fa-e34a-40af-a573-5de5ecfb6c5e",
"publisherId": "k--kato.intellij-idea-keybindings",
"publisherDisplayName": "k--kato"
},
"name": "intellij-idea-keybindings",
"publisher": "k--kato",
"version": "0.2.32"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.3.1"
},
{
"metadata": {
"id": "f015bc3c-a098-4245-8765-615e002e09ab",
"publisherId": "yzane.markdown-pdf",
"publisherDisplayName": "yzane"
},
"name": "markdown-pdf",
"publisher": "yzane",
"version": "1.2.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.8.0"
},
{
"metadata": {
"id": "faaa22f9-232e-4755-8a99-c7a9aa82a161",
"publisherId": "chenyanfei-m.mockjs-snippets",
"publisherDisplayName": "chenyanfei-m"
},
"name": "mockjs-snippets",
"publisher": "chenyanfei-m",
"version": "0.0.6"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "1.4.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.9.0"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.216"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.21.3"
},
{
"metadata": {
"id": "1c014445-5a7f-4994-b0b3-75dce6a53891",
"publisherId": "miclo.sort-typescript-imports",
"publisherDisplayName": "miclo"
},
"name": "sort-typescript-imports",
"publisher": "miclo",
"version": "1.4.1"
},
{
"metadata": {
"id": "398bc2fd-eb55-4a9f-90f3-102c36fd8c83",
"publisherId": "dxcweb.string-convert",
"publisherDisplayName": "dxcweb"
},
"name": "string-convert",
"publisher": "dxcweb",
"version": "0.1.4"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.132"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.43"
},
{
"metadata": {
"id": "b27aece1-6b18-4e10-a5c6-1fa6f1c4758e",
"publisherId": "Trezm.type-doc-vscode",
"publisherDisplayName": "Trezm"
},
"name": "type-doc-vscode",
"publisher": "Trezm",
"version": "0.0.35"
},
{
"metadata": {
"id": "a1148598-cc3c-402d-bcae-fafa0a513345",
"publisherId": "jvitor83.types-autoinstaller",
"publisherDisplayName": "jvitor83"
},
"name": "types-autoinstaller",
"publisher": "jvitor83",
"version": "2.4.0"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "2.9.0"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.26.0"
},
{
"metadata": {
"id": "cea424e5-593f-4e56-ae72-9d0abb62b700",
"publisherId": "ipatalas.vscode-postfix-ts",
"publisherDisplayName": "ipatalas"
},
"name": "vscode-postfix-ts",
"publisher": "ipatalas",
"version": "1.8.1"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "1.0.4"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "2.1.2"
},
{
"metadata": {
"id": "6766254a-8e43-4ebc-9b89-e5be39cb5318",
"publisherId": "WallabyJs.wallaby-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "wallaby-vscode",
"publisher": "WallabyJs",
"version": "1.0.127"
}
]
// Empty
[
{
"key": "ctrl+shift+q",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+oem_5",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+oem_1",
"command": "extension.aceJump"
},
{
"key": "ctrl+alt+l",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+l",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openFile"
},
{
"key": "ctrl+alt+v",
"command": "editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+r",
"command": "-editor.action.refactor",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+z",
"command": "git.revertChange"
},
{
"key": "ctrl+alt+z",
"command": "git.revertSelectedRanges"
},
{
"key": "shift+alt+u",
"command": "-extension.updateSettings"
},
{
"key": "shift+alt+u",
"command": "extension.stringConvert",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+t",
"command": "-extension.stringConvert",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+c",
"command": "copyRelativeFilePath",
"when": "!editorFocus"
},
{
"key": "ctrl+k ctrl+shift+c",
"command": "-copyRelativeFilePath",
"when": "!editorFocus"
}
]
{
// Defines VS Code's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
"locale":"en" // Changes will not take effect until VS Code has been restarted.
}
{"name":"picgo-plugins","description":"picgo-plugins","repository":"https://github.com/Molunerfinn/PicGo-Core","license":"MIT"}
{
//////////////////////////////////////////////////////////////
/////////////////////// vscode 原生部分 //////////////////////
//////////////////////////////////////////////////////////////
// 编码格式
"files.encoding": "utf8",
// 字体
"editor.fontFamily": "Sarasa Mono CL",
"editor.fontSize": 18,
// 控制折行
"editor.wordWrap": "wordWrapColumn",
// 控制自定义代码片段的显示与操作
"editor.snippetSuggestions": "inline",
// 使用 tab 完成与回车相同的效果
"editor.tabCompletion": "on",
// 默认的 tab 缩进空格
"editor.tabSize": 2,
// 默认使用插入空格进行缩进
"editor.insertSpaces": true,
// 禁用读取文件默认使用 tab
"editor.detectIndentation": false,
// 保存时自动格式化
"editor.formatOnSave": true,
// 搜索时启用多行正则表达式
"search.usePCRE2": true,
// 在未恢复上一次会话时加载一个新的空工作区
"workbench.startupEditor": "newUntitledFile",
// 自动保存文件 (延迟 1s)
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
// 在修改文件名时自动更新引用
"javascript.updateImportsOnFileMove.enabled": "always",
// 从资源管理器拖放文件不需要确认
"explorer.confirmDragAndDrop": false,
// 删除不需要确认
"explorer.confirmDelete": false,
// 在默认不支持 Emmet 的语言中启用 Emmet 缩写功能。在此添加该语言与受支持的语言间的映射。
// 示例: {"vue-html": "html", "javascript": "javascriptreact"}
// "emmet.includeLanguages": { "javascript": "javascriptreact" },
// 启用后,按下 TAB 键,将展开 Emmet 缩写。
"emmet.triggerExpansionOnTab": true,
// 禁用预览模式
"workbench.editor.enablePreview": false,
"files.eol": "auto",
//////////////////////////////////////////////////////////////
/////////////////////// terminal 部分 ////////////////////////
//////////////////////////////////////////////////////////////
// 控制终端
"terminal.integrated.fontSize": 16,
"terminal.integrated.fontFamily": "Sarasa Mono CL",
"terminal.integrated.cursorBlinking": true,
// 使用 cmder bash 终端
"terminal.integrated.shell.windows": "D:/Program/cmder/vendor/git-for-windows/bin/bash.exe",
// 禁用自动更新
"update.enableWindowsBackgroundUpdates": false,
//////////////////////////////////////////////////////////////
/////////////////////// git 部分 /////////////////////////////
//////////////////////////////////////////////////////////////
// Git 可执行文件路径
"git.path": "D:/Program/cmder/vendor/git-for-windows/bin/git.exe",
"git.confirmSync": false,
"gitlens.defaultDateFormat": "yyyy-MM-dd",
"gitlens.views.repositories.files.layout": "list",
//////////////////////////////////////////////////////////////
/////////////////////// markdown 部分 ////////////////////////
//////////////////////////////////////////////////////////////
"markdown-pdf.executablePath": "C://Program Files (x86)//Google//Chrome//Application//chrome.exe",
// markdown toc 设置兼容 github
"markdown.extension.toc.githubCompatibility": true,
// 自动打开预览
// "markdown.extension.preview.autoShowPreviewToSide": true,
// vscode markdown 预览字体
"markdown.preview.fontFamily": "Sarasa Mono CL",
// 保存时不要自动更新目录
"markdown.extension.toc.updateOnSave": false,
// 禁用表格格式化功能
"markdown.extension.tableFormatter.enabled": false,
// 回车预览显示换行
"markdown.preview.breaks": true,
//////////////////////////////////////////////////////////////
//////////////////// vscode 配置同步部分 /////////////////////
//////////////////////////////////////////////////////////////
// 设置同步功能
"sync.gist": "9069f63e5bc0fc0f5cbbfc44a8b0da44",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.forceDownload": false,
"update.showReleaseNotes": false,
//////////////////////////////////////////////////////////////
//////////// ESlint Prettier 代码格式化部分 ///////////////
//////////////////////////////////////////////////////////////
// 每次保存的时候将代码按 eslint 格式进行修复
"eslint.autoFixOnSave": true,
// prettier 使用 eslint 的代码格式进行校验
"prettier.eslintIntegration": true,
// 去掉代码结尾的分号
"prettier.semi": false,
// 使用单引号替代双引号
"prettier.singleQuote": true,
// 尽量在所有地方都添加尾逗号
"prettier.trailingComma": "all",
// 让函数 (名) 和后面的括号之间加个空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// 格式化 .vue html
// vue 中的 js 按编辑器自带的 ts 格式进行格式化
"eslint.validate": [
// 开启对. vue 文件中错误的检查
"javascript",
"javascriptreact",
{
"autoFix": true
}
],
//////////////////////////////////////////////////////////////
/////////////////////// stylus 格式化 ////////////////////////
//////////////////////////////////////////////////////////////
// 是否插入冒号(默认是true)
"stylusSupremacy.insertColons": false,
// 是否插入分号
"stylusSupremacy.insertSemicolons": false,
// 是否插入大括号
"stylusSupremacy.insertBraces": false,
// import之后是否换行
"stylusSupremacy.insertNewLineAroundImports": false,
// 两个选择器中是否换行复制代码
"stylusSupremacy.insertNewLineAroundBlocks": false,
//////////////////////////////////////////////////////////////
/////////////////////// material 部分 ////////////////////////
//////////////////////////////////////////////////////////////
// material 主题
"workbench.colorTheme": "Monokai",
// 覆盖默认的文件图标
"workbench.iconTheme": "material-icon-theme",
"window.zoomLevel": 0,
"[markdown]": {
"editor.quickSuggestions": true
},
//////////////////////////////////////////////////////////////
/////////////////////// 默认格式化设置 ///////////////////////
//////////////////////////////////////////////////////////////
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.colorCustomizations": {},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
//////////////////////////////////////////////////////////////
/////////////////////// TODO 配置 ////////////////////////////
//////////////////////////////////////////////////////////////
"todohighlight.isEnable": true,
"typescript.updateImportsOnFileMove.enabled": "always",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
//////////////////////////////////////////////////////////////
/////////////////////// picgo 图床部分 ///////////////////////
//////////////////////////////////////////////////////////////
// "picBed": {
// "current": "github",
// "github": {
// "repo": "rxliuli/img-bed",
// "token": "1c13a63163bc449fe6b16f2e4e7262b49d0ae83d",
// "path": "",
// "customUrl": "",
// "branch": "master",
// "username": "rxliuli"
// }
// }
}
{
// Place your snippets for html 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 javascript 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:
"require a module": {
"prefix": "require",
"body": ["const $1 = require('$2')"],
"description": "使用 require 引入 JavaScript 中的 module(模块)"
},
"koa router get request": {
"prefix": "koaRouterGet",
"body": ["router.get('/$1', async (ctx, next) => {", "$2", "})"],
"description": "添加一个 koa router get 请求处理函数"
},
"entity template": {
"prefix": "entityTemplate",
"body": [
"/**",
" * $1",
" */",
"export class $2 {",
" /**",
" * 构造函数",
" * @param {Object} [options] 选项",
" ",
" * @param {...Object} [options.args] 其他参数",
" */",
" constructor({ ...args } = {}) {",
" ",
" Object.assign(this, args)",
" }",
"}"
],
"description": "生成一个基础的实体类模板"
}
}
{
// 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"
// }
}
{
// Place your snippets for vue 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"
// },
"vue teamplte": {
"prefix": "vueTemplate",
"body": [
"<template>",
" $1",
"</template>",
"",
"<script>",
"export default {",
" data: () => ({",
"",
" }),",
" methods: {",
"",
" },",
" mounted () {",
"",
" }",
"}",
"</script>"
],
"description": "vue 的模板代码"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.