Last active
September 14, 2021 15:32
-
-
Save benja/695af5dff73940bcef80714ee1ecc5ab to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-09-14T15:32:13.205Z","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": "2cbad5ee-b4ab-4de8-a1c7-77fede846155", | |
"publisherId": "patbenatar.advanced-new-file", | |
"publisherDisplayName": "patbenatar" | |
}, | |
"name": "advanced-new-file", | |
"publisher": "patbenatar", | |
"version": "1.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "968b335f-0c15-4e6a-86ad-d3da45dbad73", | |
"publisherId": "aliariff.auto-add-brackets", | |
"publisherDisplayName": "aliariff" | |
}, | |
"name": "auto-add-brackets", | |
"publisher": "aliariff", | |
"version": "0.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "cb5ffd62-3768-4f92-83a0-ccf84e22ddf4", | |
"publisherId": "kevinkyang.auto-comment-blocks", | |
"publisherDisplayName": "kevinkyang" | |
}, | |
"name": "auto-comment-blocks", | |
"publisher": "kevinkyang", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "70378119-1d85-4935-9733-0298c7a369a2", | |
"publisherId": "steoates.autoimport", | |
"publisherDisplayName": "steoates" | |
}, | |
"name": "autoimport", | |
"publisher": "steoates", | |
"version": "1.5.4" | |
}, | |
{ | |
"metadata": { | |
"id": "d1818e93-bccc-4812-8b8b-37aabc5a7a94", | |
"publisherId": "BeardedBear.beardedtheme", | |
"publisherDisplayName": "BeardedBear" | |
}, | |
"name": "beardedtheme", | |
"publisher": "BeardedBear", | |
"version": "4.0.0" | |
}, | |
{ | |
"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": "121396ad-85a1-45ec-9fd1-d95028a847f5", | |
"publisherId": "naumovs.color-highlight", | |
"publisherDisplayName": "naumovs" | |
}, | |
"name": "color-highlight", | |
"publisher": "naumovs", | |
"version": "2.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "41aac8eb-b4f4-408d-9708-320d033a17f8", | |
"publisherId": "miguelsolorio.fluent-icons", | |
"publisherDisplayName": "miguelsolorio" | |
}, | |
"name": "fluent-icons", | |
"publisher": "miguelsolorio", | |
"version": "0.0.12" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "11.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ff698641-127d-4b67-a8c2-b59179576b9d", | |
"publisherId": "liamhammett.inline-parameters", | |
"publisherDisplayName": "liamhammett" | |
}, | |
"name": "inline-parameters", | |
"publisher": "liamhammett", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "270f662d-6adc-4bb6-b72b-25393ebf3c92", | |
"publisherId": "kvnol.mjml-snippets", | |
"publisherDisplayName": "kvnol" | |
}, | |
"name": "mjml-snippets", | |
"publisher": "kvnol", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e58f546c-babc-455f-a265-ba40dbd140d4", | |
"publisherId": "sdras.night-owl", | |
"publisherDisplayName": "sdras" | |
}, | |
"name": "night-owl", | |
"publisher": "sdras", | |
"version": "2.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "61e5eed3-2093-4ada-9be3-877fd5e50167", | |
"publisherId": "gunturpoetra.nodejs-module-snippet", | |
"publisherDisplayName": "gunturpoetra" | |
}, | |
"name": "nodejs-module-snippet", | |
"publisher": "gunturpoetra", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "2a3e1925-d174-4cd7-baa7-3e13824d68c7", | |
"publisherId": "ronnidc.nunjucks", | |
"publisherDisplayName": "ronnidc" | |
}, | |
"name": "nunjucks", | |
"publisher": "ronnidc", | |
"version": "0.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "51c57bc5-73aa-4901-8c2b-1bd0af852e72", | |
"publisherId": "pmndrs.pmndrs", | |
"publisherDisplayName": "pmndrs" | |
}, | |
"name": "pmndrs", | |
"publisher": "pmndrs", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "80def04d-6d01-495b-9d59-4ad19408872f", | |
"publisherId": "csstools.postcss", | |
"publisherDisplayName": "csstools" | |
}, | |
"name": "postcss", | |
"publisher": "csstools", | |
"version": "1.0.9" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "8.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc", | |
"publisherId": "mohsen1.prettify-json", | |
"publisherDisplayName": "mohsen1" | |
}, | |
"name": "prettify-json", | |
"publisher": "mohsen1", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "aae0701b-111f-49c1-9000-abd37a442f28", | |
"publisherId": "WallabyJs.quokka-vscode", | |
"publisherDisplayName": "WallabyJs" | |
}, | |
"name": "quokka-vscode", | |
"publisher": "WallabyJs", | |
"version": "1.0.400" | |
}, | |
{ | |
"metadata": { | |
"id": "ffc6e411-2d59-42e5-9037-9343bf82c253", | |
"publisherId": "Bruce.rona", | |
"publisherDisplayName": "Bruce" | |
}, | |
"name": "rona", | |
"publisher": "Bruce", | |
"version": "1.0.9" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "ms-vscode.sublime-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "4.0.10" | |
}, | |
{ | |
"metadata": { | |
"id": "f5d7ffda-c1d6-4070-ba80-803c705a1ee6", | |
"publisherId": "monokai.theme-monokai-pro-vscode", | |
"publisherDisplayName": "monokai" | |
}, | |
"name": "theme-monokai-pro-vscode", | |
"publisher": "monokai", | |
"version": "1.1.19" | |
}, | |
{ | |
"metadata": { | |
"id": "38583aca-2ba1-417f-80fc-68ca8d717fb4", | |
"publisherId": "rbbit.typescript-hero", | |
"publisherDisplayName": "rbbit" | |
}, | |
"name": "typescript-hero", | |
"publisher": "rbbit", | |
"version": "3.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.34.1" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.16.1" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.25" | |
}, | |
{ | |
"metadata": { | |
"id": "c727ab43-8d12-4f26-9648-f1d91035c9b6", | |
"publisherId": "NuclleaR.vscode-extension-auto-import", | |
"publisherDisplayName": "NuclleaR" | |
}, | |
"name": "vscode-extension-auto-import", | |
"publisher": "NuclleaR", | |
"version": "1.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "aaee577c-f062-495a-9816-0cbd442f1d25", | |
"publisherId": "ecmel.vscode-html-css", | |
"publisherDisplayName": "ecmel" | |
}, | |
"name": "vscode-html-css", | |
"publisher": "ecmel", | |
"version": "1.10.2" | |
}, | |
{ | |
"metadata": { | |
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0", | |
"publisherId": "bmewburn.vscode-intelephense-client", | |
"publisherDisplayName": "bmewburn" | |
}, | |
"name": "vscode-intelephense-client", | |
"publisher": "bmewburn", | |
"version": "1.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "dd5a2c83-ad8c-4839-a529-0644e5acb646", | |
"publisherId": "mgmcdermott.vscode-language-babel", | |
"publisherDisplayName": "mgmcdermott" | |
}, | |
"name": "vscode-language-babel", | |
"publisher": "mgmcdermott", | |
"version": "0.0.35" | |
}, | |
{ | |
"metadata": { | |
"id": "efc33846-2498-43d7-9699-47d0a7741345", | |
"publisherId": "attilabuti.vscode-mjml", | |
"publisherDisplayName": "attilabuti" | |
}, | |
"name": "vscode-mjml", | |
"publisher": "attilabuti", | |
"version": "1.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "40d13ed9-34ed-423f-acc1-95d0fe3aa2fa", | |
"publisherId": "bengreenier.vscode-node-readme", | |
"publisherDisplayName": "bengreenier" | |
}, | |
"name": "vscode-node-readme", | |
"publisher": "bengreenier", | |
"version": "3.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757", | |
"publisherId": "eg2.vscode-npm-script", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "vscode-npm-script", | |
"publisher": "eg2", | |
"version": "0.3.22" | |
}, | |
{ | |
"metadata": { | |
"id": "6311c479-6522-429c-9df7-ae8e0e9391cf", | |
"publisherId": "okitavera.vscode-nunjucks-formatter", | |
"publisherDisplayName": "okitavera" | |
}, | |
"name": "vscode-nunjucks-formatter", | |
"publisher": "okitavera", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd", | |
"publisherId": "jpoissonnier.vscode-styled-components", | |
"publisherDisplayName": "jpoissonnier" | |
}, | |
"name": "vscode-styled-components", | |
"publisher": "jpoissonnier", | |
"version": "1.6.6" | |
}, | |
{ | |
"metadata": { | |
"id": "4db62a7c-7d70-419c-96d2-6c3a4dc77ea5", | |
"publisherId": "bradlc.vscode-tailwindcss", | |
"publisherDisplayName": "bradlc" | |
}, | |
"name": "vscode-tailwindcss", | |
"publisher": "bradlc", | |
"version": "0.6.14" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.4836" | |
}, | |
{ | |
"metadata": { | |
"id": "f38fdd1c-7ee2-47b1-90b9-77ecc90d4bff", | |
"publisherId": "ms-vsliveshare.vsliveshare-audio", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare-audio", | |
"publisher": "ms-vsliveshare", | |
"version": "0.1.91" | |
}, | |
{ | |
"metadata": { | |
"id": "87caf16b-d487-45c0-877d-573fe319b015", | |
"publisherId": "ms-vsliveshare.vsliveshare-pack", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare-pack", | |
"publisher": "ms-vsliveshare", | |
"version": "0.4.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
// Empty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
/** | |
* Activity Bar | |
**/ | |
{ | |
"key": "cmd+k cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+k cmd+v", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "cmd+k cmd+d", | |
"command": "workbench.view.debug" | |
}, | |
{ | |
"key": "cmd+k cmd+x", | |
"command": "workbench.extensions.action.showInstalledExtensions" | |
}, | |
{ | |
"key": "cmd+k cmd+u", | |
"command": "-editor.action.transformToUppercase", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "-workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "extension.advancedNewFile", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "alt+cmd+n", | |
"command": "-extension.advancedNewFile" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "-expandLineSelection", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "-expandLineSelection", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+right", | |
"command": "-editor.action.smartSelect.expand", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+down", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+up", | |
"command": "-editor.action.copyLinesUpAction", | |
"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+alt+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+up", | |
"command": "editor.action.copyLinesUpAction" | |
}, | |
{ | |
"key": "shift+cmd+down", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "-editor.action.copyLinesDownAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "cmd+d", | |
"command": "editor.action.copyLinesDownAction", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "alt+enter", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
} | |
] |
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
{ | |
"explorer.confirmDragAndDrop": false, | |
"explorer.confirmDelete": false, | |
"window.titleBarStyle": "custom", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "Bearded Theme Arc", | |
"workbench.colorCustomizations": { | |
"inlineparameters.annotationForeground": "#fff", | |
"inlineparameters.annotationBackground": "#313749", | |
}, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"sync.gist": "695af5dff73940bcef80714ee1ecc5ab", | |
"terminal.integrated.shell.windows": "\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"breadcrumbs.enabled": true, | |
"liveshare.featureSet": "stable", | |
"editor.fontWeight": "300", | |
"editor.renderWhitespace": "none", | |
"editor.fontLigatures": true, | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
/** | |
* Silence The Noise | |
**/ | |
"workbench.activityBar.visible": true, | |
"workbench.editor.showTabs": true, | |
"workbench.sideBar.location": "left", | |
"workbench.statusBar.visible": false, | |
"editor.minimap.enabled": false, | |
"keyboard.touchbar.enabled": false, | |
"vetur.format.defaultFormatter.js": "prettier-eslint", | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"prettier.requireConfig": true, | |
"editor.tabSize": 2, | |
"eslint.packageManager": "yarn", | |
"eslint.run": "onSave", | |
"extensions.ignoreRecommendations": false, | |
"[typescriptreact]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": false | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[typescript]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": false | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": false | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.cursorSmoothCaretAnimation": true, | |
"stories.username": "owl_Fiji", | |
"stories.ffmpeg-binary": "/Users/benja/Documents/ffmpeg", | |
"eslint.format.enable": true, | |
"terminal.integrated.fontFamily": "Fira Code, 'Courier New', monospace", | |
"terminal.integrated.fontSize": 13, | |
"prettier.jsxSingleQuote": true, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true, | |
"javascript.format.semicolons": "insert", | |
"typescript.format.semicolons": "insert", | |
"tabnine.experimentalAutoImports": true, | |
"[handlebars]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.suggest.insertMode": "replace" | |
}, | |
"workbench.iconTheme": "Monokai Pro (Filter Octagon) Icons", | |
"editor.fontFamily": "Dank Mono, Fira Code, 'Courier New', monospace", | |
"editor.inlayHints.fontFamily": "Fira Code, 'Courier New', monospace", | |
"editor.fontSize": 14, | |
"terminal.integrated.lineHeight": 100, | |
"editor.lineHeight": 24 | |
} |
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
{ | |
"Gamelib Web Component Base": { | |
"prefix": "glc", | |
"body": [ | |
"import React from 'react';", | |
"import styled, { ThemeContext } from 'styled-components';", | |
"", | |
"interface ComponentProps {", | |
" data?: string;", | |
"}", | |
"", | |
"export const ComponentName = (props: ComponentProps) => {", | |
" const theme: any = React.useContext(ThemeContext);", | |
" const { hello } = props;", | |
"", | |
" return <Container></Container>;", | |
"};", | |
"", | |
"const Container = styled.div`", | |
" padding: 1rem;", | |
"`;", | |
"" | |
], | |
"description": "Gamelib Web Component Base" | |
} | |
} |
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
{ | |
"nativequery": { | |
"prefix": "nq", | |
"body": [ | |
"${(props) => {", | |
" if (props.theme.dimensions.width < 600) {", | |
" return {", | |
" padding: '1rem'", | |
" };", | |
" }", | |
"}}" | |
] | |
} | |
} |
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
{ | |
"Notify UI Component Base (React Native/Typescript)": { | |
"prefix": "nui", | |
"body": [ | |
"import * as React from 'react';", | |
"import styled, { ThemeContext } from 'styled-components/native';", | |
"", | |
"interface ${1:BottomInfoButton}Props {", | |
" hello: string;", | |
"}", | |
"", | |
"export const ${1:BottomInfoButton}: React.FunctionComponent<${1:BottomInfoButton}Props> = props => {", | |
" const theme: any = React.useContext(ThemeContext);", | |
" const { hello } = props;", | |
"", | |
" return (", | |
" <${1:BottomInfoButton}Body>", | |
"", | |
" </${1:BottomInfoButton}Body>", | |
" );", | |
"};", | |
"", | |
"const ${1:BottomInfoButton}Body = styled.View`", | |
" flex: 1;", | |
"`;" | |
], | |
"description": "Notify UI Component Base (React Native/Typescript)" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment