Last active
April 24, 2019 15:35
-
-
Save lyubchev/b813f844987dbbb70700a337600ed3cc 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
{"contents":{"launch":{"version":"0.2.0","configurations":[{"type":"node","request":"launch","name":"Launch via NPM","runtimeExecutable":"npm","runtimeArgs":["run-script","debug"],"port":9229},{"type":"node","request":"attach","name":"Attach to Remote","address":"localhost","port":9229,"localRoot":"${workspaceFolder}","remoteRoot":"${workspaceFolder}/backend/dist/index.js"},{"type":"node","request":"launch","name":"Launch Program","program":"${workspaceFolder}/backend/src/config/socket.io.ts","outFiles":["${workspaceFolder}/**/*.js"]}]}},"overrides":[],"keys":["launch.version","launch.configurations"]} |
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":"2019-04-24T15:35:46.102Z","extensionVersion":"v3.2.9"} |
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": "f583eafd-aa0d-4ccb-8f44-d1e610389660", | |
"publisherId": "CoenraadS.bracket-pair-colorizer", | |
"publisherDisplayName": "CoenraadS" | |
}, | |
"name": "bracket-pair-colorizer", | |
"publisher": "CoenraadS", | |
"version": "1.0.61" | |
}, | |
{ | |
"metadata": { | |
"id": "8a0c151b-eb13-4bed-9d49-4a252a118a0c", | |
"publisherId": "michelemelluso.code-beautifier", | |
"publisherDisplayName": "michelemelluso" | |
}, | |
"name": "code-beautifier", | |
"publisher": "michelemelluso", | |
"version": "2.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.2.9" | |
}, | |
{ | |
"metadata": { | |
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-vscode.csharp", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "csharp", | |
"publisher": "ms-vscode", | |
"version": "1.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.11.3" | |
}, | |
{ | |
"metadata": { | |
"id": "fa63aa30-e63a-48b1-876d-562a57da717f", | |
"publisherId": "eppz.eppz-code", | |
"publisherDisplayName": "eppz" | |
}, | |
"name": "eppz-code", | |
"publisher": "eppz", | |
"version": "1.2.41" | |
}, | |
{ | |
"metadata": { | |
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c", | |
"publisherId": "dsznajder.es7-react-js-snippets", | |
"publisherDisplayName": "dsznajder" | |
}, | |
"name": "es7-react-js-snippets", | |
"publisher": "dsznajder", | |
"version": "2.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e6c16d51-c34c-4d30-a5dc-4b0d360ebb69", | |
"publisherId": "hemlok.framer-dark", | |
"publisherDisplayName": "hemlok" | |
}, | |
"name": "framer-dark", | |
"publisher": "hemlok", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "2c9f729c-613d-4662-9a59-f080cc8f0f9b", | |
"publisherId": "StevenPhan.framer-syntax", | |
"publisherDisplayName": "StevenPhan" | |
}, | |
"name": "framer-syntax", | |
"publisher": "StevenPhan", | |
"version": "2.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "8bb12ae3-73f8-40cf-86b7-4bd5729c6238", | |
"publisherId": "GrapeCity.gc-excelviewer", | |
"publisherDisplayName": "GrapeCity" | |
}, | |
"name": "gc-excelviewer", | |
"publisher": "GrapeCity", | |
"version": "2.1.32" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "9.6.3" | |
}, | |
{ | |
"metadata": { | |
"id": "b2afde1a-6cef-4f77-971f-24e66ff2ae38", | |
"publisherId": "wix.glean", | |
"publisherDisplayName": "wix" | |
}, | |
"name": "glean", | |
"publisher": "wix", | |
"version": "4.10.3" | |
}, | |
{ | |
"metadata": { | |
"id": "38ad8277-d23f-4cfc-becf-c77e41c3f2ee", | |
"publisherId": "spywhere.guides", | |
"publisherDisplayName": "spywhere" | |
}, | |
"name": "guides", | |
"publisher": "spywhere", | |
"version": "0.9.3" | |
}, | |
{ | |
"metadata": { | |
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de", | |
"publisherId": "ritwickdey.LiveServer", | |
"publisherDisplayName": "ritwickdey" | |
}, | |
"name": "LiveServer", | |
"publisher": "ritwickdey", | |
"version": "5.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "3.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.Material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "Material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "2.21.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4386e6f6-ec10-4463-9d23-c24278718947", | |
"publisherId": "tomoki1207.pdf", | |
"publisherDisplayName": "tomoki1207" | |
}, | |
"name": "pdf", | |
"publisher": "tomoki1207", | |
"version": "0.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "1.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2019.3.6558" | |
}, | |
{ | |
"metadata": { | |
"id": "3792588c-3d35-442d-91ea-fe6a755e8155", | |
"publisherId": "mechatroner.rainbow-csv", | |
"publisherDisplayName": "mechatroner" | |
}, | |
"name": "rainbow-csv", | |
"publisher": "mechatroner", | |
"version": "1.0.0" | |
}, | |
{ | |
"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.12" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "eg2.tslint", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.43" | |
}, | |
{ | |
"metadata": { | |
"id": "6623619a-676d-4cde-943f-a3c193b44fc0", | |
"publisherId": "ChakrounAnas.turbo-console-log", | |
"publisherDisplayName": "ChakrounAnas" | |
}, | |
"name": "turbo-console-log", | |
"publisher": "ChakrounAnas", | |
"version": "1.2.17" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "753c29b0-3a7a-4383-a5a2-012598806221", | |
"publisherId": "ZhouSir.visual-snake-code", | |
"publisherDisplayName": "ZhouSir" | |
}, | |
"name": "visual-snake-code", | |
"publisher": "ZhouSir", | |
"version": "1.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260", | |
"publisherId": "Equinusocio.vsc-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-material-theme", | |
"publisher": "Equinusocio", | |
"version": "2.8.2" | |
}, | |
{ | |
"metadata": { | |
"id": "37d7747f-e652-4eac-83de-f2939f7e2121", | |
"publisherId": "anseki.vscode-color", | |
"publisherDisplayName": "anseki" | |
}, | |
"name": "vscode-color", | |
"publisher": "anseki", | |
"version": "0.4.5" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "PeterJausovec.vscode-docker", | |
"publisherDisplayName": "PeterJausovec" | |
}, | |
"name": "vscode-docker", | |
"publisher": "PeterJausovec", | |
"version": "0.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.8.2" | |
}, | |
{ | |
"metadata": { | |
"id": "dd5a2c83-ad8c-4839-a529-0644e5acb646", | |
"publisherId": "mgmcdermott.vscode-language-babel", | |
"publisherDisplayName": "mgmcdermott" | |
}, | |
"name": "vscode-language-babel", | |
"publisher": "mgmcdermott", | |
"version": "0.0.22" | |
}, | |
{ | |
"metadata": { | |
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643", | |
"publisherId": "DavidAnson.vscode-markdownlint", | |
"publisherDisplayName": "DavidAnson" | |
}, | |
"name": "vscode-markdownlint", | |
"publisher": "DavidAnson", | |
"version": "0.26.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3", | |
"publisherId": "vsmobile.vscode-react-native", | |
"publisherDisplayName": "vsmobile" | |
}, | |
"name": "vscode-react-native", | |
"publisher": "vsmobile", | |
"version": "0.9.2" | |
}, | |
{ | |
"metadata": { | |
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd", | |
"publisherId": "jpoissonnier.vscode-styled-components", | |
"publisherDisplayName": "jpoissonnier" | |
}, | |
"name": "vscode-styled-components", | |
"publisher": "jpoissonnier", | |
"version": "0.0.26" | |
}, | |
{ | |
"metadata": { | |
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6", | |
"publisherId": "akamud.vscode-theme-onedark", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-theme-onedark", | |
"publisher": "akamud", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ee33fd31-7bb4-4252-8368-fdd5bcd94cf8", | |
"publisherId": "akamud.vscode-theme-onelight", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-theme-onelight", | |
"publisher": "akamud", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8", | |
"publisherId": "pflannery.vscode-versionlens", | |
"publisherDisplayName": "pflannery" | |
}, | |
"name": "vscode-versionlens", | |
"publisher": "pflannery", | |
"version": "0.22.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.67" | |
} | |
] |
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
// 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
{ | |
"window.zoomLevel": 0, | |
"workbench.iconTheme": "material-icon-theme", | |
"liveServer.settings.donotShowInfoMsg": true, | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"csharp.format.enable": true, | |
"workbench.colorCustomizations": { | |
"settings.modifiedItemForeground": "#AB47BC" | |
}, | |
"materialTheme.accentPrevious": "Graphite", | |
"materialTheme.fixIconsRunning": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"workbench.startupEditor": "newUntitledFile", | |
"explorer.confirmDragAndDrop": false, | |
"vim.disableExtension": false, | |
"guides.enabled": false, | |
"editor.formatOnType": false, | |
"prettier.singleQuote": true, | |
"vim.handleKeys": { | |
"<C-n>": false, | |
"<C-d>": true, | |
"<C-r>": true, | |
"<C-a>": false, | |
"<C-k>": false | |
}, | |
"sync.gist": "b813f844987dbbb70700a337600ed3cc", | |
"window.titleBarStyle": "native", | |
"window.menuBarVisibility": "toggle", | |
"editor.formatOnSave": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"git.enableSmartCommit": true, | |
// "editor.cursorSmoothCaretAnimation": true, | |
"editor.fontFamily": "'Consolas ', 'monospace', 'Droid Sans Fallback'", | |
"editor.fontSize": 16, | |
"terminal.integrated.fontFamily": "OverpassMono Nerd Font", | |
"workbench.colorTheme": "Framer Syntax 2", | |
"editor.minimap.enabled": false, | |
"editor.minimap.renderCharacters": false, | |
"editor.suggestSelection": "recentlyUsedByPrefix", | |
"vim.foldfix": true | |
} |
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 csharp 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" | |
// } | |
"Parse int from console.": { | |
"prefix": "icr", | |
"body": [ | |
"int.Parse(Console.ReadLine());", | |
"$1" | |
], | |
"description": "Parses int from console." | |
}, | |
"Parse double from console.": { | |
"prefix": "dcr", | |
"body": [ | |
"double.Parse(Console.ReadLine());", | |
"$1" | |
], | |
"description": "Parses double from console." | |
}, | |
"Read string from console.": { | |
"prefix": "cr", | |
"body": [ | |
"Console.ReadLine();", | |
"$1" | |
], | |
"description": "Reads a string from console." | |
}, | |
"Print to console": { | |
"prefix": "cw", | |
"body": [ | |
"Console.WriteLine($1)" | |
], | |
"description": "Prints 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 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": "rnc", | |
"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": "Generate React-Native Component" | |
}, | |
"Create StyleSheet": { | |
"prefix": "rnss", | |
"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": "rnp", | |
"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": "Generate React-Native Pan Responder" | |
}, | |
"React Native Functional Component": { | |
"prefix": "rnfc", | |
"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": "Generate React-Native Functional Component" | |
}, | |
"React Native Map Function": { | |
"prefix": "rnmap", | |
"body": [ | |
"return ${1:items}.map((item,index)=>{", | |
"\treturn(", | |
"\t\t${2:<View></View>}", | |
")})" | |
], | |
"description": "JS Map Method" | |
} | |
} |
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 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": "rnc", | |
"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": "Generate React-Native Component" | |
}, | |
"Create StyleSheet": { | |
"prefix": "rnss", | |
"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": "rnp", | |
"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": "Generate React-Native Pan Responder" | |
}, | |
"React Native Functional Component": { | |
"prefix": "rnfc", | |
"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": "Generate React-Native Functional Component" | |
}, | |
"React Native Map Function": { | |
"prefix": "rnmap", | |
"body": [ | |
"return ${1:items}.map((item,index)=>{", | |
"\treturn(", | |
"\t\t${2:<View></View>}", | |
")})" | |
], | |
"description": "JS Map Method" | |
} | |
} |
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 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": "rnc", | |
"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": "Generate React-Native Component" | |
}, | |
"Create StyleSheet": { | |
"prefix": "rnss", | |
"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": "Generate 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": "Generate React-Native Functional Component" | |
}, | |
"React Native Map Function": { | |
"prefix": "rnmap", | |
"body": [ | |
"return ${1:items}.map((item,index)=>{", | |
"\treturn(", | |
"\t\t${2:<View></View>}", | |
")})" | |
], | |
"description": "JS Map Method" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment