-
-
Save gartmeier/3d19984090ae8e5d674f4a40deb4f73b to your computer and use it in GitHub Desktop.
VS Code settings - Public
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":"2020-11-13T09:58:04.931Z","extensionVersion":"v3.4.3"} |
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": "fb2656fb-4c67-489c-9c92-7a49c5d38e94", | |
"publisherId": "AESSoft.aessoft-class-autocomplete", | |
"publisherDisplayName": "AESSoft" | |
}, | |
"name": "aessoft-class-autocomplete", | |
"publisher": "AESSoft", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.9" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.5" | |
}, | |
{ | |
"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": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.12.11" | |
}, | |
{ | |
"metadata": { | |
"id": "3e8a391a-f3f0-44b2-8631-7847b0c8839a", | |
"publisherId": "kumar-harsh.graphql-for-vscode", | |
"publisherDisplayName": "kumar-harsh" | |
}, | |
"name": "graphql-for-vscode", | |
"publisher": "kumar-harsh", | |
"version": "1.15.3" | |
}, | |
{ | |
"metadata": { | |
"id": "38ad8277-d23f-4cfc-becf-c77e41c3f2ee", | |
"publisherId": "spywhere.guides", | |
"publisherDisplayName": "spywhere" | |
}, | |
"name": "guides", | |
"publisher": "spywhere", | |
"version": "0.9.3" | |
}, | |
{ | |
"metadata": { | |
"id": "9e69a2cb-2094-4a0a-8777-93aae5432a49", | |
"publisherId": "AndersEAndersen.html-class-suggestions", | |
"publisherDisplayName": "AndersEAndersen" | |
}, | |
"name": "html-class-suggestions", | |
"publisher": "AndersEAndersen", | |
"version": "1.0.7" | |
}, | |
{ | |
"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.41" | |
}, | |
{ | |
"metadata": { | |
"id": "9cd87837-c82a-4817-9b79-1c84775aa158", | |
"publisherId": "DigitalBrainstem.javascript-ejs-support", | |
"publisherDisplayName": "DigitalBrainstem" | |
}, | |
"name": "javascript-ejs-support", | |
"publisher": "DigitalBrainstem", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "c352bc6b-402c-45d5-bbab-504eb2ca4170", | |
"publisherId": "vespa-dev-works.jestRunIt", | |
"publisherDisplayName": "vespa-dev-works" | |
}, | |
"name": "jestRunIt", | |
"publisher": "vespa-dev-works", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "3.9.3" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6d40d0bb-f7f2-4d8b-94a9-ad03aa13fb8f", | |
"publisherId": "HookyQR.minify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "minify", | |
"publisher": "HookyQR", | |
"version": "0.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "36d19e17-7569-4841-a001-947eb18602b2", | |
"publisherId": "ms-vscode.node-debug2", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "node-debug2", | |
"publisher": "ms-vscode", | |
"version": "1.42.5" | |
}, | |
{ | |
"metadata": { | |
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8", | |
"publisherId": "christian-kohler.npm-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "npm-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "christian-kohler.path-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "2.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "5.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "db0e58d0-3519-4d7f-b181-11690e64588a", | |
"publisherId": "schroeter.prettier-vscode-space-parenthesis", | |
"publisherDisplayName": "schroeter" | |
}, | |
"name": "prettier-vscode-space-parenthesis", | |
"publisher": "schroeter", | |
"version": "0.17.101" | |
}, | |
{ | |
"metadata": { | |
"id": "7ed7bccd-f358-4c6f-88c0-1296185abaa1", | |
"publisherId": "chrmarti.regex", | |
"publisherDisplayName": "chrmarti" | |
}, | |
"name": "regex", | |
"publisher": "chrmarti", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "681c21d4-1353-47a8-8c0d-7105819413ef", | |
"publisherId": "prograhammer.tslint-vue", | |
"publisherDisplayName": "prograhammer" | |
}, | |
"name": "tslint-vue", | |
"publisher": "prograhammer", | |
"version": "1.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "715aa284-6075-4de1-bd19-61f1b214683a", | |
"publisherId": "abotteram.typescript-react-snippets", | |
"publisherDisplayName": "abotteram" | |
}, | |
"name": "typescript-react-snippets", | |
"publisher": "abotteram", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "40912f71-302e-4881-b9e4-e55dbf2ab119", | |
"publisherId": "sodatea.velocity", | |
"publisherDisplayName": "sodatea" | |
}, | |
"name": "velocity", | |
"publisher": "sodatea", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.30.1" | |
}, | |
{ | |
"metadata": { | |
"id": "0b8f8d63-11a2-4194-969c-ca7488b3413a", | |
"publisherId": "pranaygp.vscode-css-peek", | |
"publisherDisplayName": "pranaygp" | |
}, | |
"name": "vscode-css-peek", | |
"publisher": "pranaygp", | |
"version": "4.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.13" | |
}, | |
{ | |
"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": "510e1d4e-1f9e-4910-8dbd-627c6f8a9791", | |
"publisherId": "akamud.vscode-javascript-snippet-pack", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-javascript-snippet-pack", | |
"publisher": "akamud", | |
"version": "0.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "e8e7b42a-e70c-489f-a2dd-ebf10cf14a33", | |
"publisherId": "mrmlnc.vscode-less", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-less", | |
"publisher": "mrmlnc", | |
"version": "0.6.3" | |
}, | |
{ | |
"metadata": { | |
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757", | |
"publisherId": "eg2.vscode-npm-script", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "vscode-npm-script", | |
"publisher": "eg2", | |
"version": "0.3.13" | |
}, | |
{ | |
"metadata": { | |
"id": "beb68b20-7c55-471c-9b63-3486f9423566", | |
"publisherId": "mrmlnc.vscode-scss", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-scss", | |
"publisher": "mrmlnc", | |
"version": "0.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ec35b5a3-9802-4c68-b5ff-e85f19ec0977", | |
"publisherId": "stylelint.vscode-stylelint", | |
"publisherDisplayName": "stylelint" | |
}, | |
"name": "vscode-stylelint", | |
"publisher": "stylelint", | |
"version": "0.85.0" | |
}, | |
{ | |
"metadata": { | |
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444", | |
"publisherId": "VisualStudioExptTeam.vscodeintellicode", | |
"publisherDisplayName": "VisualStudioExptTeam" | |
}, | |
"name": "vscodeintellicode", | |
"publisher": "VisualStudioExptTeam", | |
"version": "1.2.10" | |
}, | |
{ | |
"metadata": { | |
"id": "6f99be10-9aad-4b1c-8691-bcae8ae7b104", | |
"publisherId": "dariofuzinato.vue-peek", | |
"publisherDisplayName": "dariofuzinato" | |
}, | |
"name": "vue-peek", | |
"publisher": "dariofuzinato", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "c8d95916-cf54-455f-b324-cbd887b7d3a8", | |
"publisherId": "sdras.vue-vscode-snippets", | |
"publisherDisplayName": "sdras" | |
}, | |
"name": "vue-vscode-snippets", | |
"publisher": "sdras", | |
"version": "2.1.5" | |
} | |
] |
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+alt+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "-workbench.view.debug" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.deleteLines", | |
"when": "!editorReadonly && editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "-editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+k cmd+t", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "cmd+numpad1", | |
"command": "-workbench.view.explorer", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+numpad3", | |
"command": "-workbench.action.toggleSidebarVisibility", | |
"when": "searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+numpad1", | |
"command": "-workbench.action.toggleSidebarVisibility", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "cmd+numpad3", | |
"command": "-workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+'", | |
"command": "HookyQR.beautifyFile" | |
}, | |
{ | |
"key": "cmd+numpad1", | |
"command": "workbench.action.terminal.focusAtIndex1" | |
}, | |
{ | |
"key": "cmd+numpad2", | |
"command": "workbench.action.terminal.focusAtIndex2" | |
}, | |
{ | |
"key": "cmd+numpad3", | |
"command": "workbench.action.terminal.focusAtIndex3" | |
}, | |
{ | |
"key": "shift+cmd+numpad_subtract", | |
"command": "workbench.action.terminal.kill" | |
}, | |
{ | |
"key": "shift+cmd+f", | |
"command": "-vueBeautify.format", | |
"when": "editorTextFocus && editorTextFocus && !editorReadonly && resourceLangId == 'vue'" | |
}, | |
{ | |
"key": "shift+cmd+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+numpad_add", | |
"command": "workbench.action.splitEditorRight" | |
}, | |
{ | |
"key": "shift+cmd+numpad_add", | |
"command": "workbench.action.terminal.splitInActiveWorkspace" | |
}, | |
{ | |
"key": "alt+cmd+e", | |
"command": "workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "cmd+k r", | |
"command": "-workbench.action.files.revealActiveFileInWindows" | |
}, | |
{ | |
"key": "shift+cmd+numpad_add", | |
"command": "-editor.unfoldAll", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+numpad_add", | |
"command": "-editor.unfold", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+d", | |
"command": "editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "-editor.action.addSelectionToNextFindMatch", | |
"when": "editorFocus" | |
} | |
] |
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
{ | |
"name": "material-icon-theme", | |
"version": "2.1.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
{ | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"workbench.iconTheme": "material-icon-theme", | |
"material-icon-theme.folders.color": "#ef6c00", | |
"workbench.activityBar.visible": true, | |
"workbench.colorCustomizations": { | |
"editorBracketMatch.background": "#f008", | |
"editorBracketMatch.border": "#f00", | |
"editorIndentGuide.background": "#5d6664bd", | |
"editor.selectionBackground": "#135564", | |
"editor.selectionHighlightBackground": "#135554c4", | |
"editorLineNumber.foreground": "#A8DCFD" | |
}, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.minimap.enabled": false, | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", | |
"editor.detectIndentation": false, | |
"editor.renderIndentGuides": false, | |
"editor.columnSelection": false, | |
"diffEditor.ignoreTrimWhitespace": true, | |
"keyboard.touchbar.enabled": false, | |
// IntelliSense settings | |
"editor.suggestSelection": "first", | |
"editor.snippetSuggestions": "top", | |
// Formatters settings | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "schroeter.prettier-vscode-space-parenthesis" | |
}, | |
// Exclude from search | |
"search.exclude": { | |
"**/.git": true, | |
"**/node_modules": true | |
}, | |
// Guides settings | |
"guides.limit.maximum": -0.5, | |
"guides.active.color.dark": "rgba(195, 112, 60, 1)", | |
"guides.normal.enabled": true, | |
"guides.sendUsagesAndStats": false, | |
"guides.updateDelay": 0.01, | |
"guides.overrideDefault": true, | |
"breadcrumbs.enabled": true, | |
// Import cost settings | |
"importCost.typescriptExtensions": ["\\.tsx?$", "\\.vue$"], | |
"importCost.javascriptExtensions": ["\\.jsx?$", "\\.vue$"], | |
// ESLINT Settings | |
"eslint.enable": true, | |
"eslint.format.enable": true, | |
"eslint.options": { | |
"extensions": [".vue", ".js", ".ts", ".html", ".jsx"] | |
}, | |
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue"], | |
// Prettier settings | |
"prettier.printWidth": 120, | |
"prettier.trailingComma": "none", | |
"prettier.singleQuote": false, | |
"prettier.bracketSpacing": true, | |
"prettier.eslintIntegration": true, | |
// Vetur settings | |
"vetur.format.defaultFormatter.html": "js-beautify-html", | |
"vetur.format.defaultFormatterOptions": { | |
"prettyhtml": { | |
"wrapAttributes": true | |
}, | |
"js-beautify-html": { | |
"wrap_attributes": "auto" | |
} | |
}, | |
"files.associations": { | |
"*.gs": "javascript" | |
}, | |
// Jest run it settings | |
"jestRunIt.debugTestLabel": "🐞 Debug", | |
"jestRunIt.runTestLabel": "🏃♂️ Run", | |
/* Sync Settings */ | |
"sync.gist": "3d19984090ae8e5d674f4a40deb4f73b", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"sync.quietSync": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.forceUpload": true, | |
"git.ignoreMissingGitWarning": true, | |
"terminal.integrated.rendererType": "dom", | |
// no update message stuff | |
"material-icon-theme.showUpdateMessage": false, | |
// "terminal.integrated.fontFamily": "MesloLGS NF", | |
// "terminal.integrated.shell.osx": "/bin/zsh", | |
"[vue]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"workbench.startupEditor": "newUntitledFile" | |
} |
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
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" | |
// } | |
"Function": { | |
"prefix": "func", | |
"body": [ | |
"$1($2) {\n\t$3\n}" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Arrow function": { | |
"prefix": "arf", | |
"body": [ | |
"$1($2) => {\n\t$3\n}" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Arrow function as variable": { | |
"prefix": "arfv", | |
"body": [ | |
"const $1 = ($2) => {\n\t$3\n};" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Log to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1')" | |
], | |
"description": "Log to the console", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Log separator": { | |
"prefix": "logsep", | |
"body": [ | |
"console.log('----------------------------------------')" | |
], | |
"description": "Log a separator to the console", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Promise then function": { | |
"prefix": "then", | |
"body": [ | |
".then(() => {\n\t$1\n});" | |
], | |
"description": "Add then and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Promise catch function": { | |
"prefix": "catch", | |
"body": [ | |
".catch((err) => {\n\t$1\n});" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Promise then and catch function": { | |
"prefix": "thencatch", | |
"body": [ | |
"\n.then(() => {\n\t$1\n})\n.catch((err) => {\n\t$1\n});" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Delayer function": { | |
"prefix": "delayprom", | |
"body": [ | |
"function delay(ms) {\n\treturn new Promise(resolve => setTimeout(resolve, ms));\n}" | |
], | |
"description": "Add catch and arrow function", | |
"scope": "javascript,typescript,javascriptreact" | |
}, | |
"Comment single line": { | |
"prefix": "com", | |
"body": [ | |
"/* $1 */" | |
], | |
"description": "Add TO DO comment", | |
"scope": "javascript,typescript,javascriptreact,css,scss,less" | |
}, | |
"Comment multiple lines": { | |
"prefix": "comm", | |
"body": [ | |
"/**\n\t* $1\n**/" | |
], | |
"description": "Add TO DO comment", | |
"scope": "javascript,typescript,javascriptreact,css,scss,less" | |
}, | |
"Comment detailed": { | |
"prefix": "comd", | |
"body": [ | |
"/** $1\n|--------------------------------------------------\n|\t$2\n|--------------------------------------------------\n**/" | |
], | |
"description": "Add TO DO comment", | |
"scope": "javascript,typescript,javascriptreact,css,scss,less" | |
}, | |
"Comment function params": { | |
"prefix": "comf", | |
"body": [ | |
"/**\n* ${1:What does this function do?}\n* @param ${2:type} [${3:param name}]\n* @param ${4:type} [${5:param name}]\n**/" | |
], | |
"description": "Add TO DO comment", | |
"scope": "javascript,typescript,javascriptreact,css,scss,less" | |
}, | |
"Add todo": { | |
"prefix": "todo", | |
"body": [ | |
"/*\n\tTO DO:\n\t$1\n*/" | |
], | |
"description": "Add TO DO comment", | |
"scope": "javascript,typescript,javascriptreact,css,scss,less" | |
}, | |
"New Vue Template Composition API": { | |
"prefix": "newVue", | |
"body": [ | |
"<template>\n\t<div>$1</div>\n</template>\n\n<script>\nimport { defineComponent, onMounted } from \"@vue/composition-api\";\n\nexport default defineComponent({\n\tprops: {},\n\tsetup() {\n\t\tconst data = \"test\";\n\n\t\treturn { data };\n\t}\n});\n</script>\n\n<style lang=\"scss\">\n</style>" | |
], | |
"description": "Vue JS base template", | |
"scope": "vue" | |
}, | |
"New Vue Template - Legacy": { | |
"prefix": "newVueLegacy", | |
"body": [ | |
"<template>\n\t<div>$1</div>\n</template>\n\n<script>\nimport { mapState } from \"vuex\";\n\nexport default {\n\tdata() {\n\t\treturn { prop: true };\n\t},\n\tcomputed: {\n\t\t...mapState([\"\"]),\n\t\tcomputedVar() {\n\t\t\treturn true;\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\">\n</style>" | |
], | |
"description": "Vue JS base template", | |
"scope": "vue" | |
}, | |
"New Vue TS Template": { | |
"prefix": "newVueTS", | |
"body": [ | |
"<template>\n\t<div></div>\n</template>\n\n<script lang=\"ts\">\nimport { Component, Vue } from \"vue-property-decorator\";\n\n@Component\nexport default class ${1:ComponentName} extends Vue {\n\t$2\n}\n</script>\n" | |
], | |
"description": "Vue TS base template", | |
"scope": "vue" | |
}, | |
} |
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 console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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 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" | |
// } | |
} |
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" | |
// } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment