Last active
November 26, 2018 06:01
-
-
Save qqlcx5/f9d1a6eb3f30d18dde1ca0c5a69cac34 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-11-26T06:01:32.296Z","extensionVersion":"v3.2.0"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.6" | |
}, | |
{ | |
"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": "70378119-1d85-4935-9733-0298c7a369a2", | |
"publisherId": "steoates.autoimport", | |
"publisherDisplayName": "steoates" | |
}, | |
"name": "autoimport", | |
"publisher": "steoates", | |
"version": "1.5.3" | |
}, | |
{ | |
"metadata": { | |
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660", | |
"publisherId": "CoenraadS.bracket-pair-colorizer", | |
"publisherDisplayName": "CoenraadS" | |
}, | |
"name": "bracket-pair-colorizer", | |
"publisher": "CoenraadS", | |
"version": "1.0.61" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.9.5" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "joelday.docthis", | |
"publisherDisplayName": "joelday" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511", | |
"publisherId": "donjayamanne.githistory", | |
"publisherDisplayName": "donjayamanne" | |
}, | |
"name": "githistory", | |
"publisher": "donjayamanne", | |
"version": "0.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "8.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a", | |
"publisherId": "Zignd.html-css-class-completion", | |
"publisherDisplayName": "Zignd" | |
}, | |
"name": "html-css-class-completion", | |
"publisher": "Zignd", | |
"version": "1.17.1" | |
}, | |
{ | |
"metadata": { | |
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28", | |
"publisherId": "abusaidm.html-snippets", | |
"publisherDisplayName": "abusaidm" | |
}, | |
"name": "html-snippets", | |
"publisher": "abusaidm", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de", | |
"publisherId": "ritwickdey.LiveServer", | |
"publisherDisplayName": "ritwickdey" | |
}, | |
"name": "LiveServer", | |
"publisher": "ritwickdey", | |
"version": "5.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8", | |
"publisherId": "christian-kohler.npm-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "npm-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.3.0" | |
}, | |
{ | |
"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": "d80b9a94-f4a6-4e39-bc42-62212e365682", | |
"publisherId": "pnp.polacode", | |
"publisherDisplayName": "pnp" | |
}, | |
"name": "polacode", | |
"publisher": "pnp", | |
"version": "0.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "1.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "06f63e4d-f232-47c9-8665-1f4ea867d753", | |
"publisherId": "thisismanta.stylus-supremacy", | |
"publisherDisplayName": "thisismanta" | |
}, | |
"name": "stylus-supremacy", | |
"publisher": "thisismanta", | |
"version": "2.12.7" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0b8f8d63-11a2-4194-969c-ca7488b3413a", | |
"publisherId": "pranaygp.vscode-css-peek", | |
"publisherDisplayName": "pranaygp" | |
}, | |
"name": "vscode-css-peek", | |
"publisher": "pranaygp", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "aaee577c-f062-495a-9816-0cbd442f1d25", | |
"publisherId": "ecmel.vscode-html-css", | |
"publisherDisplayName": "ecmel" | |
}, | |
"name": "vscode-html-css", | |
"publisher": "ecmel", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "robertohuertasm.vscode-icons", | |
"publisherDisplayName": "robertohuertasm" | |
}, | |
"name": "vscode-icons", | |
"publisher": "robertohuertasm", | |
"version": "7.28.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c46b0018-f317-4b6c-a785-d2039b27338f", | |
"publisherId": "wix.vscode-import-cost", | |
"publisherDisplayName": "wix" | |
}, | |
"name": "vscode-import-cost", | |
"publisher": "wix", | |
"version": "2.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b", | |
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans", | |
"publisherDisplayName": "MS-CEINTL" | |
}, | |
"name": "vscode-language-pack-zh-hans", | |
"publisher": "MS-CEINTL", | |
"version": "1.29.2" | |
}, | |
{ | |
"metadata": { | |
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6", | |
"publisherId": "akamud.vscode-theme-onedark", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-theme-onedark", | |
"publisher": "akamud", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3620b114-6fe8-459b-8c68-99943147069b", | |
"publisherId": "hollowtree.vue-snippets", | |
"publisherDisplayName": "hollowtree" | |
}, | |
"name": "vue-snippets", | |
"publisher": "hollowtree", | |
"version": "0.1.9" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty | |
[ | |
{ | |
"key": "ctrl+oem_3", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "-workbench.view.git" | |
}, | |
{ | |
"key": "alt+i", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "alt+o", | |
"command": "editor.action.transformToLowercase" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 控制行高。为 0 时则通过字体大小自动计算。 | |
"editor.lineHeight": 24, | |
"workbench.colorTheme": "Atom One Dark", //主题 | |
"workbench.iconTheme": "vscode-icons", //文件icon | |
//排除的文件和文件夹 | |
"files.exclude": { | |
"**/node_modules": true | |
}, | |
//窗口失去焦点时自动保存更新后的文件 | |
"files.autoSave": "onFocusChange", | |
// 控制折行 | |
"editor.wordWrap": "on", | |
"editor.multiCursorModifier": "ctrlCmd", | |
// 自动格式化粘贴的内容 | |
"editor.formatOnPaste": true, | |
"git.autofetch": true, //自动提取代码 | |
//在没有暂存的更改时提交所有更改 | |
"git.enableSmartCommit": true, | |
"editor.fontSize": 18, //字体大小 | |
//-------------------分割线-------------------- | |
// vscode默认启用了根据文件类型自动设置tabsize的选项 | |
"editor.detectIndentation": false, | |
// 重新设定tabsize | |
"editor.tabSize": 2, | |
// #每次保存的时候自动格式化 | |
"editor.formatOnSave": true, | |
// #每次保存的时候将代码按eslint格式进行修复 | |
"eslint.autoFixOnSave": true, | |
// 添加 vue 支持 | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
{ | |
"language": "vue", | |
"autoFix": true | |
} | |
], | |
// #让prettier使用eslint的代码格式进行校验 | |
"prettier.eslintIntegration": true, | |
// #去掉代码结尾的分号 | |
"prettier.semi": false, | |
// #使用带引号替代双引号 | |
"prettier.singleQuote": true, | |
// #让函数(名)和后面的括号之间加个空格 | |
"javascript.format.insertSpaceBeforeFunctionParenthesis": true, | |
// #这个按用户自身习惯选择 | |
"vetur.format.defaultFormatter.html": "js-beautify-html", | |
// #让vue中的js按编辑器自带的ts格式进行格式化 | |
"vetur.format.defaultFormatter.js": "vscode-typescript", | |
"vetur.format.defaultFormatterOptions": { | |
"js-beautify-html": { | |
"wrap_attributes": "force-aligned" | |
// #vue组件中html代码格式化样式 | |
} | |
}, | |
// 格式化stylus, 需安装Manta's Stylus Supremacy插件 | |
"stylusSupremacy.insertColons": false, // 是否插入冒号 | |
"stylusSupremacy.insertSemicolons": false, // 是否插入分好 | |
"stylusSupremacy.insertBraces": false, // 是否插入大括号 | |
"stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行 | |
"stylusSupremacy.insertNewLineAroundBlocks": false, | |
//-------------------分割线-------------------- | |
"sync.gist": "f9d1a6eb3f30d18dde1ca0c5a69cac34", | |
"sync.quietSync": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false // 两个选择器中是否换行 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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" | |
// } | |
"Print to console": { | |
"prefix": "templateVue", | |
"body": [ | |
"<template>", | |
" <div class=\"name\"></div>", | |
"</template>", | |
"", | |
"<script>", | |
"export default {", | |
" name: '${1:name}',", | |
" data () {", | |
" return {", | |
" }", | |
" },", | |
" methods: {}", | |
"}", | |
"</script>", | |
"<style lang=\"stylus\" rel=\"stylesheet/stylus\" scoped>", | |
"</style>\n" | |
], | |
"description": "A vue file template" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":"7.28.0","status":0,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment