Last active
April 4, 2020 18:58
-
-
Save lucas-janon/f505411c89754380315f4c8347f99719 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":"2020-04-04T18:58:21.162Z","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": "366a9f01-2d1b-48b9-b7df-014ff8dea46b", | |
"publisherId": "formulahendry.auto-complete-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-complete-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085", | |
"publisherId": "bungcip.better-toml", | |
"publisherDisplayName": "bungcip" | |
}, | |
"name": "better-toml", | |
"publisher": "bungcip", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "9b9cdd4e-2a48-4ef1-b104-284fa5bcdb55", | |
"publisherId": "marlon407.code-groovy", | |
"publisherDisplayName": "marlon407" | |
}, | |
"name": "code-groovy", | |
"publisher": "marlon407", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.9.17" | |
}, | |
{ | |
"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": "0fd4a2e2-f7b7-430e-8ba0-3b44ddfb43f5", | |
"publisherId": "Compulim.compulim-vscode-closetag", | |
"publisherDisplayName": "Compulim" | |
}, | |
"name": "compulim-vscode-closetag", | |
"publisher": "Compulim", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.12.6" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1b625615-bded-4797-9806-079abcacfcc1", | |
"publisherId": "letrieu.expand-region", | |
"publisherDisplayName": "letrieu" | |
}, | |
"name": "expand-region", | |
"publisher": "letrieu", | |
"version": "0.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "01826860-d71c-4734-9cf8-dc1c07baa5f9", | |
"publisherId": "fatihacet.gitlab-workflow", | |
"publisherDisplayName": "fatihacet" | |
}, | |
"name": "gitlab-workflow", | |
"publisher": "fatihacet", | |
"version": "2.2.0" | |
}, | |
{ | |
"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": "7b71fc1b-190d-4f7d-95d1-93e422649b0a", | |
"publisherId": "Zignd.html-css-class-completion", | |
"publisherDisplayName": "Zignd" | |
}, | |
"name": "html-css-class-completion", | |
"publisher": "Zignd", | |
"version": "1.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "49c89bb6-0f18-4430-b62e-51bf48a6a2e1", | |
"publisherId": "hwencc.html-tag-wrapper", | |
"publisherDisplayName": "hwencc" | |
}, | |
"name": "html-tag-wrapper", | |
"publisher": "hwencc", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "cd9480c7-b1ec-4528-9c9e-e1e1d71c3652", | |
"publisherId": "hdg.live-html-previewer", | |
"publisherDisplayName": "hdg" | |
}, | |
"name": "live-html-previewer", | |
"publisher": "hdg", | |
"version": "0.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ce071f60-714c-4351-854a-2a1d33f1e357", | |
"publisherId": "felipe.nasc-touchbar", | |
"publisherDisplayName": "felipe" | |
}, | |
"name": "nasc-touchbar", | |
"publisher": "felipe", | |
"version": "1.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "289d0b33-0626-4a5d-b4c8-6acb3cb8e7d7", | |
"publisherId": "useoptic.optic", | |
"publisherDisplayName": "useoptic" | |
}, | |
"name": "optic", | |
"publisher": "useoptic", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "christian-kohler.path-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "4.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2020.3.71659" | |
}, | |
{ | |
"metadata": { | |
"id": "c8cc4a79-76f8-4bac-9e49-1162045fb5e7", | |
"publisherId": "karyfoundation.racket", | |
"publisherDisplayName": "karyfoundation" | |
}, | |
"name": "racket", | |
"publisher": "karyfoundation", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "4ef434e7-60b0-4c98-99d9-e82c67093516", | |
"publisherId": "OfHumanBondage.react-proptypes-intellisense", | |
"publisherDisplayName": "OfHumanBondage" | |
}, | |
"name": "react-proptypes-intellisense", | |
"publisher": "OfHumanBondage", | |
"version": "1.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5", | |
"publisherId": "humao.rest-client", | |
"publisherDisplayName": "humao" | |
}, | |
"name": "rest-client", | |
"publisher": "humao", | |
"version": "0.23.2" | |
}, | |
{ | |
"metadata": { | |
"id": "03433252-49e2-41dc-a8b7-497956c18dd6", | |
"publisherId": "rebornix.scheme", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "scheme", | |
"publisher": "rebornix", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "a85a8ec7-f543-4625-8da7-d21ac04487a0", | |
"publisherId": "jakearl.search-editor-apply-changes", | |
"publisherDisplayName": "jakearl" | |
}, | |
"name": "search-editor-apply-changes", | |
"publisher": "jakearl", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "06e5aaf2-85ae-4d7e-abe1-4d2975a80171", | |
"publisherId": "gaearon.subliminal", | |
"publisherDisplayName": "gaearon" | |
}, | |
"name": "subliminal", | |
"publisher": "gaearon", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d7890502-5057-436e-904c-8d6639f316d7", | |
"publisherId": "austenc.tailwind-docs", | |
"publisherDisplayName": "austenc" | |
}, | |
"name": "tailwind-docs", | |
"publisher": "austenc", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "36aa2925-8674-432f-b123-03c32094c80f", | |
"publisherId": "gerane.Theme-Blackboard", | |
"publisherDisplayName": "gerane" | |
}, | |
"name": "Theme-Blackboard", | |
"publisher": "gerane", | |
"version": "0.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1", | |
"publisherId": "dracula-theme.theme-dracula", | |
"publisherDisplayName": "dracula-theme" | |
}, | |
"name": "theme-dracula", | |
"publisher": "dracula-theme", | |
"version": "2.21.0" | |
}, | |
{ | |
"metadata": { | |
"id": "86fa6593-3f3e-484c-b7cd-00ba7c91c23f", | |
"publisherId": "bceskavich.theme-dracula-at-night", | |
"publisherDisplayName": "bceskavich" | |
}, | |
"name": "theme-dracula-at-night", | |
"publisher": "bceskavich", | |
"version": "2.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "93c032be-2d17-43a3-897d-c930eb3a5f6b", | |
"publisherId": "Nuuf.theme-hackershaze", | |
"publisherDisplayName": "Nuuf" | |
}, | |
"name": "theme-hackershaze", | |
"publisher": "Nuuf", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "38583aca-2ba1-417f-80fc-68ca8d717fb4", | |
"publisherId": "rbbit.typescript-hero", | |
"publisherDisplayName": "rbbit" | |
}, | |
"name": "typescript-hero", | |
"publisher": "rbbit", | |
"version": "3.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7ed4ac65-e716-4e83-a516-e0eff16dcb70", | |
"publisherId": "topporo.typescript-interface-generator", | |
"publisherDisplayName": "topporo" | |
}, | |
"name": "typescript-interface-generator", | |
"publisher": "topporo", | |
"version": "0.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "8699dfcb-4beb-4760-b976-c46dcdd87df2", | |
"publisherId": "KnisterPeter.vscode-github", | |
"publisherDisplayName": "KnisterPeter" | |
}, | |
"name": "vscode-github", | |
"publisher": "KnisterPeter", | |
"version": "0.30.3" | |
}, | |
{ | |
"metadata": { | |
"id": "0fec71c2-ca27-40db-883b-0f1fb848ba32", | |
"publisherId": "roblourens.vscode-nand2tetris-hdl", | |
"publisherDisplayName": "roblourens" | |
}, | |
"name": "vscode-nand2tetris-hdl", | |
"publisher": "roblourens", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "c4fac055-b854-41f0-9610-f8a9d62e9b89", | |
"publisherId": "dbankier.vscode-quick-select", | |
"publisherDisplayName": "dbankier" | |
}, | |
"name": "vscode-quick-select", | |
"publisher": "dbankier", | |
"version": "0.2.8" | |
}, | |
{ | |
"metadata": { | |
"id": "bb9fc30a-080a-40bc-a792-08cc4ed66bcd", | |
"publisherId": "Kelvin.vscode-sshfs", | |
"publisherDisplayName": "Kelvin" | |
}, | |
"name": "vscode-sshfs", | |
"publisher": "Kelvin", | |
"version": "1.17.0" | |
}, | |
{ | |
"metadata": { | |
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd", | |
"publisherId": "jpoissonnier.vscode-styled-components", | |
"publisherDisplayName": "jpoissonnier" | |
}, | |
"name": "vscode-styled-components", | |
"publisher": "jpoissonnier", | |
"version": "0.0.29" | |
}, | |
{ | |
"metadata": { | |
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db", | |
"publisherId": "cssho.vscode-svgviewer", | |
"publisherDisplayName": "cssho" | |
}, | |
"name": "vscode-svgviewer", | |
"publisher": "cssho", | |
"version": "2.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4db62a7c-7d70-419c-96d2-6c3a4dc77ea5", | |
"publisherId": "bradlc.vscode-tailwindcss", | |
"publisherDisplayName": "bradlc" | |
}, | |
"name": "vscode-tailwindcss", | |
"publisher": "bradlc", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea", | |
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "vscode-typescript-tslint-plugin", | |
"publisher": "ms-vscode", | |
"version": "1.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.1891" | |
} | |
] |
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": "ctrl+tab", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+shift+tab", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "cmd+shift+z", | |
"command": "editor.action.removeCommentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+x", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+shift+7", | |
"command": "-editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+y", | |
"command": "redo", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+z", | |
"command": "-redo", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+[Period]", | |
"command": "editor.action.reindentlines" | |
} | |
] |
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
{ | |
"files.autoSave": "onFocusChange", | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.colorTheme": "Abyss", | |
"window.zoomLevel": 0, | |
"editor.minimap.enabled": false, | |
"editor.tabSize": 2, | |
"terminal.integrated.fontSize": 11, | |
"terminal.integrated.shell.osx": "zsh", | |
"editor.fontSize": 11, | |
"editor.colorDecorators": false, | |
"explorer.confirmDragAndDrop": false, | |
"editor.snippetSuggestions": "top", | |
"vim.statusBarColorControl": false, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"files.associations": { | |
"*.jsx": "javascriptreact", | |
"*.js": "javascript" | |
}, | |
"workbench.statusBar.feedback.visible": false, | |
"editor.tokenColorCustomizations": { | |
"[Blackboard]": { | |
"textMateRules": [ | |
{ | |
"name": "String interpolation", | |
"scope": [ | |
"punctuation.definition.template-expression.begin", | |
"punctuation.definition.template-expression.end", | |
"punctuation.section.embedded" | |
], | |
"settings": { | |
"foreground": "#569cd6" | |
} | |
}, | |
{ | |
"name": "Reset JavaScript string interpolation expression", | |
"scope": [ | |
"meta.template.expression" | |
], | |
"settings": { | |
"foreground": "#d4d4d4" | |
} | |
}, | |
] | |
} | |
}, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
{ | |
"language": "typescript", | |
"autoFix": true | |
}, | |
{ | |
"language": "typescriptreact", | |
"autoFix": true | |
} | |
], | |
"javascript.implicitProjectConfig.experimentalDecorators": true, | |
"terminal.integrated.rendererType": "dom", | |
"sync.gist": "f505411c89754380315f4c8347f99719", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"typescript.suggest.autoImports": true, | |
"typescript.autoClosingTags": true, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"editor.parameterHints.enabled": true, | |
"editor.fontFamily": "'JetBrains Mono', Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.letterSpacing": 0.4, | |
"editor.smoothScrolling": true, | |
"rest-client.fontSize": 16, | |
"editor.renderWhitespace": "none", | |
"tslint.alwaysShowRuleFailuresAsWarnings": true, | |
"tslint.autoFixOnSave": true, | |
"workbench.sideBar.location": "left", | |
"files.exclude": { | |
"**/node_modules": true | |
}, | |
"json.schemas": [ | |
{ | |
"fileMatch": [ | |
"cypress.json" | |
], | |
"url": "https://on.cypress.io/cypress.schema.json" | |
} | |
], | |
"prettier.printWidth": 100, | |
"editor.largeFileOptimizations": false, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true, | |
}, | |
"cloudcode.gke": { | |
"projectIds": [ | |
"gueno-1547460412147", | |
"wheretoketo-244205" | |
] | |
}, | |
"javascript.updateImportsOnFileMove.enabled": "never", | |
"zenMode.hideStatusBar": false, | |
"zenMode.hideActivityBar": false, | |
"zenMode.hideTabs": false, | |
"zenMode.restore": true, | |
"editor.quickSuggestions": true, | |
"eslint.alwaysShowStatus": true, | |
"eslint.packageManager": "yarn", | |
"prettier.eslintIntegration": true, | |
"vim.mouseSelectionGoesIntoVisualMode": false, | |
"vim.overrideCopy": false, | |
"nasc-touchbar.showCommands": false, | |
"nasc-touchbar.settings": true, | |
"nasc-touchbar.addCursorBelow": false, | |
"nasc-touchbar.goToNext": true, | |
"nasc-touchbar.commentLine": true, | |
"nasc-touchbar.toggleWhiteSpace": true, | |
"nasc-touchbar.rename": false, | |
"javascript.validate.enable": false, | |
"terminal.integrated.fontFamily": "monospace" | |
} |
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
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Console.log": { | |
"prefix": "lg", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Import styled components": { | |
"prefix": "isc", | |
"body": [ | |
"import styled from 'styled-components';$1" | |
], | |
"description": "Import styled components" | |
}, | |
"Import path from ramda": { | |
"prefix": "ipr", | |
"body": [ | |
"import { path } from 'ramda';$1" | |
], | |
"description": "Import path from ramda" | |
} | |
} |
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
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Console.log": { | |
"prefix": "lg", | |
"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
Show hidden characters
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"console.log": { | |
"prefix": "lg", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"@todo": { | |
"prefix": "@todo", | |
"body": [ | |
"// @todo (lucas): " | |
], | |
"description": "Add a todo comment" | |
}, | |
"Material theme color styled-components": { | |
"prefix": "stc", | |
"body": [ | |
"color: ${({ theme }) => theme.palette.primary.main};" | |
], | |
"description": "Material theme color styled components" | |
}, | |
"Material breakpoints styled-components": { | |
"prefix": "stt", | |
"body": [ | |
"${({ theme }) => theme.breakpoints.down('md')} {", | |
" margin: 0 auto;", | |
"}", | |
], | |
"description": "Material breakpoints styled-components" | |
}, | |
"Tailwind macro styled-components": { | |
"prefix": "stw", | |
"body": [ | |
"${tailwind`$0`}", | |
], | |
"description": "Tailwind macro styled-components" | |
}, | |
"Tailwind macro styled-components + import": { | |
"prefix": "stwi", | |
"body": [ | |
"import tailwind from 'tailwind.macro';", | |
"${tailwind`$0`}", | |
], | |
"description": "Tailwind macro styled-components + import" | |
}, | |
"useDispatch + import": { | |
"prefix": "useD", | |
"body": [ | |
"import { useDispatch } from 'react-redux';", | |
"", | |
"const dispatch = useDispatch();", | |
], | |
"description": "useDispatch + import" | |
}, | |
"jsdoc link": { | |
"prefix": "@link", | |
"body": [ | |
"/**", | |
"* [$0]{@linkhttps://$1}", | |
"*/" | |
], | |
"description": "jsdoc link" | |
}, | |
"Promise<void>": { | |
"prefix": "pv", | |
"body": [ | |
"Promise<void>$1" | |
], | |
"description": "Promise<void> type" | |
}, | |
"try catch console.error throw": { | |
"prefix": "tryc", | |
"body": [ | |
"try {", | |
" $0", | |
"} catch (error) {", | |
" console.error(error);", | |
" throw error;", | |
"}", | |
], | |
"description": "try catch statement with console.error and throw" | |
}, | |
"Import styled components": { | |
"prefix": "isc", | |
"body": [ | |
"import styled from 'styled-components';$1" | |
], | |
"description": "Import styled components" | |
}, | |
"propTypes.().isRequired": { | |
"prefix": "ptr", | |
"body": [ | |
"propTypes.$1.isRequired," | |
], | |
"description": "propTypes.().isRequired" | |
}, | |
"propTypes.()": { | |
"prefix": "ptnr", | |
"body": [ | |
"propTypes.$1" | |
], | |
"description": "propTypes.()" | |
}, | |
"Import prop types": { | |
"prefix": "ipt", | |
"body": [ | |
"import propTypes from 'prop-types';" | |
], | |
"description": "Import prop types" | |
}, | |
"Import path from ramda": { | |
"prefix": "ipr", | |
"body": [ | |
"import { path } from 'ramda';", | |
"" | |
], | |
"description": "Import path from ramda" | |
}, | |
"reactFunctionalComponent": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from 'react'", | |
"import propTypes from 'prop-types'", | |
"import styled from 'styled-components'", | |
"", | |
"const Styled${TM_FILENAME_BASE} = styled.div`", | |
"", | |
"`", | |
"", | |
"export default function ${TM_FILENAME_BASE} () {", | |
" return (", | |
" <Styled${TM_FILENAME_BASE}>", | |
" <div />", | |
" </Styled${TM_FILENAME_BASE}>", | |
" )", | |
"}", | |
"", | |
"", | |
"${TM_FILENAME_BASE}.defaultProps = {", | |
"", | |
"}", | |
"", | |
"${TM_FILENAME_BASE}.propTypes = {", | |
" $0", | |
"}", | |
], | |
"description": "Creates a React Functional Component with ES7 module system" | |
}, | |
"reactTypescriptFunctionalComponent": { | |
"prefix": "rtfc", | |
"body": [ | |
"import React from 'react'", | |
"import styled from 'styled-components'", | |
"", | |
"const Styled${TM_FILENAME_BASE} = styled.div`", | |
"", | |
"`", | |
"", | |
"const ${TM_FILENAME_BASE}: React.FC<${TM_FILENAME_BASE}Props> = ({ ...props }) => {", | |
" return (", | |
" <Styled${TM_FILENAME_BASE}>", | |
" <div />", | |
" </Styled${TM_FILENAME_BASE}>", | |
" )", | |
"}", | |
"", | |
"interface ${TM_FILENAME_BASE}Props {", | |
" $0", | |
"}", | |
"", | |
"export default ${TM_FILENAME_BASE}", | |
], | |
"description": "Creates a React Functional Component with ES7 module system" | |
}, | |
"reactHook": { | |
"prefix": "rhk", | |
"body": [ | |
"import { useEffect, useState } from 'react'", | |
"", | |
"function ${TM_FILENAME_BASE} () {", | |
" const [state, setState] = useState(null)", | |
"", | |
" useEffect(() => null, [])", | |
"", | |
" return {}", | |
"}", | |
"", | |
"export default ${TM_FILENAME_BASE}", | |
], | |
"description": "Creates a React Functional Component with ES7 module system" | |
}, | |
} |
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
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Console.log": { | |
"prefix": "lg", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Promise<void>": { | |
"prefix": "pv", | |
"body": [ | |
"Promise<void>$1" | |
], | |
"description": "Promise<void> type" | |
}, | |
} |
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
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log($1)" | |
], | |
"description": "Log output to console" | |
}, | |
"Console.log": { | |
"prefix": "lg", | |
"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
{"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