Created
May 22, 2017 08:10
-
-
Save liximomo/2336855635ecb26a598fb48d7c3ce733 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":"2017-05-22T08:10:20.241Z","extensionVersion":"v2.7.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": "38bbe3f0-5204-4170-845e-c2f966d979b8", | |
"publisherDisplayName": "Jun Han" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "901b401e-7657-4a33-8c9a-0854c569607e", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "0.7.3" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "ac3a3342-db76-40ef-9277-4657632d3bfe", | |
"publisherDisplayName": "Shan Khan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "d4fc689c-c760-4902-af94-114f64e1100f", | |
"publisherDisplayName": "Joel Day" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.4.4" | |
}, | |
{ | |
"metadata": { | |
"id": "774a0064-7683-400f-9210-02be20e0bd2e", | |
"publisherId": "a020884e-f25e-4e17-8ffb-9aa38b0b95b2", | |
"publisherDisplayName": "Vittorio Romeo" | |
}, | |
"name": "expand-selection-to-scope", | |
"publisher": "vittorioromeo", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511", | |
"publisherId": "1ba8bd00-2ad1-4be0-a007-5b4b954c1ee7", | |
"publisherDisplayName": "Don Jayamanne" | |
}, | |
"name": "githistory", | |
"publisher": "donjayamanne", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da", | |
"publisherId": "2bb7981d-dd9a-486d-8660-0cf1f838abf5", | |
"publisherDisplayName": "lukehoban" | |
}, | |
"name": "Go", | |
"publisher": "lukehoban", | |
"version": "0.6.61" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "8961c3fe-3ec6-429d-886a-50b5af362a88", | |
"publisherDisplayName": "charalampos karypidis" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "d16f4e39-2ffb-44e3-9c0d-79d873570e3a", | |
"publisherDisplayName": "Esben Petersen" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "0.17.1" | |
}, | |
{ | |
"metadata": { | |
"id": "ed3575fb-5812-4a43-9efb-c19649137420", | |
"publisherId": "191ff983-e777-479d-b38d-a496aa4cf49a", | |
"publisherDisplayName": "liximomo" | |
}, | |
"name": "sftp", | |
"publisher": "liximomo", | |
"version": "0.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee", | |
"publisherDisplayName": "Microsoft" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3397d2da-b0a8-4880-9e63-40d3109d5d14", | |
"publisherId": "5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee", | |
"publisherDisplayName": "Microsoft" | |
}, | |
"name": "Theme-MaterialKit", | |
"publisher": "ms-vscode", | |
"version": "0.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "3324c5be-43aa-4c39-a0f8-d94c2978804f", | |
"publisherId": "9e694123-0425-4308-8ef9-c6d2013a14f4", | |
"publisherDisplayName": "whatwedo" | |
}, | |
"name": "twig", | |
"publisher": "whatwedo", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "29859a75-d81b-4f0e-8578-2c80ecee6f99", | |
"publisherDisplayName": "Dirk Baeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.2.11" | |
}, | |
{ | |
"metadata": { | |
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0", | |
"publisherId": "3209eeb0-2b1a-4484-8c83-2627b29db88e", | |
"publisherDisplayName": "Ben Mewburn" | |
}, | |
"name": "vscode-intelephense-client", | |
"publisher": "bmewburn", | |
"version": "0.6.10" | |
}, | |
{ | |
"metadata": { | |
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757", | |
"publisherId": "0b5821dc-b7ab-4fa0-bcee-c2add1d8f9db", | |
"publisherDisplayName": "egamma" | |
}, | |
"name": "vscode-npm-script", | |
"publisher": "eg2", | |
"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 |
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
// 将键绑定放入此文件中以覆盖默认值 | |
[{ | |
"key": "ctrl+t", | |
"command": "editor.action.transpose" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
// override extension command bind | |
{ | |
"key": "ctrl+shift+m", | |
"command": "expand-selection-to-scope.expand" | |
}, | |
{ | |
"key": "alt+.", | |
"command": "auto-close-tag.closeTag" | |
} | |
] | |
// - |
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
{ | |
// 定义 VSCode 的显示语言。 | |
// 请参阅 https://go.microsoft.com/fwlink/?LinkId=761051,了解支持的语言列表。 | |
// 要更改值需要重启 VSCode。 | |
"locale":"en" | |
} |
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
// 将设置放入此文件中以覆盖默认设置 | |
{ | |
"editor.fontFamily": "Fira Code", | |
"editor.fontSize": 13, | |
"editor.fontLigatures": true, | |
"editor.tabSize": 2, | |
"editor.rulers": [100], | |
"editor.renderIndentGuides": true, | |
"editor.selectionHighlight": false, | |
"editor.wordWrap": "off", | |
"editor.snippetSuggestions": "top", | |
"files.insertFinalNewline": true, | |
"files.associations": { | |
"*.js": "javascriptreact" | |
}, | |
"css.validate": false, | |
"terminal.external.osxExec": "iTerm.app", | |
"workbench.editor.tabCloseButton": "off", | |
"workbench.activityBar.visible": false, | |
"workbench.colorTheme": "Material Night Eighties", | |
"workbench.iconTheme": "vs-seti", | |
"window.zoomLevel": 0, | |
// language | |
"html.format.indentInnerHtml": true, | |
"html.format.endWithNewline": true, | |
"html.suggest.ionic": false, | |
"html.suggest.angular1": false, | |
"php.suggest.basic": false, | |
"php.validate.run": "onType", | |
// extensions | |
"prettier.eslintIntegration": true, | |
"prettier.printWidth": 100, | |
"prettier.singleQuote": true, | |
"prettier.trailingComma": "es5", | |
"auto-close-tag.SublimeText3Mode": true, | |
"sync.gist": "", | |
"sync.lastUpload": "2017-05-22T08:09:47.313Z", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": 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 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: | |
"generate html5 template": { | |
"prefix": "html5", | |
"body": [ | |
"<!DOCTYPE html>", | |
"<html>", | |
"<head>", | |
" <meta charset=\"UTF-8\">", | |
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">", | |
" <title>title</title>", | |
" <style type=\"text/css\">", | |
" html { box-sizing: border-box; }", | |
"", | |
" *, ::before, ::after { box-sizing: inherit; }", | |
"", | |
" html, body {", | |
" height: 100%;", | |
" background: white;", | |
" max-width: 640px;", | |
" margin: 0 auto;", | |
" position: relative;", | |
" }", | |
" </style>", | |
"</head>", | |
"<body>", | |
" ${0:content}", | |
"</body>", | |
"</html>" | |
], | |
"description": "create a html5 mobile page 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
{ | |
// 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: | |
"Print to html overlay": { | |
"prefix": "doclog", | |
"body": [ | |
"var ${1:docLog} = function() {", | |
"if (!${1:docLog}._div) { ${1:docLog}.createDiv(); }", | |
"var logEntry = document.createElement('span');", | |
"for (var i=0; i < arguments.length; i++) {", | |
"logEntry.innerHTML += ${1:docLog}.toJson(arguments[i]);", | |
"}", | |
"logEntry.innerHTML += '<br />';", | |
"${1:docLog}._div.appendChild(logEntry);", | |
"};", | |
"${1:docLog}.createDiv = function() {", | |
"${1:docLog}._div = document.body.appendChild(document.createElement('div'));", | |
"var props = {", | |
"position:'absolute',", | |
"top:'0px',", | |
"right:'0px',", | |
"background:'#333',", | |
"padding: '10px',", | |
"opacity: 0.7,", | |
"color: 'white',", | |
"width: '70%',", | |
"'max-width': '400px',", | |
"height: '300px',", | |
"overflow: 'auto',", | |
"fontFamily: 'courier new',", | |
"fontSize: '11px',", | |
"whiteSpace: 'nowrap'", | |
"}", | |
"for (var key in props) { ${1:docLog}._div.style[key] = props[key]; }", | |
"}", | |
"${1:docLog}.toJson = function(obj) {", | |
"if (typeof window.uneval == 'function') { return uneval(obj); }", | |
"if (typeof obj == 'object') {", | |
"if (!obj) { return 'null'; }", | |
"var list = [];", | |
"if (obj instanceof Array) {", | |
"for (var i=0;i < obj.length;i++) { list.push(this.toJson(obj[i])); }", | |
"return '[' + list.join(',') + ']';", | |
"} else {", | |
"for (var prop in obj) { list.push('\"' + prop + '\":' + this.toJson(obj[prop])); }", | |
"return '{' + list.join(',') + '}';", | |
"}", | |
"} else if (typeof obj == 'string') {", | |
"return '\"' + obj.replace(/([\"'])/g, '\\$1') + '\"';", | |
"} else {", | |
"return new String(obj);", | |
"}", | |
"}" | |
], | |
"description": "Log output to a html overylay" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment