Last active
June 12, 2018 10:12
-
-
Save 1Rhino/d24f7fae6b72cb24596ac8fb87441b07 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
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":"2018-06-12T10:12:01.675Z","extensionVersion":"v2.9.2"} |
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": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "HookyQR.beautify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.9.2" | |
}, | |
{ | |
"metadata": { | |
"id": "34e27654-43b1-4a43-bfd5-e81a7a6c2ffa", | |
"publisherId": "bibhasdn.django-html", | |
"publisherDisplayName": "bibhasdn" | |
}, | |
"name": "django-html", | |
"publisher": "bibhasdn", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5da0c8de-e8a6-4287-9ef1-632f0d6db9ad", | |
"publisherId": "CraigMaslowski.erb", | |
"publisherDisplayName": "CraigMaslowski" | |
}, | |
"name": "erb", | |
"publisher": "CraigMaslowski", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "8.3.5" | |
}, | |
{ | |
"metadata": { | |
"id": "31dab038-d2f7-47c2-894e-5c35684dbd0e", | |
"publisherId": "karunamurti.haml", | |
"publisherDisplayName": "karunamurti" | |
}, | |
"name": "haml", | |
"publisher": "karunamurti", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "050d4900-7979-4d10-b7aa-e274f6ae8730", | |
"publisherId": "onecentlin.laravel5-snippets", | |
"publisherDisplayName": "onecentlin" | |
}, | |
"name": "laravel5-snippets", | |
"publisher": "onecentlin", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.3.5" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.Material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "Material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "2.13.6" | |
}, | |
{ | |
"metadata": { | |
"id": "fef63133-dae3-40fb-b81d-6da7617b4b1e", | |
"publisherId": "techer.open-in-browser", | |
"publisherDisplayName": "techer" | |
}, | |
"name": "open-in-browser", | |
"publisher": "techer", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347", | |
"publisherId": "alefragnani.project-manager", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "project-manager", | |
"publisher": "alefragnani", | |
"version": "0.25.2" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2018.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "61048194-bd70-4abb-b039-d796bf6be01c", | |
"publisherId": "bung87.rails", | |
"publisherDisplayName": "bung87" | |
}, | |
"name": "rails", | |
"publisher": "bung87", | |
"version": "0.5.7" | |
}, | |
{ | |
"metadata": { | |
"id": "3792588c-3d35-442d-91ea-fe6a755e8155", | |
"publisherId": "mechatroner.rainbow-csv", | |
"publisherDisplayName": "mechatroner" | |
}, | |
"name": "rainbow-csv", | |
"publisher": "mechatroner", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.Ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "Ruby", | |
"publisher": "rebornix", | |
"version": "0.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "867c2662-4ce0-4736-a22c-69975925a0c6", | |
"publisherId": "misogi.ruby-rubocop", | |
"publisherDisplayName": "misogi" | |
}, | |
"name": "ruby-rubocop", | |
"publisher": "misogi", | |
"version": "0.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e52bce95-a629-455f-8626-e7301b9e372a", | |
"publisherId": "robinbentley.sass-indented", | |
"publisherDisplayName": "robinbentley" | |
}, | |
"name": "sass-indented", | |
"publisher": "robinbentley", | |
"version": "1.4.9" | |
}, | |
{ | |
"metadata": { | |
"id": "66a5558f-9e27-4895-9c3e-dde3d657bc13", | |
"publisherId": "sianglim.slim", | |
"publisherDisplayName": "sianglim" | |
}, | |
"name": "slim", | |
"publisher": "sianglim", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9", | |
"publisherId": "castwide.solargraph", | |
"publisherDisplayName": "castwide" | |
}, | |
"name": "solargraph", | |
"publisher": "castwide", | |
"version": "0.17.4" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "ms-vscode.sublime-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "4.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3324c5be-43aa-4c39-a0f8-d94c2978804f", | |
"publisherId": "whatwedo.twig", | |
"publisherDisplayName": "whatwedo" | |
}, | |
"name": "twig", | |
"publisher": "whatwedo", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.12.5" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "0.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.4.12" | |
}, | |
{ | |
"metadata": { | |
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b", | |
"publisherId": "sleistner.vscode-fileutils", | |
"publisherDisplayName": "sleistner" | |
}, | |
"name": "vscode-fileutils", | |
"publisher": "sleistner", | |
"version": "2.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "robertohuertasm.vscode-icons", | |
"publisherDisplayName": "robertohuertasm" | |
}, | |
"name": "vscode-icons", | |
"publisher": "robertohuertasm", | |
"version": "7.23.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c856990a-978d-46eb-aa5e-318cd7bfecc6", | |
"publisherId": "shanoor.vscode-nginx", | |
"publisherDisplayName": "shanoor" | |
}, | |
"name": "vscode-nginx", | |
"publisher": "shanoor", | |
"version": "0.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "03b20f74-9504-4130-a12f-af9808985b37", | |
"publisherId": "Rubymaniac.vscode-paste-and-indent", | |
"publisherDisplayName": "Rubymaniac" | |
}, | |
"name": "vscode-paste-and-indent", | |
"publisher": "Rubymaniac", | |
"version": "0.0.8" | |
}, | |
{ | |
"metadata": { | |
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db", | |
"publisherId": "cssho.vscode-svgviewer", | |
"publisherDisplayName": "cssho" | |
}, | |
"name": "vscode-svgviewer", | |
"publisher": "cssho", | |
"version": "1.4.4" | |
}, | |
{ | |
"metadata": { | |
"id": "3620b114-6fe8-459b-8c68-99943147069b", | |
"publisherId": "hollowtree.vue-snippets", | |
"publisherDisplayName": "hollowtree" | |
}, | |
"name": "vue-snippets", | |
"publisher": "hollowtree", | |
"version": "0.1.7" | |
} | |
] |
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
// Empty |
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": "cmd+\\", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "workbench.action.toggleMaximizedPanel", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "-workbench.view.scm" | |
}, | |
{ | |
"key": "shift+cmd+]", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+[", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "-editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "ctrl+cmd+z", | |
"command": "git.clean" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+cmd+p", | |
"command": "projectManager.listProjectsNewWindow" | |
}, | |
{ | |
"key": "shift+cmd+.", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "shift+cmd+,", | |
"command": "workbench.action.joinTwoGroups" | |
} | |
] |
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.tabSize": 2, | |
"editor.renderWhitespace": "all", | |
"editor.minimap.enabled": false, | |
"workbench.colorTheme": "One Dark Pro", | |
"window.openFilesInNewWindow": "on", | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"tmp/": true, | |
"**/node_modules/**": true, | |
"**/log/": true, | |
// "vendor": true, | |
"www/build/": true, | |
"www/assets/": true, | |
".sourcemaps/": true, | |
"**/build/": true, | |
"storage": true, | |
}, | |
"editor.wordWrap": "on", | |
"editor.rulers": [ | |
80, | |
99 | |
], | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"workbench.iconTheme": "vscode-icons", | |
"extensions.ignoreRecommendations": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true, | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": true, | |
"strings": true | |
}, | |
"explorer.autoReveal": false, | |
"vsicons.projectDetection.autoReload": true, | |
"window.zoomLevel": -1.5, | |
"files.trimTrailingWhitespace": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.autoIndent": false, | |
"vim.autoindent": false, | |
"editor.detectIndentation": false, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": true, | |
"suppressNoRepositoryWarning": false, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true, | |
"suppressUpdateNotice": true, | |
"suppressWelcomeNotice": true | |
}, | |
"gitlens.annotations.file.gutter.format": "${author|10?} ${date|10}", | |
"gitlens.annotations.file.gutter.dateFormat": "YYYY-MM-DD", | |
"emmet.includeLanguages": { | |
"blade": "html" | |
}, | |
"emmet.triggerExpansionOnTab": true, | |
"editor.quickSuggestionsDelay": 1, | |
"workbench.activityBar.visible": false, | |
"files.associations": { | |
"*.html": "html", | |
"*.ts": "typescript" | |
}, | |
// "workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"explorer.confirmDelete": false, | |
"git.autofetch": true, | |
"[php]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"[python]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"[javascript]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"[html]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"git.confirmSync": false, | |
"terminal.external.osxExec": "iTerm.app", | |
"terminal.integrated.rightClickCopyPaste": true, | |
"explorer.confirmDragAndDrop": false, | |
"sync.gist": "d24f7fae6b72cb24596ac8fb87441b07", | |
"sync.lastUpload": "2018-06-11T04:30:08.931Z", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastDownload": "2018-05-03T08:08:12.150Z", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"gitlens.blame.dateFormat": "YYYY-MM-DD", | |
"gitlens.blame.format": "${author|10?} ${date|10}", | |
"gitlens.keymap": "chorded", | |
"vsicons.dontShowNewVersionMessage": true, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"git.ignoreMissingGitWarning": true, | |
"gitlens.historyExplorer.enabled": true, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
{ | |
"autoFix": true, | |
"language": "vue" | |
} | |
], | |
} |
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 coffeescript 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" | |
// } | |
"coffee_new_class": { | |
"prefix": "coffee_new_class", | |
"body": [ | |
"class ${1:ClassName}", | |
" init: ->", | |
" bindingEvents()", | |
" ", | |
" bindingEvents = ->", | |
" # functions", | |
" ", | |
"$ ->", | |
" (new ${1:ClassName}()).init()" | |
], | |
"description": "coffee_new_class" | |
} | |
} |
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 erb 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 html.erb 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" | |
} | |
*/ | |
"code_tag": { | |
"prefix": "%", | |
"body": [ | |
"{% $1 %}" | |
], | |
"description": "Django html code tag" | |
}, | |
"block_tag": { | |
"prefix": "{", | |
"body": [ | |
"{{ $1 }}" | |
], | |
"description": "Django html block tag" | |
} | |
} |
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 (Babel) 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" | |
} | |
*/ | |
"Javascript new class function": { | |
"prefix": "js_new_class", | |
"body": [ | |
"window.${1:ClassName} = (function() {", | |
" // Constructor", | |
" function ${1:ClassName}() {}", | |
"", | |
" ${1:ClassName}.prototype.init = function () {", | |
" bindingEvents();", | |
" }", | |
"", | |
" bindingEvents = function (){", | |
" }", | |
"", | |
" return ${1:ClassName};", | |
"", | |
"})();", | |
"", | |
"$(function() {", | |
" (new ${1:ClassName}()).init();", | |
"})" | |
], | |
"description": "Javascript new class function" | |
}, | |
"Javascript new function": { | |
"prefix": "js_fun", | |
"body": [ | |
"${1:myFunctionName} = function() {", | |
" ${2}", | |
"}" | |
] | |
}, | |
"new function Javascript": { | |
"prefix": "fun", | |
"body": [ | |
"function(${1}) {", | |
" ${2}", | |
"}" | |
] | |
}, | |
"Vuew new store module": { | |
"prefix": "vue_new_store_module", | |
"body": [ | |
"// import * as types from '../mutation_types'", | |
"", | |
"const state = {", | |
" data: []", | |
"}", | |
"", | |
"const getters = {", | |
" data: state => state.data", | |
"}", | |
"", | |
"const actions = {", | |
"}", | |
"", | |
"const mutations = {", | |
" [types.SET_DATA](state, data) {", | |
" state.data = data", | |
" },", | |
"}", | |
"", | |
"export default {", | |
" state,", | |
" getters,", | |
" actions,", | |
" mutations", | |
"}" | |
], | |
"description": "Vuew new store module" | |
}, | |
"vue api new function": { | |
"prefix": "vue_api_new_function", | |
"body": [ | |
"apiNewFunction: function (formData, cb, errorCB) {", | |
" axios({", | |
" url: '/api/...',", | |
" method: 'post',", | |
" responseType: 'json',", | |
" data: formData, // params: formData if method 'get'", | |
" })", | |
" .then((response) => {", | |
" cb(response.data);", | |
" }, (error) => {", | |
" errorCB(error)", | |
" });", | |
"}," | |
], | |
"description": "vue api new function" | |
}, | |
"debuger": { | |
"prefix": "db", | |
"body": [ | |
"debugger // eslint-disable-line" | |
], | |
"description": "debuger" | |
} | |
} |
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 React 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" | |
} | |
*/ | |
"Ruby new module": { | |
"prefix": "r_new_module", | |
"body": [ | |
"# frozen_string_literal: true", | |
"# encoding: utf-8", | |
"", | |
"module ModuleName", | |
" class ClassName", | |
" def initialize(params)", | |
" @params = params", | |
" end", | |
"", | |
" def perform", | |
" end", | |
"", | |
" private", | |
"", | |
" def method_name", | |
" end", | |
" end", | |
"end" | |
], | |
"description": "Ruby new module" | |
}, | |
"bye byg": { | |
"prefix": "bb", | |
"body": [ | |
"byebug" | |
], | |
"description": "bye byg" | |
}, | |
"binding pry": { | |
"prefix": "pry", | |
"body": [ | |
"binding.pry" | |
], | |
"description": "binding pry" | |
} | |
} |
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 TypeScript 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" | |
} | |
*/ | |
"debuger": { | |
"prefix": "db", | |
"body": [ | |
"debugger // eslint-disable-line" | |
], | |
"description": "debuger" | |
} | |
} |
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 TypeScript React 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
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" | |
// } | |
} |
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 vue-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" | |
// } | |
} |
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 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_new_page_component": { | |
"prefix": "vue_new_page_component", | |
"body": [ | |
"<template>", | |
" <div id=\"NewIdPage\">", | |
" <div class=\"col-xs-12 no-padding\">", | |
" </div>", | |
" </div>", | |
"</template>", | |
"", | |
"<script>", | |
" import { mapGetters } from 'vuex'", | |
" // import * as mutationTypes from '../../../store/mutation_types'", | |
"", | |
" export default {", | |
" name: 'ComponentName',", | |
" props: ['propsData'],", | |
" components: {},", | |
"", | |
" computed: {", | |
" ...mapGetters({", | |
" }),", | |
" },", | |
"", | |
" data: function () {", | |
" return {", | |
" }", | |
" },", | |
" ", | |
" methods: {", | |
" functionName: function () {", | |
" }", | |
" },", | |
"", | |
" mounted: function () {", | |
" // this.store.dispatch('someAction', this.route.params.id) ", | |
" // this.store.commit(mutationTypes.TYPE_NAME, data ); ", | |
" }", | |
" }", | |
"</script>", | |
"", | |
"<style lang=\"sass\" scoped>", | |
"</style>" | |
], | |
"description": "vue_new_page_component" | |
}, | |
"debuger": { | |
"prefix": "db", | |
"body": [ | |
"debugger; // eslint-disable-line" | |
], | |
"description": "debuger" | |
}, | |
"console log": { | |
"prefix": "log", | |
"body": [ | |
"console.log(${1}); // eslint-disable-line" | |
], | |
"description": "console log" | |
} | |
} |
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
{"version":"7.23.0","status":0,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment