Forked from spencercarli/bd3d4befe38185704bf0fc875e9deed6|configuration.json
Last active
November 11, 2020 05:42
-
-
Save alainpatrick/93cc81b9ae82be6037290dd33ee89604 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-11-11T05:41:59.830Z","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": "fa57ae0e-d21e-40d8-a0bb-a58b5fd9ead3", | |
"publisherId": "ms-vscode.atom-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "atom-keybindings", | |
"publisher": "ms-vscode", | |
"version": "3.0.9" | |
}, | |
{ | |
"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": "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.5" | |
}, | |
{ | |
"metadata": { | |
"id": "819a23e1-b6c6-41cf-9029-e653b537d996", | |
"publisherId": "ms-vscode.azure-account", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "azure-account", | |
"publisher": "ms-vscode", | |
"version": "0.9.3" | |
}, | |
{ | |
"metadata": { | |
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "HookyQR.beautify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "1.5.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.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "060828aa-17ab-40d9-9e2d-f8407f5c8d04", | |
"publisherId": "alexdima.copy-relative-path", | |
"publisherDisplayName": "alexdima" | |
}, | |
"name": "copy-relative-path", | |
"publisher": "alexdima", | |
"version": "0.0.2" | |
}, | |
{ | |
"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": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "joelday.docthis", | |
"publisherDisplayName": "joelday" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588", | |
"publisherId": "EditorConfig.EditorConfig", | |
"publisherDisplayName": "EditorConfig" | |
}, | |
"name": "EditorConfig", | |
"publisher": "EditorConfig", | |
"version": "0.15.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b3917e4f-5086-4def-a82b-2ae6b708db16", | |
"publisherId": "flowtype.flow-for-vscode", | |
"publisherDisplayName": "flowtype" | |
}, | |
"name": "flow-for-vscode", | |
"publisher": "flowtype", | |
"version": "1.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "79de3bbd-069f-4597-b52e-10b0980ec373", | |
"publisherId": "nwolverson.ide-purescript", | |
"publisherDisplayName": "nwolverson" | |
}, | |
"name": "ide-purescript", | |
"publisher": "nwolverson", | |
"version": "0.23.2" | |
}, | |
{ | |
"metadata": { | |
"id": "198a707e-28af-4e84-8610-6e2f628dd12d", | |
"publisherId": "redhat.java", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "java", | |
"publisher": "redhat", | |
"version": "0.70.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d697a7e8-00fa-4039-9067-4b69a9a90f6e", | |
"publisherId": "kiteco.kite", | |
"publisherDisplayName": "kiteco" | |
}, | |
"name": "kite", | |
"publisher": "kiteco", | |
"version": "0.134.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0e22bd0e-8a8d-424d-b5bd-29aaf21800eb", | |
"publisherId": "budparr.language-hugo-vscode", | |
"publisherDisplayName": "budparr" | |
}, | |
"name": "language-hugo-vscode", | |
"publisher": "budparr", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b9d2dfd7-af7e-4d90-a696-db33ef5e77ee", | |
"publisherId": "nwolverson.language-purescript", | |
"publisherDisplayName": "nwolverson" | |
}, | |
"name": "language-purescript", | |
"publisher": "nwolverson", | |
"version": "0.2.4" | |
}, | |
{ | |
"metadata": { | |
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de", | |
"publisherId": "ritwickdey.LiveServer", | |
"publisherDisplayName": "ritwickdey" | |
}, | |
"name": "LiveServer", | |
"publisher": "ritwickdey", | |
"version": "5.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.5.13" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"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.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347", | |
"publisherId": "alefragnani.project-manager", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "project-manager", | |
"publisher": "alefragnani", | |
"version": "11.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2020.10.332292344" | |
}, | |
{ | |
"metadata": { | |
"id": "797a79de-a0fd-4349-9034-bec47be9a941", | |
"publisherId": "2gua.rainbow-brackets", | |
"publisherDisplayName": "2gua" | |
}, | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "7f7e0e9c-b5ad-4e21-a425-f63bd56cb13f", | |
"publisherId": "EQuimper.react-native-react-redux", | |
"publisherDisplayName": "EQuimper" | |
}, | |
"name": "react-native-react-redux", | |
"publisher": "EQuimper", | |
"version": "2.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "633d48b7-d90f-4ba8-a254-17aea549797e", | |
"publisherId": "jundat95.react-native-snippet", | |
"publisherDisplayName": "jundat95" | |
}, | |
"name": "react-native-snippet", | |
"publisher": "jundat95", | |
"version": "0.5.6" | |
}, | |
{ | |
"metadata": { | |
"id": "c7ccccce-e272-43df-883f-91f3de932890", | |
"publisherId": "freebroccolo.reasonml", | |
"publisherDisplayName": "freebroccolo" | |
}, | |
"name": "reasonml", | |
"publisher": "freebroccolo", | |
"version": "1.0.38" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "ruby", | |
"publisher": "rebornix", | |
"version": "0.27.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e52bce95-a629-455f-8626-e7301b9e372a", | |
"publisherId": "robinbentley.sass-indented", | |
"publisherDisplayName": "robinbentley" | |
}, | |
"name": "sass-indented", | |
"publisher": "robinbentley", | |
"version": "1.5.1" | |
}, | |
{ | |
"metadata": { | |
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9", | |
"publisherId": "castwide.solargraph", | |
"publisherDisplayName": "castwide" | |
}, | |
"name": "solargraph", | |
"publisher": "castwide", | |
"version": "0.21.1" | |
}, | |
{ | |
"metadata": { | |
"id": "8c0c10c6-cfc6-47a6-9e0e-072d68d134d2", | |
"publisherId": "Poorchop.theme-darktooth", | |
"publisherDisplayName": "Poorchop" | |
}, | |
"name": "theme-darktooth", | |
"publisher": "Poorchop", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e8aa5629-b53b-4d40-b96d-05e07217742a", | |
"publisherId": "joshpeng.theme-onedark-sublime", | |
"publisherDisplayName": "joshpeng" | |
}, | |
"name": "theme-onedark-sublime", | |
"publisher": "joshpeng", | |
"version": "0.3.7" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "eg2.tslint", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.44" | |
}, | |
{ | |
"metadata": { | |
"id": "d4b06bd6-36a0-469f-be55-c0a73413b688", | |
"publisherId": "rvest.vs-code-prettier-eslint", | |
"publisherDisplayName": "rvest" | |
}, | |
"name": "vs-code-prettier-eslint", | |
"publisher": "rvest", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d960eabf-f421-4568-8be0-2633af2c37b0", | |
"publisherId": "patrys.vscode-code-outline", | |
"publisherDisplayName": "patrys" | |
}, | |
"name": "vscode-code-outline", | |
"publisher": "patrys", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "vscode-icons-team.vscode-icons", | |
"publisherDisplayName": "vscode-icons-team" | |
}, | |
"name": "vscode-icons", | |
"publisher": "vscode-icons-team", | |
"version": "11.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2d6939dc-9776-4c55-bdbe-6af17c602141", | |
"publisherId": "xyc.vscode-mdx-preview", | |
"publisherDisplayName": "xyc" | |
}, | |
"name": "vscode-mdx-preview", | |
"publisher": "xyc", | |
"version": "0.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3", | |
"publisherId": "msjsdiag.vscode-react-native", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "vscode-react-native", | |
"publisher": "msjsdiag", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7a6d909f-40d8-4f46-8244-f5ece41d0df5", | |
"publisherId": "Orta.vscode-react-native-storybooks", | |
"publisherDisplayName": "Orta" | |
}, | |
"name": "vscode-react-native-storybooks", | |
"publisher": "Orta", | |
"version": "2.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b", | |
"publisherId": "wingrunr21.vscode-ruby", | |
"publisherDisplayName": "wingrunr21" | |
}, | |
"name": "vscode-ruby", | |
"publisher": "wingrunr21", | |
"version": "0.27.0" | |
}, | |
{ | |
"metadata": { | |
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd", | |
"publisherId": "jpoissonnier.vscode-styled-components", | |
"publisherDisplayName": "jpoissonnier" | |
}, | |
"name": "vscode-styled-components", | |
"publisher": "jpoissonnier", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "282c56aa-f02e-40b6-b55e-bfdee63cea4d", | |
"publisherId": "blanu.vscode-styled-jsx", | |
"publisherDisplayName": "blanu" | |
}, | |
"name": "vscode-styled-jsx", | |
"publisher": "blanu", | |
"version": "2.0.0" | |
}, | |
{ | |
"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.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9", | |
"publisherId": "wayou.vscode-todo-highlight", | |
"publisherDisplayName": "wayou" | |
}, | |
"name": "vscode-todo-highlight", | |
"publisher": "wayou", | |
"version": "1.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "2061917f-f76a-458a-8da9-f162de22b97e", | |
"publisherId": "redhat.vscode-yaml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-yaml", | |
"publisher": "redhat", | |
"version": "0.12.0" | |
} | |
] |
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
// Empty | |
[ | |
{ | |
"key": "cmd+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
} | |
] |
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.renderWhitespace": "boundary", | |
"editor.rulers": [ | |
100 | |
], | |
"editor.cursorBlinking": "solid", | |
"editor.fontSize": 12, | |
"editor.tabSize": 2, | |
"window.zoomLevel": 0, | |
"files.insertFinalNewline": true, | |
"files.trimTrailingWhitespace": true, | |
"workbench.colorTheme": "One Dark+ (Sublime)", | |
"sync.gist": "93cc81b9ae82be6037290dd33ee89604", | |
"sync.lastUpload": "2018-05-16T15:10:08.517Z", | |
"sync.autoDownload": false, | |
"sync.autoUpload": true, | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"editor.parameterHints": false, | |
"sync.askGistName": false, | |
"atomKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": false, | |
"react-native-storybooks.port": 7007, | |
"cSpell.language": "en,en-GB,en-US", | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"emmet.triggerExpansionOnTab": true, | |
"editor.formatOnSave": true, | |
"reason.codelens.enabled": false, | |
"terminal.integrated.fontFamily": "Meslo LG M for Powerline", | |
"liveServer.settings.donotShowInfoMsg": true, | |
"javascript.implicitProjectConfig.experimentalDecorators": true, | |
"[javascriptreact]": {}, | |
"files.associations": { | |
"*.js": "javascriptreact" | |
}, | |
"explorer.confirmDelete": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"liveServer.settings.donotVerifyTags": true, | |
"prettier.singleQuote": true, | |
"prettier.jsxSingleQuote": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"editor.renameOnType": true, | |
"files.exclude": { | |
"**/.classpath": true, | |
"**/.project": true, | |
"**/.settings": true, | |
"**/.factorypath": true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Place your snippets for 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": "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
{ | |
/* | |
// 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. | |
*/ | |
"React Native Component": { | |
"prefix": "imrnc", | |
"body": [ | |
"import React, { Component } from \"react\";", | |
"import { \n\tView,\n\tText,\n\tStyleSheet\n} from \"react-native\";", | |
"\nclass ${1:componentName} extends Component {", | |
"\trender() {", | |
"\t\treturn (", | |
"\t\t\t<View style={styles.container}>", | |
"\t\t\t\t<Text>${1:componentName}</Text>", | |
"\t\t\t</View>", | |
"\t\t);", | |
"\t}", | |
"}", | |
"export default ${1:componentName};", | |
"\nconst styles = StyleSheet.create({", | |
"\tcontainer: {", | |
"\t\tflex: 1,", | |
"\t\talignItems: 'center',", | |
"\t\tjustifyContent: 'center'", | |
"\t}", | |
"});" | |
], | |
"description": "React Component" | |
}, | |
"Create StyleSheet": { | |
"prefix": "imrnss", | |
"body": [ | |
"const styles = StyleSheet.create({", | |
"\n$0", | |
"\n});\n" | |
], | |
"description": "Const Styles" | |
}, | |
"console.log": { | |
"prefix": "clog", | |
"body": [ | |
"console.log(${1:})" | |
], | |
"description": "console.log" | |
}, | |
"React Native Pan Responder": { | |
"prefix": "imrnp", | |
"body": [ | |
"this.panResponder = PanResponder.create({", | |
"\n\tonMoveShouldSetPanResponder: (evt, gestureState) => true,", | |
"\tonPanResponderGrant: (evt, gestureState) =>{", | |
"\n\t},", | |
"\tonPanResponderMove: (evt, gestureState) => {", | |
"\n\t},", | |
"\tonPanResponderRelease: (evt, gestureState) => {", | |
"\n\t},", | |
"\n})" | |
], | |
"description": "React Native Pan Responder" | |
}, | |
"React Native Functional Component": { | |
"prefix": "imrnfc", | |
"body": [ | |
"import React from \"react\";", | |
"import { \n\tView,\n\tText,\n\tStyleSheet\n} from \"react-native\";", | |
"\nconst ${1:componentName} = (props) => (", | |
"\t<View style={styles.container}>", | |
"\t\t<Text>${1:componentName}</Text>", | |
"\t</View>", | |
"\t)", | |
"export default ${1:componentName};", | |
"\nconst styles = StyleSheet.create({", | |
"\tcontainer: {", | |
"\t\tflex: 1,", | |
"\t\talignItems: 'center',", | |
"\t\tjustifyContent: 'center'", | |
"\t}", | |
"});" | |
], | |
"description": "React Native Functional Component" | |
}, | |
"React Native Map Function": { | |
"prefix": "rnmap", | |
"body": [ | |
"return ${1:items}.map((item,index)=>{", | |
"\treturn(", | |
"\t\t${2:<View></View>}", | |
")})" | |
], | |
"description": "javscript map method" | |
}, | |
"React Native Dimensions": { | |
"prefix": "rndime", | |
"body": [ | |
"const {width,height} = Dimensions.get('window')" | |
], | |
"description": "Dimensions RN" | |
}, | |
"React Native Component Only": { | |
"prefix": "rncomp", | |
"body": [ | |
"\nclass ${1:componentName} extends Component{", | |
"\trender(){", | |
"\t\treturn (", | |
"\t\t\t<View style={{flex:1,alignItems:'center',justifyContent:'center'}}>", | |
"\t\t\t\t<Text>${1:componentName}</Text>", | |
"\t\t\t</View>", | |
"\t\t);", | |
"\t}", | |
"}" | |
], | |
"description": "New React Native Component" | |
}, | |
"React Native Functional Component Only": { | |
"prefix": "rnfcomp", | |
"body": [ | |
"\nconst ${1:componentName} = (props) => (", | |
"\t<View style={{flex:1,alignItems:'center',justifyContent:'center'}}>", | |
"\t\t<Text>${1:componentName}</Text>", | |
"\t</View>", | |
")" | |
], | |
"description": "New React Native Component" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment