Last active
March 9, 2020 15:01
-
-
Save sfengyuan/1e2eff94b082ed446c730027c241fe03 to your computer and use it in GitHub Desktop.
This file contains 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":"2020-03-09T14:58:32.697Z","extensionVersion":"v3.4.3"} |
This file contains 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": "2cbad5ee-b4ab-4de8-a1c7-77fede846155", | |
"publisherId": "patbenatar.advanced-new-file", | |
"publisherDisplayName": "patbenatar" | |
}, | |
"name": "advanced-new-file", | |
"publisher": "patbenatar", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "968b335f-0c15-4e6a-86ad-d3da45dbad73", | |
"publisherId": "aliariff.auto-add-brackets", | |
"publisherDisplayName": "aliariff" | |
}, | |
"name": "auto-add-brackets", | |
"publisher": "aliariff", | |
"version": "0.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5178733e-4b02-4829-95c5-1ce970847c23", | |
"publisherId": "teabyii.ayu", | |
"publisherDisplayName": "teabyii" | |
}, | |
"name": "ayu", | |
"publisher": "teabyii", | |
"version": "0.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8bd90cfe-8edd-4b92-b992-2337fdc06604", | |
"publisherId": "wwm.better-align", | |
"publisherDisplayName": "wwm" | |
}, | |
"name": "better-align", | |
"publisher": "wwm", | |
"version": "1.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085", | |
"publisherId": "bungcip.better-toml", | |
"publisherDisplayName": "bungcip" | |
}, | |
"name": "better-toml", | |
"publisher": "bungcip", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc", | |
"publisherId": "alefragnani.Bookmarks", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "Bookmarks", | |
"publisher": "alefragnani", | |
"version": "10.4.4" | |
}, | |
{ | |
"metadata": { | |
"id": "2aa040bf-c73a-455d-8946-5c6cc83b8019", | |
"publisherId": "wmaurer.change-case", | |
"publisherDisplayName": "wmaurer" | |
}, | |
"name": "change-case", | |
"publisher": "wmaurer", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c529c9f4-005a-45b0-9fb9-89e0d9b8b990", | |
"publisherId": "Anjali.clipboard-history", | |
"publisherDisplayName": "Anjali" | |
}, | |
"name": "clipboard-history", | |
"publisher": "Anjali", | |
"version": "1.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.9.11" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2", | |
"publisherId": "ms-vscode.cpptools", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "cpptools", | |
"publisher": "ms-vscode", | |
"version": "0.24.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7e3ea475-bf34-410c-b07e-109b538eee83", | |
"publisherId": "faustinoaq.crystal-lang", | |
"publisherDisplayName": "faustinoaq" | |
}, | |
"name": "crystal-lang", | |
"publisher": "faustinoaq", | |
"version": "0.3.14" | |
}, | |
{ | |
"metadata": { | |
"id": "e2fefca0-b32c-431f-bb7d-8adf78b5af20", | |
"publisherId": "Heron.firefox-devtools-theme", | |
"publisherDisplayName": "Heron" | |
}, | |
"name": "firefox-devtools-theme", | |
"publisher": "Heron", | |
"version": "4.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "53ceb0a7-7e7a-4f26-a91d-084f3d714420", | |
"publisherId": "lkytal.FlatUI", | |
"publisherDisplayName": "lkytal" | |
}, | |
"name": "FlatUI", | |
"publisher": "lkytal", | |
"version": "1.4.9" | |
}, | |
{ | |
"metadata": { | |
"id": "9f5a82a8-eb54-420f-9fb8-171c5405ec8a", | |
"publisherId": "MikeBovenlander.formate", | |
"publisherDisplayName": "MikeBovenlander" | |
}, | |
"name": "formate", | |
"publisher": "MikeBovenlander", | |
"version": "1.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "d0db9e58-8cdf-49c5-87bf-02f037e10bb0", | |
"publisherId": "thenikso.github-plus-theme", | |
"publisherDisplayName": "thenikso" | |
}, | |
"name": "github-plus-theme", | |
"publisher": "thenikso", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da", | |
"publisherId": "ms-vscode.Go", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "Go", | |
"publisher": "ms-vscode", | |
"version": "0.11.4" | |
}, | |
{ | |
"metadata": { | |
"id": "c27da203-f40d-479a-8fa4-a8b104cdc3b5", | |
"publisherId": "haozibi.goplay", | |
"publisherDisplayName": "haozibi" | |
}, | |
"name": "goplay", | |
"publisher": "haozibi", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d6e20d26-9e5c-4b69-953a-638bcde16ea3", | |
"publisherId": "dakshmiglani.hex-to-rgba", | |
"publisherDisplayName": "dakshmiglani" | |
}, | |
"name": "hex-to-rgba", | |
"publisher": "dakshmiglani", | |
"version": "0.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "c86bc8a9-fd3b-44db-b28a-2d146cb78d3c", | |
"publisherId": "fwcd.kotlin", | |
"publisherDisplayName": "fwcd" | |
}, | |
"name": "kotlin", | |
"publisher": "fwcd", | |
"version": "0.1.13" | |
}, | |
{ | |
"metadata": { | |
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c", | |
"publisherId": "sysoev.language-stylus", | |
"publisherDisplayName": "sysoev" | |
}, | |
"name": "language-stylus", | |
"publisher": "sysoev", | |
"version": "1.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2fb9491e-d250-48e4-b23e-cdbb81d655cf", | |
"publisherId": "AlanWalk.markdown-toc", | |
"publisherDisplayName": "AlanWalk" | |
}, | |
"name": "markdown-toc", | |
"publisher": "AlanWalk", | |
"version": "1.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.Material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "Material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "2.26.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d4e2a48f-0b88-4540-92c5-a4ab4dd2c813", | |
"publisherId": "liviuschera.noctis", | |
"publisherDisplayName": "liviuschera" | |
}, | |
"name": "noctis", | |
"publisher": "liviuschera", | |
"version": "10.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d80b9a94-f4a6-4e39-bc42-62212e365682", | |
"publisherId": "pnp.polacode", | |
"publisherDisplayName": "pnp" | |
}, | |
"name": "polacode", | |
"publisher": "pnp", | |
"version": "0.3.4" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2019.6.24221" | |
}, | |
{ | |
"metadata": { | |
"id": "aae0701b-111f-49c1-9000-abd37a442f28", | |
"publisherId": "WallabyJs.quokka-vscode", | |
"publisherDisplayName": "WallabyJs" | |
}, | |
"name": "quokka-vscode", | |
"publisher": "WallabyJs", | |
"version": "1.0.233" | |
}, | |
{ | |
"metadata": { | |
"id": "797a79de-a0fd-4349-9034-bec47be9a941", | |
"publisherId": "2gua.rainbow-brackets", | |
"publisherDisplayName": "2gua" | |
}, | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "f0c5397b-d357-4197-99f0-cb4202f22818", | |
"publisherId": "ms-vscode-remote.remote-wsl", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-wsl", | |
"publisher": "ms-vscode-remote", | |
"version": "0.38.10" | |
}, | |
{ | |
"metadata": { | |
"id": "867c2662-4ce0-4736-a22c-69975925a0c6", | |
"publisherId": "misogi.ruby-rubocop", | |
"publisherDisplayName": "misogi" | |
}, | |
"name": "ruby-rubocop", | |
"publisher": "misogi", | |
"version": "0.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "570e6089-b871-41df-9cf4-a723cb34ef01", | |
"publisherId": "rust-lang.rust", | |
"publisherDisplayName": "rust-lang" | |
}, | |
"name": "rust", | |
"publisher": "rust-lang", | |
"version": "0.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9", | |
"publisherId": "castwide.solargraph", | |
"publisherDisplayName": "castwide" | |
}, | |
"name": "solargraph", | |
"publisher": "castwide", | |
"version": "0.20.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1", | |
"publisherId": "dracula-theme.theme-dracula", | |
"publisherDisplayName": "dracula-theme" | |
}, | |
"name": "theme-dracula", | |
"publisher": "dracula-theme", | |
"version": "2.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d2149167-a7c8-4dea-ad4e-8e7a7fc63f35", | |
"publisherId": "be5invis.theme-verdandi", | |
"publisherDisplayName": "be5invis" | |
}, | |
"name": "theme-verdandi", | |
"publisher": "be5invis", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.21.1" | |
}, | |
{ | |
"metadata": { | |
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260", | |
"publisherId": "Equinusocio.vsc-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-material-theme", | |
"publisher": "Equinusocio", | |
"version": "30.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4dd4cb5f-8946-4882-bf7c-e5997ab40481", | |
"publisherId": "kisstkondoros.vscode-codemetrics", | |
"publisherDisplayName": "kisstkondoros" | |
}, | |
"name": "vscode-codemetrics", | |
"publisher": "kisstkondoros", | |
"version": "1.19.1" | |
}, | |
{ | |
"metadata": { | |
"id": "c46b0018-f317-4b6c-a785-d2039b27338f", | |
"publisherId": "wix.vscode-import-cost", | |
"publisherDisplayName": "wix" | |
}, | |
"name": "vscode-import-cost", | |
"publisher": "wix", | |
"version": "2.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3c6d2422-afcc-482d-a751-08c6ed38ce19", | |
"publisherId": "wmaurer.vscode-jumpy", | |
"publisherDisplayName": "wmaurer" | |
}, | |
"name": "vscode-jumpy", | |
"publisher": "wmaurer", | |
"version": "0.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5656e382-e596-43f1-9bfa-61dda3d36cd3", | |
"publisherId": "slevesque.vscode-multiclip", | |
"publisherDisplayName": "slevesque" | |
}, | |
"name": "vscode-multiclip", | |
"publisher": "slevesque", | |
"version": "0.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "6afc37b9-362f-4bd8-9a0d-9d24eade270d", | |
"publisherId": "chenxsan.vscode-standardjs", | |
"publisherDisplayName": "chenxsan" | |
}, | |
"name": "vscode-standardjs", | |
"publisher": "chenxsan", | |
"version": "1.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "0f087222-4e48-423c-be9b-5cae196de4bc", | |
"publisherId": "juanmnl.vscode-theme-1984", | |
"publisherDisplayName": "juanmnl" | |
}, | |
"name": "vscode-theme-1984", | |
"publisher": "juanmnl", | |
"version": "0.0.30" | |
}, | |
{ | |
"metadata": { | |
"id": "2061917f-f76a-458a-8da9-f162de22b97e", | |
"publisherId": "redhat.vscode-yaml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-yaml", | |
"publisher": "redhat", | |
"version": "0.4.1" | |
} | |
] |
This file contains 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 key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "ctrl+b", | |
"command": "workbench.action.tasks.runTask" | |
}, | |
// -------- edit | |
{ | |
"key": "ctrl+shift+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+j", | |
"command": "editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ "key": "ctrl+\\", "command": "wwm.aligncode", | |
"when": "editorTextFocus && !editorReadonly" }, | |
{ "key": "alt+[", "command": "editor.action.reindentselectedlines", | |
"when": "editorTextFocus && !editorReadonly" }, | |
{ "key": "ctrl+k ctrl+u", "command": "editor.action.transformToUppercase", | |
"when": "editorTextFocus && !editorReadonly" }, | |
// -------- selection | |
// -------- navigate: cursor | |
{ | |
"key": "ctrl+m", | |
"command": "extension.jumpy-word", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursorLineEnd" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "cursorLineStart" | |
}, | |
// -------- navigate: group | |
{ | |
"key": "shift+tab", | |
"command": "workbench.action.navigateEditorGroups" | |
}, | |
{ | |
"key": "ctrl+k l", | |
"command": "workbench.action.focusLastEditorGroup" | |
}, | |
// ctrl+${num}: focus #num group | |
// -------- panel | |
{ | |
"key": "alt+p", | |
"command": "bookmarks.list", // ext: bookmarks | |
"when": "editorTextFocus" | |
}, | |
// ctrl+p: file list | |
// ctrl+shift+p: command | |
// ctrl+r: recent projects | |
// ctrl+alt+n: new file < ext: advanced new file | |
// -------- select | |
{ | |
"key": "ctrl+j", | |
"command": "editor.action.smartSelect.grow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", "command": "editor.emmet.action.balanceOut", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+left", "command": "editor.emmet.action.balanceIn", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
// bookmark | |
{ | |
"key": "alt+b", "command": "bookmarks.toggle", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+x", | |
"command": "multiclip.cutMerge", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+f", | |
"command": "standard.executeAutofix", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+x", | |
"command": "-multiclip.cutMerge", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-templateGenerator.newFile" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-code-runner.run" | |
}, | |
{ | |
"key": "ctrl+shift+b", | |
"command": "-workbench.action.tasks.build" | |
}, | |
] |
This file contains 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.acceptSuggestionOnEnter": "off", | |
"editor.acceptSuggestionOnCommitCharacter": false, | |
"editor.accessibilitySupport": "off", | |
"editor.dragAndDrop": false, | |
"editor.fontFamily": "Fira Code, Operator Mono, Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 12, | |
"editor.formatOnPaste": false, | |
"editor.lineHeight": 22, | |
"editor.minimap.enabled": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": false, | |
"strings": true | |
}, | |
"editor.quickSuggestionsDelay": 100, | |
"editor.renderWhitespace": "all", | |
"editor.rulers": [ | |
80 | |
], | |
"editor.smoothScrolling": true, | |
"editor.snippetSuggestions": "top", | |
"editor.suggestOnTriggerCharacters": true, | |
"editor.tabCompletion": "off", | |
"editor.tabSize": 2, | |
"editor.detectIndentation": false, | |
"editor.wordWrap": "on", | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"vue-html": "html" | |
}, | |
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly", | |
"emmet.showSuggestionsAsSnippets": true, | |
"emmet.syntaxProfiles": { | |
"vue-html": "html", | |
"vue": "html" | |
}, | |
"emmet.triggerExpansionOnTab": false, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"explorer.openEditors.visible": 0, | |
"explorer.sortOrder": "type", | |
"extensions.autoUpdate": false, | |
"extensions.ignoreRecommendations": true, | |
"extensions.showRecommendationsOnlyOnDemand": true, | |
"files.autoGuessEncoding": false, | |
"files.autoSave": "onFocusChange", | |
"files.eol": "\n", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/node_modules": true, | |
"**/.vscode": true | |
}, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"files.trimTrailingWhitespace": true, | |
"vetur.validation.template": false, | |
"window.autoDetectHighContrast": false, | |
"window.enableMenuBarMnemonics": false, | |
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}", | |
"window.zoomLevel": 0, | |
"workbench.activityBar.visible": false, | |
"workbench.commandPalette.preserveInput": true, | |
"workbench.editor.tabSizing": "shrink", | |
"workbench.iconTheme": "verdandi", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "One Dark Pro", | |
"[ruby]": { | |
"editor.tabSize": 2, | |
}, | |
"[javascript]": { | |
"editor.tabSize": 2, | |
}, | |
"[vue]": { | |
"editor.tabSize": 2, | |
}, | |
"templateGenerator.templatesPath": "D:/p/VS Code/data/file_templates/", | |
"templateGenerator.fields.author": "Sun6eal", | |
"templateGenerator.fields.email": "[email protected]", | |
"templateGenerator.fields.link": "https://github.com/jacobsun", | |
"code-runner.runInTerminal": true,//使用内置终端 | |
"code-runner.clearPreviousOutput": true,//运行前清理旧的输出文件 | |
"code-runner.ignoreSelection": true,//忽略用户选择 | |
"code-runner.preserveFocus": false,//运行时焦点跳回编辑器 | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"php": "C:\\php\\php.exe", | |
"python": "python", | |
"perl": "perl", | |
"go": "go run", | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
}, | |
"C_Cpp.default.cppStandard": "c++17", | |
"C_Cpp.default.cStandard": "c11", | |
"C_Cpp.default.intelliSenseMode": "gcc-x64", | |
"C_Cpp.default.compilerPath": "/usr/bin/g++", | |
"C_Cpp.default.includePath": [ | |
"${workspaceFolder}/**" | |
], | |
"javascript.validate.enable": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"breadcrumbs.enabled": false, | |
"go.lintFlags": [ | |
"--config=/mnt/d/code/gopath/.gometalinter" | |
], | |
"advancedNewFile.exclude": { | |
"node_modules": true, | |
"node_modules_electron": true, | |
"dev": true, | |
"dist": true, | |
"dest": true | |
}, | |
"advancedNewFile.showInformationMessages": true, | |
"advancedNewFile.convenienceOptions": [ | |
"last", | |
"current", | |
"root" | |
], | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe", | |
"sync.gist": "1e2eff94b082ed446c730027c241fe03" | |
} |
This file contains 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
Show hidden characters
{ | |
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. 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": { | |
// "scope": "javascript,typescript", | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"regex: Chinese": { | |
"scope": "", | |
"prefix": "regex chinese", | |
"body": [ | |
"[\u4e00-\u9fa5]'", | |
], | |
"description": "regex: Chinese" | |
}, | |
"regex: two bytes characters": { | |
"scope": "", | |
"prefix": "regex characters", | |
"body": [ | |
"'[^\\x00-\\xff]'", | |
], | |
"description": "two bytes characters" | |
}, | |
"DOMContentLoaded": { | |
"prefix": "DOMContentLoaded", | |
"body": [ | |
"window.addEventListener('DOMContentLoaded', e => {", | |
" $1", | |
"}, false)" | |
], | |
"description": "DOMContentLoaded" | |
}, | |
"mocha": { | |
"prefix": "mocha", | |
"body": [ | |
"mocha --reporter=nyan test/**/*.js" | |
], | |
"description": "mocha" | |
}, | |
"no-lint": { | |
"prefix": "no-lint", | |
"body": [ | |
"/* eslint-disable */" | |
], | |
"description": "no-eslint" | |
}, | |
"default args": { | |
"prefix": "default args", | |
"body": [ | |
"function d (arg, val) { return typeof arg !== 'undefined' ? arg : val }" | |
], | |
"description": "default args" | |
} | |
} |
This file contains 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 cpp 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: | |
"Header": { | |
"prefix": "header", | |
"body": [ | |
"#ifndef GUARD_${1:filename}_h", | |
"#define GUARD_${1:filename}_h", | |
"", | |
"$0", | |
"", | |
"#endif" | |
], | |
"description": "Log output to console" | |
} | |
} |
This file contains 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 css 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" | |
// } | |
"background": { | |
"prefix": "back", | |
"body": [ | |
"background: ${1:color} ${2:url} ${3:no-repeat} ${4:position} / ${5:size} ${6:origin} ${7:clip};", | |
], | |
"description": "background shorthand" | |
}, | |
"font": { | |
"prefix": "font", | |
"body": [ | |
"font: ${1:style} ${2:variant} ${3:weight} ${4:size} / ${5:line-height} ${6:family};", | |
], | |
"description": "font shorthand" | |
}, | |
"transition": { | |
"prefix": "tran", | |
"body": [ | |
"transition: ${1:property} ${2:duration} ${3:timing} ${4:delay};", | |
], | |
"description": "transition shorthand" | |
}, | |
"animation": { | |
"prefix": "anim", | |
"body": [ | |
"animation: ${1:name} ${2:duration} ${3:timing} ${4:delay} ${5:count} ${6:direction} ${7:mode} ${8:state};", | |
], | |
"description": "transition shorthand" | |
}, | |
"box-shadow": { | |
"prefix": "box-shadow", | |
"body": [ | |
"box-shadow: ${1:x} ${2:y} ${3:radius} ${4:spread} ${5:color};", | |
], | |
"description": "box-shadow" | |
}, | |
"text-shadow": { | |
"prefix": "text-shadow", | |
"body": [ | |
"box-shadow: ${1:x} ${2:y} ${3:radius} ${5:color};", | |
], | |
"description": "box-shadow" | |
}, | |
"no-break": { | |
"prefix": "no-break", | |
"body": [ | |
".no-break {", | |
" overflow: hidden;", | |
" text-overflow: ellipsis;", | |
" white-space: nowrap;", | |
"}" | |
], | |
"description": "no-break" | |
}, | |
"clearfix": { | |
"prefix": "clearfix", | |
"body": [ | |
".clearfix::after {", | |
" content: \"\";", | |
" display: table;", | |
" clear: both;", | |
"}" | |
], | |
"description": "clearfix" | |
}, | |
"body": { | |
"prefix": "body", | |
"body": [ | |
"body {", | |
" margin: 0;", | |
" padding: 0.5rem;", | |
"}" | |
], | |
"description": "body" | |
} | |
} |
This file contains 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 console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"random int": { | |
"prefix": "randomInt", | |
"body": [ | |
"function randomInt (min, max) {", | |
"\tmin = Math.ceil(min)", | |
"\tmax = Math.floor(max)", | |
"\treturn Math.floor(Math.random() * (max - min)) + min", | |
"}" | |
], | |
"description": "Generate random int" | |
}, | |
"width": { | |
"prefix": "clientWidth", | |
"body": [ | |
"document.documentElement.clientWidth" | |
], | |
"description": "without scrollbar" | |
}, | |
"elt": { | |
"prefix": "elt", | |
"body": [ | |
"function elt (name, attr = {}, ...text) {", | |
"\tconst node = document.createElement(name)", | |
"\tObject.keys(attr).forEach(k => {", | |
"\t\tnode.setAttribute(k, attr[k])", | |
"\t})", | |
"\n", | |
"\ttext.forEach(t => {", | |
"\t\tif (typeof t === 'string') {", | |
"\t\t\tt = document.createTextNode(t)", | |
"\t\t}", | |
"\t\tnode.appendChild(t)", | |
"\t})", | |
"\treturn node", | |
"}", | |
], | |
"description": "create element" | |
}, | |
"bindDown": { | |
"prefix": "bindDown", | |
"body": [ | |
"function bindDown (el = window, onDown) {", | |
"\tlet type = ''", | |
"\t// avoid touch and click fired at the same time", | |
"\tfunction down (e) {", | |
"\t\tif (!type) {", | |
"\t\t\t\ttype = e.type", | |
"\t\t}", | |
"\t\tif (e.type === type) {", | |
"\t\t\t\tonDown(e)", | |
"\t\t}", | |
"\t}", | |
"\tel.addEventListener('mousedown', down)", | |
"\tel.addEventListener('touchstart', down)", | |
"}" | |
], | |
"description": "bind mousedown and touchstart" | |
}, | |
"rollup": { | |
"prefix": "rollup", | |
"body": [ | |
"export default [", | |
" {", | |
" input: '${1:src/index.js}',", | |
" output: {", | |
" file: '${2:dist/index.js}',", | |
" format: 'iife',", | |
" name: '${3:name}'", | |
" },", | |
" plugins: []", | |
" }", | |
"]" | |
], | |
"description": "rollup" | |
} | |
} |
This file contains 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 global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | |
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | |
// is left empty or omitted, the snippet gets applied to all languages. 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": { | |
"scope": "javascript,typescript", | |
"prefix": "cl", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
} | |
} |
This file contains 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 rust 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" | |
// } | |
} |
This file contains 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 ruby 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" | |
// } | |
"do inline": { | |
"prefix": "doin", | |
"body": [ | |
"{ |$1| $2 }", | |
], | |
"description": "do inline" | |
}, | |
"block": { | |
"prefix": "do", | |
"body": [ | |
"do |$1|", | |
" $2", | |
"end" | |
], | |
"description": "block" | |
}, | |
"def": { | |
"prefix": "def", | |
"body": [ | |
"def $1", | |
"end" | |
], | |
"description": "def" | |
}, | |
"class": { | |
"prefix": "class", | |
"body": [ | |
"class $1", | |
" $2", | |
" def initialize$3", | |
" $4", | |
" end", | |
" $5", | |
"end" | |
], | |
"description": "class" | |
}, | |
"loop": { | |
"prefix": "loop", | |
"body": [ | |
"loop do", | |
" $1", | |
"end" | |
], | |
"description": "loop" | |
}, | |
"robocop disable": { | |
"prefix": "robocop", | |
"body": [ | |
"rubocop:disable $1" | |
], | |
"description": "robocop disable" | |
}, | |
"frozen_string_literal: true": { | |
"prefix": "fsl", | |
"body": [ | |
"# frozen_string_literal: true" | |
], | |
"description": "# frozen_string_literal: true" | |
} | |
} |
This file contains 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 rust 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" | |
// } | |
"Println!": { | |
"prefix": "pr", | |
"body": [ | |
"println!(\"{}\",$0);", | |
], | |
"description": "println!" | |
}, | |
"derive_debug": { | |
"prefix": "dede", | |
"body": [ | |
"#[derive(Debug)]", | |
], | |
"description": "#[derive(Debug)]" | |
}, | |
"assert_eq!": { | |
"prefix": "ae", | |
"body": [ | |
"assert_eq!($0, $1)", | |
], | |
"description": "assert" | |
} | |
} |
This file contains 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 scss 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" | |
// } | |
"background": { | |
"prefix": "back", | |
"body": [ | |
"background: ${1:#ffffff00} url('${2:url}') ${3:no-repeat} ${4:center} / ${5:contain} ${6:origin} ${7:clip};", | |
], | |
"description": "background shorthand" | |
}, | |
"font": { | |
"prefix": "font", | |
"body": [ | |
"font: ${1:style} ${2:variant} ${3:weight} ${4:size} / ${5:line-height} ${6:family};", | |
], | |
"description": "font shorthand" | |
}, | |
"transition": { | |
"prefix": "tran", | |
"body": [ | |
"transition: ${1:property} ${2:duration} ${3:timing} ${4:delay};", | |
], | |
"description": "transition shorthand" | |
}, | |
"animation": { | |
"prefix": "anim", | |
"body": [ | |
"animation: ${1:name} ${2:duration} ${3:timing} ${4:delay} ${5:count} ${6:direction} ${7:mode} ${8:state};", | |
], | |
"description": "transition shorthand" | |
}, | |
"box-shadow": { | |
"prefix": "box-shadow", | |
"body": [ | |
"box-shadow: ${1:x} ${2:y} ${3:radius} ${4:spread} ${5:color};", | |
], | |
"description": "box-shadow" | |
}, | |
"text-shadow": { | |
"prefix": "text-shadow", | |
"body": [ | |
"box-shadow: ${1:x} ${2:y} ${3:radius} ${5:color};", | |
], | |
"description": "box-shadow" | |
}, | |
"no-break": { | |
"prefix": "no-break", | |
"body": [ | |
".no-break {", | |
" overflow: hidden;", | |
" text-overflow: ellipsis;", | |
" white-space: nowrap;", | |
"}" | |
], | |
"description": "no-break" | |
}, | |
"font-family": { | |
"prefix": "font-family", | |
"body": [ | |
"font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;" | |
], | |
"description": "font-family" | |
} | |
} |
This file contains 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
{ | |
"vue": { | |
"prefix": "vue", | |
"body": [ | |
"<template>", | |
"$1", | |
"</template>", | |
"", | |
"<script>", | |
"export default {", | |
" name: ''", | |
"}", | |
"</script>", | |
"", | |
"<!-- Add scoped attribute to limit CSS to this component only -->", | |
"<style scoped lang=\"scss\">", | |
"", | |
"</style>" | |
], | |
"description": "vue" | |
}, | |
"vuex": { | |
"prefix": "vuex", | |
"body": [ | |
"export default {", | |
" state: {", | |
" $1", | |
" },", | |
" getters: {", | |
"", | |
" },", | |
" mutations: {", | |
"", | |
" },", | |
" actions: {", | |
"", | |
" }", | |
"}" | |
], | |
"description": "vuex" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment