Skip to content

Instantly share code, notes, and snippets.

@flavioespinoza
Created October 29, 2019 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flavioespinoza/5a94ef483f9327d42b12cbb0d44d002a to your computer and use it in GitHub Desktop.
Save flavioespinoza/5a94ef483f9327d42b12cbb0d44d002a to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-10-29T05:50:52.835Z","extensionVersion":"v3.4.3"}
[
{
"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": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.14"
},
{
"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": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.7.18"
},
{
"metadata": {
"id": "96c69be9-5b09-4a18-8c82-4d30ab145017",
"publisherId": "formulahendry.docker-explorer",
"publisherDisplayName": "formulahendry"
},
"name": "docker-explorer",
"publisher": "formulahendry",
"version": "0.1.6"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.4.3"
},
{
"metadata": {
"id": "9f5a82a8-eb54-420f-9fb8-171c5405ec8a",
"publisherId": "MikeBovenlander.formate",
"publisherDisplayName": "MikeBovenlander"
},
"name": "formate",
"publisher": "MikeBovenlander",
"version": "1.1.3"
},
{
"metadata": {
"id": "8bb12ae3-73f8-40cf-86b7-4bd5729c6238",
"publisherId": "GrapeCity.gc-excelviewer",
"publisherDisplayName": "GrapeCity"
},
"name": "gc-excelviewer",
"publisher": "GrapeCity",
"version": "2.1.32"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "ms-vscode.Go",
"publisherDisplayName": "ms-vscode"
},
"name": "Go",
"publisher": "ms-vscode",
"version": "0.11.7"
},
{
"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.1"
},
{
"metadata": {
"id": "3fe6f5f6-ba66-4d7e-87da-ae72742dfc17",
"publisherId": "jbockle.jbockle-format-files",
"publisherDisplayName": "jbockle"
},
"name": "jbockle-format-files",
"publisher": "jbockle",
"version": "3.0.0"
},
{
"metadata": {
"id": "d2d7a30c-2706-47b9-9dd5-5ab6ead0fbbe",
"publisherId": "khaeransori.json2csv",
"publisherDisplayName": "khaeransori"
},
"name": "json2csv",
"publisher": "khaeransori",
"version": "0.0.1"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "9fdd4cad-d0b9-4c21-b7b7-54b9a7a7dbcf",
"publisherId": "mervin.markdown-formatter",
"publisherDisplayName": "mervin"
},
"name": "markdown-formatter",
"publisher": "mervin",
"version": "0.7.5"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.0"
},
{
"metadata": {
"id": "a831e395-d150-46aa-8644-3027af1c5b36",
"publisherId": "dawhite.mustache",
"publisherDisplayName": "dawhite"
},
"name": "mustache",
"publisher": "dawhite",
"version": "1.1.1"
},
{
"metadata": {
"id": "1a7b1f64-469d-4116-bb35-508ea3894f88",
"publisherId": "raynigon.nginx-formatter",
"publisherDisplayName": "raynigon"
},
"name": "nginx-formatter",
"publisher": "raynigon",
"version": "0.0.6"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "4386e6f6-ec10-4463-9d23-c24278718947",
"publisherId": "tomoki1207.pdf",
"publisherDisplayName": "tomoki1207"
},
"name": "pdf",
"publisher": "tomoki1207",
"version": "0.5.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "2.3.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": "3e2ce825-2eba-46fb-a9ac-054c05c37aca",
"publisherId": "logerfo.procfile-support",
"publisherDisplayName": "logerfo"
},
"name": "procfile-support",
"publisher": "logerfo",
"version": "0.0.1"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2019.10.44104"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.259"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.3.1"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.22.2"
},
{
"metadata": {
"id": "147ba3a4-9388-40e0-83d3-bfe3335a7f0e",
"publisherId": "artydeveloperduck.save-as-snippet",
"publisherDisplayName": "artydeveloperduck"
},
"name": "save-as-snippet",
"publisher": "artydeveloperduck",
"version": "0.0.1"
},
{
"metadata": {
"id": "b3d03957-2620-41ee-9854-88b0af1ee988",
"publisherId": "remcoros.startanyshell",
"publisherDisplayName": "remcoros"
},
"name": "startanyshell",
"publisher": "remcoros",
"version": "0.3.1"
},
{
"metadata": {
"id": "7752d5d1-7dab-46f8-bc86-ffca8c2d33e7",
"publisherId": "fabianlauer.vs-code-xml-format",
"publisherDisplayName": "fabianlauer"
},
"name": "vs-code-xml-format",
"publisher": "fabianlauer",
"version": "0.1.5"
},
{
"metadata": {
"id": "c39988ef-818c-414a-b08c-107fccf37edf",
"publisherId": "bit.vscode-bit",
"publisherDisplayName": "bit"
},
"name": "vscode-bit",
"publisher": "bit",
"version": "0.0.3"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "0.8.1"
},
{
"metadata": {
"id": "55ef6448-487b-49a0-a66e-4d2d9bb82229",
"publisherId": "Prisma.vscode-graphql",
"publisherDisplayName": "Prisma"
},
"name": "vscode-graphql",
"publisher": "Prisma",
"version": "0.2.2"
},
{
"metadata": {
"id": "aaee577c-f062-495a-9816-0cbd442f1d25",
"publisherId": "ecmel.vscode-html-css",
"publisherDisplayName": "ecmel"
},
"name": "vscode-html-css",
"publisher": "ecmel",
"version": "0.2.3"
},
{
"metadata": {
"id": "01f74564-710c-431f-a7df-5c335c3f5384",
"publisherId": "visioncan.vscode-jss-snippets",
"publisherDisplayName": "visioncan"
},
"name": "vscode-jss-snippets",
"publisher": "visioncan",
"version": "0.2.2"
},
{
"metadata": {
"id": "414b2873-c80e-4dc6-9031-bd185cfb3944",
"publisherId": "william-voyek.vscode-nginx",
"publisherDisplayName": "william-voyek"
},
"name": "vscode-nginx",
"publisher": "william-voyek",
"version": "0.7.2"
},
{
"metadata": {
"id": "c856990a-978d-46eb-aa5e-318cd7bfecc6",
"publisherId": "shanoor.vscode-nginx",
"publisherDisplayName": "shanoor"
},
"name": "vscode-nginx",
"publisher": "shanoor",
"version": "0.6.0"
},
{
"metadata": {
"id": "c3d3e8fb-c61d-4edf-8fb8-32298bc763f9",
"publisherId": "hangxingliu.vscode-nginx-conf-hint",
"publisherDisplayName": "hangxingliu"
},
"name": "vscode-nginx-conf-hint",
"publisher": "hangxingliu",
"version": "0.1.0"
},
{
"metadata": {
"id": "b5e06874-8d38-430a-9158-417b450b3fec",
"publisherId": "weffe.vscode-react-ts-snippets",
"publisherDisplayName": "weffe"
},
"name": "vscode-react-ts-snippets",
"publisher": "weffe",
"version": "2.1.0"
},
{
"metadata": {
"id": "beb68b20-7c55-471c-9b63-3486f9423566",
"publisherId": "mrmlnc.vscode-scss",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-scss",
"publisher": "mrmlnc",
"version": "0.6.2"
},
{
"metadata": {
"id": "020e14e4-3f0d-41d4-901d-4d28c9775544",
"publisherId": "gamunu.vscode-yarn",
"publisherDisplayName": "gamunu"
},
"name": "vscode-yarn",
"publisher": "gamunu",
"version": "1.6.0"
},
{
"metadata": {
"id": "b44254a5-aaf6-4ce2-8bbc-9a3f5aa21a02",
"publisherId": "mariusschulz.yarn-lock-syntax",
"publisherDisplayName": "mariusschulz"
},
"name": "yarn-lock-syntax",
"publisher": "mariusschulz",
"version": "0.1.3"
}
]
[
{
"key": "cmd+p",
"command": "-workbench.action.quickOpenNavigateNextInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+down",
"command": "-workbench.action.terminal.selectToNextCommand",
"when": "terminalFocus"
},
{
"key": "shift+cmd+down",
"command": "-cursorBottomSelect",
"when": "textInputFocus"
},
{
"key": "cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{ "key": "cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
}
]
{
"git.enableSmartCommit": true,
"window.zoomLevel": 2,
"files.autoSave": "afterDelay",
"breadcrumbs.enabled": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
"extensions.ignoreRecommendations": false,
"editor.mouseWheelZoom": true,
"editor.showUnused": true,
"editor.showFoldingControls": "always",
"editor.minimap.enabled": false,
"editor.snippetSuggestions": "top",
"editor.multiCursorModifier": "alt",
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"typescript.updateImportsOnFileMove.enabled": "always",
"javascript.preferences.quoteStyle": "single",
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.suggestionActions.enabled": true,
"javascript.referencesCodeLens.enabled": true,
"javascript.autoClosingTags": true,
"files.associations": {
"*.yml": "yaml",
"*.graphqlconfig": "json",
"*.jsonld": "json",
"*.prisma": "graphql",
"Dockerfile.do": "dockerfile",
"Dockerfile.npm": "dockerfile",
"Dockerfile.yarn": "dockerfile",
"Dockerfile.demoapp": "dockerfile",
"Dockerfile.server": "dockerfile",
"Dockerfile.react": "dockerfile",
"Dockerfile.client": "dockerfile",
"Dockerfile.release": "dockerfile",
"Dockerfile.production": "dockerfile",
"Dockerfile.authnet": "dockerfile",
"Dockerfile.seed": "dockerfile",
"Procfile-dev": "procfile",
"Makefile-balls": "makefile",
"*.json": "jsonc",
"*.bitmap": "jsonc",
"testenv": "dotenv",
".bumpedrc": "yaml",
".nvmrc": "yaml",
"*.jss": "javascriptreact",
"*.test": "javascriptreact",
"*.index": "javascriptreact",
},
"update.mode": "none",
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "left",
"keyboard.dispatch": "keyCode",
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.acceptSuggestionOnEnter": "on",
"editor.quickSuggestionsDelay": 2,
"editor.suggestOnTriggerCharacters": true,
"editor.tabCompletion": "on",
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "recentlyUsed",
"editor.wordBasedSuggestions": true,
"editor.parameterHints.enabled": true,
"emmet.includeLanguages": {
"typescript": "typescriptreact",
"javascript": "javascriptreact"
},
"emmet.preferences": {
"css.webkitProperties": "border-right,animation",
"css.mozProperties": ""
},
"emmet.syntaxProfiles": {
"html": {
"attr_quotes": "single"
},
"jsx": {
"self_closing_tag": true
},
"tsx": {
"self_closing_tag": true
}
},
"markdown-preview-enhanced.printBackground": true,
"markdown-preview-enhanced.enableHTML5Embed": true,
"markdown-preview-enhanced.enableScriptExecution": true,
"markdown-preview-enhanced.imageFolderPath": "./docs/assets/img",
"liveServer.settings.donotShowInfoMsg": true,
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"git-commit",
"go",
"handlebars",
"html",
"jade",
"java",
"javascript",
"jsonc",
"latex",
"less",
"markdown",
"php",
"plaintext",
"pug",
"python",
"restructuredtext",
"rust",
"scala",
"scss",
"text",
"typescript",
"typescriptreact",
"yaml",
"yml"
],
"cSpell.userWords": [
"AEPQ",
"AQAB",
"AWSALB",
"Artboard",
"Artboards",
"Asymmetrik",
"Authed",
"BOBSEMAIL",
"BOFW",
"Broek",
"Certara",
"Claiment's",
"Codeable",
"Crüe",
"DDOs",
"DISABLEHTTPSCHECK",
"Dayof",
"Docker's",
"Dockerfile's",
"EXOY",
"Ecommerce",
"FHIR",
"FREDSEMAIL",
"Fimqq",
"Flavio",
"Flavio's",
"Gabby's",
"Ghosh",
"Greenberg",
"HIPAA",
"HIPAA's",
"HTEST",
"Heuvel",
"Heya",
"IESG",
"IHRL",
"Imgur",
"Implementor's",
"Interop",
"Jotform",
"Jumio",
"Kubernetes",
"Lantz",
"MERN",
"Muth",
"NANP",
"NIST",
"Navbars",
"OIDC",
"Oxqh",
"Perspecta",
"Procfile",
"QLJSON",
"Quokka",
"Roboto",
"SENGRID",
"SENZING",
"Salsero",
"Sandip",
"Signup",
"Snackbar",
"Subheader",
"THREADPOOL",
"Tfeg",
"Thurgood",
"Twilio",
"USDT",
"Unmount",
"Verifier's",
"WEBHOOK",
"WORKDIR",
"Webhooks",
"Zack",
"Zooko’s",
"allowfullscreen",
"allowtransparency",
"ansicolor",
"antialiased",
"aoje",
"apikey",
"asciinema",
"assocatied",
"atrr",
"authnet",
"authz",
"availity",
"bachata",
"bachatera",
"bikinibottom",
"biometrically",
"birthdate",
"bodyparser",
"browserslist",
"browserslistrc",
"buddyjs",
"bulma",
"camelcase",
"ccxt",
"cdiv",
"cflavio",
"checkboxes",
"citizenships",
"claimantfred",
"classname",
"cloneflavio",
"clonews",
"codecov",
"codesandbox",
"commitlint",
"contenthash",
"cookiejar",
"corejs",
"cornflowerblue",
"cryptiles",
"csrf",
"datamodel",
"datasource",
"datasources",
"datedash",
"dbuild",
"devtool",
"dids",
"docdash",
"docdown",
"doctest",
"dropzone",
"eddsa",
"elif",
"else's",
"envs",
"escanner",
"esmodules",
"esnext",
"eval",
"fileref",
"filesize",
"finepack",
"flavioespinoza",
"flaviosemail",
"flavs",
"flexbox",
"flexboxgrid",
"flexbugs",
"flowtype",
"formik",
"frameborder",
"gerhobbelt",
"gitignore",
"gmail",
"gqlgen",
"graphql",
"graphqlconfig",
"hocs",
"homescreen",
"hotpink",
"inmemory",
"inversify",
"isparta",
"jfzaw",
"jonesfamily",
"jsnext",
"jsonexport",
"jsonld",
"jwks",
"kcors",
"kubectl",
"libsass",
"limegreen",
"linkedin",
"lockfile",
"lucysemail",
"minification",
"minikube",
"mkdir",
"mkrn",
"mongodb",
"monokai",
"mtls",
"mume",
"myta",
"nginx",
"njwt",
"nodemon",
"nosniff",
"okta",
"ololog",
"onhover",
"openid",
"orgs",
"pagebreak",
"pathinfo",
"personalizations",
"pextq",
"phook",
"pkce",
"playshell",
"polyfill",
"postgres",
"postgresql",
"postrelease",
"poststart",
"prebuild",
"predeploy",
"prepend",
"preresource",
"prettierc",
"prisma",
"prismagraphql",
"promisify",
"protonmail",
"qunit",
"qunitjs",
"raian",
"recordshell",
"recshell",
"redbox",
"regenmd",
"repo",
"repo's",
"resave",
"rfid",
"rhook",
"rollup",
"runtimes",
"screenname",
"scrollbar",
"sendgrid",
"sketchapp",
"sourcemap",
"specificically",
"spongebob",
"svgr",
"sweetalert",
"swipeable",
"sxia",
"tagsinput",
"testenv",
"testnet",
"textbox",
"todos",
"typeahead",
"unminified",
"untracked",
"upsert",
"uri",
"user",
"userinfo",
"verifiy",
"waait",
"watchlist",
"webshield",
"webshielddev",
"wsdev",
"wsutm",
"wutsm",
"xmlns",
"xsvo",
"youremail",
"yourorg",
"zeit",
"zoneinfo"
],
"[csharp]": {},
"markdown-preview-enhanced.frontMatterRenderingOption": "code block",
"markdown-preview-enhanced.codeBlockTheme": "darcula.css",
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"git.confirmSync": false,
"gitlens.views.repositories.files.layout": "list",
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"terminal.integrated.shell.osx": "/bin/bash",
"workbench.iconTheme": "vscode-icons"
}
{
"For Loop: ES6": {
"prefix": "loop",
"body": [
"for (let i = 0; i < $ARRAY.length; i++) {",
" ",
" let obj = $ARRAY[i]",
" $END",
" ",
"}"
],
"description": "loop through array"
},
"For Loop: ES5": {
"prefix": "varloop",
"body": [
"for (var i = 0; i < ${2:array}.length; i++) { ",
" ",
" var obj = ${2:array}[i]",
" $0",
" ",
"}"
],
"description": "for (var i = 0; i < 5; i++) { }"
},
"doc_private": {
"prefix": "docp",
"body": [
"/**",
" * @private",
" * @name $1",
" * @constructor",
" * @category $2",
" * @param {$3} $4",
" * @returns {$5} $0",
" *",
" * */"
],
"description": "JS Docs syntax for private constructor"
},
"doc_static": {
"prefix": "doc",
"body": [
"/**",
" * $1",
" *",
" * @static",
" * @memberOf $2",
" * @category $3",
" * @param {$4} $5",
" * @example",
" * $0",
" *",
" * */"
],
"description": "JS Docs syntax for static method"
},
"note": {
"prefix": "note",
"body": [
"/**",
" * @param {{$var:$typeof$}} $description",
" * */"
],
"description": "/** type note */"
},
"log": {
"prefix": "log",
"body": [
"console.log($item)"
],
"description": "console.log( );"
},
"jstring": {
"prefix": "jstring",
"body": [
"console.log(JSON.stringify($item, null, 2))"
],
"description": "console.log(JSON.stringify( ));"
},
"err": {
"prefix": "err",
"body": [
"console.error('$desc: $item', $item);"
],
"description": "console.error( );"
},
"logd": {
"prefix": "logd",
"body": [
"console.log('$desc: $item', $item)"
],
"description": "console.log( ); with description"
},
"logl": {
"prefix": "logl",
"body": [
"console.log('$item.length', $item.length)"
],
"description": "console.log( ); arr.length"
},
"bug": {
"prefix": "bug",
"body": [
"debugger"
],
"description": "debugger"
},
"dloop": {
"prefix": "dloop",
"body": [
"for (let i = 0; i < $ARRAY.length; i++) {",
" for (let d = 0; d < $ARRAY.length; d++) {",
" let i_Obj = $ARRAY[i]",
" let d_Obj = $ARRAY[i].$SUBARRAY$[d]",
" $0",
" }",
"}"
],
"description": "nested double loop"
},
"aa": {
"prefix": "aa",
"body": [
"export function $FUNCNAME() {",
" return {",
" type: '$ACTION',",
" payload: $PAYLOAD",
" }",
"}"
],
"description": "action"
},
"slog": {
"prefix": "slog",
"body": [
"console.log('_____________$desc', $item);"
],
"description": "console.log(___________item, item )"
},
"red": {
"prefix": "red",
"body": [
"log.red($item)"
],
"description": "log.red( );"
},
"blue": {
"prefix": "blue",
"body": [
"log.blue($item)"
],
"description": "log.blue( );"
},
"green": {
"prefix": "green",
"body": [
"log.green($item)"
],
"description": "log.green( );"
},
"ltime": {
"prefix": "ltime",
"body": [
"/** LOAD TIME $name ======================================================== */",
"let __load_time_$name = (new Date() - __start_time) / 1000",
"console.log('__load_time_$name', __load_time_$name + 'sec')"
],
"description": "load time tester"
},
"bind": {
"prefix": "bind",
"body": [
"this.$name = this.$name.bind(this)"
],
"description": "React bind(this)"
},
"action": {
"prefix": "action",
"body": [
"export function $nam ($arg1) {",
" return {",
" type: '$action',",
" payload: $arg1",
" }",
"}"
],
"description": "action export function"
},
"mag": {
"prefix": "mag",
"body": [
"log.magenta($item)"
],
"description": "log.magenta( );"
},
"try": {
"prefix": "tryc",
"body": [
"try { ",
" $0",
"} catch (err) {",
" _error('$method_name', err)",
"}"
],
"description": "try catch"
},
"aasync": {
"prefix": "aasync",
"body": [
"(async function () {",
" try {",
" $whatevs",
" } catch (err) {",
" _error('anonymous async', err)",
" }",
"})();"
],
"description": "anonomous async await function"
},
"lw": {
"prefix": "yellow",
"body": [
"log.lightYellow($item)"
],
"description": "log.yellow();"
},
"cyan": {
"prefix": "cyan",
"body": [
"log.cyan($item)"
],
"description": "log.cyan()"
},
"black": {
"prefix": "black",
"body": [
"log.black($item)"
],
"description": "log.black()"
},
"gray": {
"prefix": "gray",
"body": [
"log.lightGray($item)"
],
"description": "log.lightGray()"
},
"pink": {
"prefix": "pink",
"body": [
"log.lightRed($item)"
],
"description": "log.lightRed()"
},
"bb": {
"prefix": "bb",
"body": [
"log.lightBlue($item)"
],
"description": "log.lightBlue()"
},
"olo": {
"prefix": "olo",
"body": [
"// npm install @flavioespinoza/log_log --save",
"const _log = require('@flavioespinoza/log_log')._log",
"const log = require('@flavioespinoza/log_log').log"
],
"description": "ololog"
},
"tools": {
"prefix": "tools",
"body": [
"const _ = require('lodash')",
"const Chance = require('chance')",
"const chance = new Chance()",
"const axios = require('axios')"
],
"description": "base node tools"
},
"mtools": {
"prefix": "bittrex_tools",
"body": [
"const log = require('ololog').configure({locate: false})",
"const _ = require('lodash')",
"const Chance = require('chance')",
"const chance = new Chance()",
"",
"const MongoClient = require('mongodb').MongoClient",
"const db_url = 'mongodb://localhost:27017/'",
"",
"const db_name = 'bittrex_db'",
"const collection = 'orders_cl'",
"const options = {useNewUrlParser: true}"
],
"description": "mongodb default tools"
},
"ii": {
"prefix": "ii",
"body": [
"${VARIABLE$}"
],
"description": "Insert in string"
},
"af": {
"prefix": "af",
"body": [
"async function $name ($arg1) {",
" try {",
" $0",
" } catch (err) {",
" _error('$name', err)",
" }",
"}"
],
"description": "async function"
},
"aloop": {
"prefix": "aloop",
"body": [
"const result = []",
"",
"await async.each($array, async (obj) => {",
" const $wait_var = await $async_func(obj)",
" result.push($wait_var)",
"})",
"",
"console.log('result', result)"
],
"description": "async loop"
},
"ess": {
"prefix": "ess",
"body": [
"const elasticsearch = require('elasticsearch')",
"const es = new elasticsearch.Client({",
" host: 'localhost:9200',",
" hosts: [{",
" protocol: 'http',",
" host: '$ip',",
" port: 9200,",
" country: 'US',",
" weight: 10",
" }],",
" log: 'trace'",
"})"
],
"description": "Elasticsearch"
},
"arr": {
"prefix": "arr",
"body": [
"(obj) => {",
" $0",
"}"
],
"description": "Arrow function"
},
"pa": {
"prefix": "pa",
"body": [
"@param {{$var:$typeof$}} $description"
],
"description": "@param"
},
"React Basic Component": {
"prefix": "react",
"body": [
"import React from 'react'",
"",
"class $CompName extends React.Component {",
" constructor (props) {",
" super(props)",
"",
" this.state = {",
" comp_name: '$CompName',",
" $my_new_prop: '$my_new_prop_value'",
" }",
"",
" };",
"",
" render () {",
"",
" const { comp_name, $my_new_prop } = this.state",
"",
" return (",
" <section> ",
" My Name Is: {comp_name} ",
"",
" <div>$my_new_prop {$my_new_prop}</div>",
" ",
" </section>",
" ",
" )",
" };",
"",
"}",
"",
"export { $CompName }"
],
"description": "React bare bones component"
},
"tsdeclare": {
"body": [
"/// <reference path='./custom.d.ts' />"
]
},
"d.ts": {
"prefix": "dts",
"body": [
"/// <reference path='./custom.d.ts' />",
""
],
"description": ""
}
}
{
"bash": {
"prefix": "bash",
"body": [
"$1",
"```bash",
"$2",
"```",
"$0"
],
"description": "bash code block"
},
"shell": {
"prefix": "shell",
"body": [
"$1",
"```shell",
"$2",
"```",
"$0"
],
"description": "shell code block"
},
"json": {
"prefix": "json",
"body": [
"$1",
"```json",
"$2",
"```",
"$0"
],
"description": "json code block"
},
"js": {
"prefix": "js",
"body": [
"$1",
"```js",
"$2",
"```",
"$0"
],
"description": "js code block"
},
"ts": {
"prefix": "ts",
"body": [
"$1",
"```ts",
"$2",
"```",
"$0"
],
"description": "ts code block"
},
"go": {
"prefix": "go",
"body": [
"$1",
"```go",
"$2",
"```",
"$0"
],
"description": "go code block"
},
"graphql": {
"prefix": "graphql",
"body": [
"$1",
"```graphql",
"$2",
"```",
"$0"
],
"description": "graphql code block"
},
}
{
"for i loop": {
"prefix": "loop",
"body": [
"for (let i = 0; i < array.length; i++) { ",
" ",
" let obj = array[i]",
" '\\t$0'",
" ",
"}"
],
"description": ""
},
"loops": {
"prefix": "cock",
"body": [
"for (let i = 0; i < array.length; i++) { ",
" ",
" let obj = array[i]",
" '$0'",
" ",
"}"
],
"description": ""
},
"rbcballs": {
"prefix": "rbcc",
"body": [
"import React from 'react'",
"",
"class $ComponentName extends React.Component {",
" constructor (props) {",
" super(props)",
"",
" this.state = {",
" name: '$ComponentName'",
" }",
"",
" };",
"",
" render () {",
" return (",
" <div> Hello $ComponentName </div>",
" )",
" };",
"",
"}",
"",
"export default $ComponentName"
],
"description": ""
}
}
// This file is generated by Save As Snippet
// For detail, check vscode snippet syntax
// https://code.visualstudio.com/docs/editor/userdefinedsnippets#_creating-your-own-snippets
{
"tscomp": {
"prefix": "tscomp",
"scope": "typescriptreact",
"body": [
"import * as React from 'react'",
"",
"interface Props {}",
"",
"interface State {}",
"",
"class $DashBoard extends React.Component<Props, State>{",
"\tconstructor (props: Props) {",
"\t\tsuper(props)",
"\t\tthis.state = {}",
"\t}",
"\trender () {",
"\t\treturn (",
"\t\t\t<section> ",
"\t\t\t",
"\t\t\t\t<h2>Hello $DashBoard</h2>",
"\t\t\t",
"\t\t\t</section>",
"\t\t)",
"\t}",
"}",
"",
"export default $DashBoard"
],
"description": "tscomp"
},
"rbc": {
"prefix": "rbc",
"scope": "typescriptreact",
"body": [
"import * as React from 'react'",
"",
"interface Props {}",
"",
"interface State {}",
"",
"class $DashBoard extends React.Component<Props, State>{",
"\tconstructor (props: Props) {",
"\t\tsuper(props)",
"\t\tthis.state = {}",
"\t}",
"\trender () {",
"\t\treturn (",
"\t\t\t<section> ",
"\t\t\t",
"\t\t\t\t<h2>Hello $DashBoard</h2>",
"\t\t\t",
"\t\t\t</section>",
"\t\t)",
"\t}",
"}",
"",
"export default $DashBoard"
],
"description": "rbc"
},
"rhook": {
"prefix": "rhook",
"scope": "javascriptreact",
"body": [
"import * as React from 'react';",
"import { makeStyles } from '@material-ui/core/styles';",
"import selectStyles from 'assets/jss/material-dashboard-pro-react/views/selectStyles';",
"import Card from 'components/Card/Card';",
"import CardQuick from 'components/Card/CardQuick';",
"import Button from 'components/CustomButtons/Button';",
"import GridContainer from 'components/Grid/GridContainer';",
"import GridItem from 'components/Grid/GridItem';",
"import { Link } from 'react-router-dom';",
"import request from 'request';",
"import log from 'ololog';",
"import ReactJson from 'react-json-view';",
"",
"const useStyles = makeStyles((theme) => {",
" return selectStyles(theme);",
"});",
"",
"const $CompName = ({ ...props }) => {",
" const { ...prop } = props;",
" const classes = useStyles();",
" const [jsonProps, setJsonProps] = React.useState(null);",
" const title = '$CompName';",
"",
" const _handleClick = () => {",
" let _json = JSON.stringify(props, null, 2);",
" log.blue(_json);",
" setJsonProps(_json);",
" };",
"",
" const _openid = (qs) => {",
" const origin = window.location.origin;",
" const route = '$Route'",
" const url = origin + '/api/' + route;",
" const options = {",
" method: 'POST',",
" url: url,",
" qs: qs,",
" };",
" request(options, function(error, response, body) {",
" if (error) throw new Error(error);",
" const _body = JSON.parse(body);",
" console.log(`route: ${url} --> _body`, _body);",
" });",
" };",
"",
" return (",
" <section className={classes.container}>",
" <GridContainer justify=\"center\">",
" <GridItem xs={12} sm={6}>",
" <Card className={'authnet-card p24'}>",
" <CardQuick",
" {...{",
" title: title,",
" iconAwesome: true,",
" icon: 'fad fa-$Icon',",
" color: 'info',",
" }}",
" />",
" <h1 className={'mt4 mb4'}>{title}</h1>",
" <Button color={'info'} onClick={_handleClick}>",
" Click Me to view props",
" </Button>",
" <div>{jsonProps}</div>",
" </Card>",
" </GridItem>",
" </GridContainer>",
" </section>",
" );",
"};",
"",
"export default $CompName;",
""
],
"description": "Default React Hook"
}
}
{
"Shell Error": {
"prefix": "shellerror",
"body": [
"<label class=\"error bold\">Error</label>",
"```shell {.error}",
"# error",
"",
"adb: failed to stat app/build/outputs/apk/app-debug.apk: No such file or directory",
"",
"Command failed: /usr/local/share/android-sdk/platform-tools/adb -s 192.168.56.101:5555 install app/build/outputs/apk/app-debug.apk",
"",
"Could not install the app on the device, read the error above for details.",
"```"
],
"description": "Shell Error"
}
}
{
"For Loop: ES6": {
"prefix": "loop",
"body": [
"for (let i = 0; i < $ARRAY.length; i++) {",
" ",
" let obj = $ARRAY[i]",
" $END",
" ",
"}"
],
"description": "loop through array"
},
"d.ts": {
"prefix": "dts",
"body": [
"/// <reference path='./custom.d.ts' />"
],
"description": "ds"
},
"For Loop: ES5": {
"prefix": "varloop",
"body": [
"for (var i = 0; i < ${2:array}.length; i++) { ",
" ",
" var obj = ${2:array}[i]",
" $0",
" ",
"}"
],
"description": "for (var i = 0; i < 5; i++) { }"
},
"note": {
"prefix": "note",
"body": [
"/**",
" * @param {{$var:$typeof$}} $description",
" * */"
],
"description": "/** type note */"
},
"log": {
"prefix": "log",
"body": [
"console.log($item)"
],
"description": "console.log( );"
},
"jstring": {
"prefix": "jstring",
"body": [
"console.log(JSON.stringify($item, null, 2))"
],
"description": "console.log(JSON.stringify( ));"
},
"err": {
"prefix": "err",
"body": [
"console.error('$desc: $item', $item);"
],
"description": "console.error( );"
},
"logd": {
"prefix": "logd",
"body": [
"console.log('$desc: $item', $item)"
],
"description": "console.log( ); with description"
},
"logl": {
"prefix": "logl",
"body": [
"console.log('$item.length', $item.length)"
],
"description": "console.log( ); arr.length"
},
"bug": {
"prefix": "bug",
"body": [
"debugger"
],
"description": "debugger"
},
"dloop": {
"prefix": "dloop",
"body": [
"for (let i = 0; i < $ARRAY.length; i++) {",
" for (let d = 0; d < $ARRAY.length; d++) {",
" let i_Obj = $ARRAY[i]",
" let d_Obj = $ARRAY[i].$SUBARRAY$[d]",
" $0",
" }",
"}"
],
"description": "nested double loop"
},
"aa": {
"prefix": "aa",
"body": [
"export function $FUNCNAME() {",
" return {",
" type: '$ACTION',",
" payload: $PAYLOAD",
" }",
"}"
],
"description": "action"
},
"slog": {
"prefix": "slog",
"body": [
"console.log('_____________$desc', $item);"
],
"description": "console.log(___________item, item )"
},
"red": {
"prefix": "red",
"body": [
"log.red($item)"
],
"description": "log.red( );"
},
"blue": {
"prefix": "blue",
"body": [
"log.blue($item)"
],
"description": "log.blue( );"
},
"green": {
"prefix": "green",
"body": [
"log.green($item)"
],
"description": "log.green( );"
},
"ltime": {
"prefix": "ltime",
"body": [
"/** LOAD TIME $name ======================================================== */",
"let __load_time_$name = (new Date() - __start_time) / 1000",
"console.log('__load_time_$name', __load_time_$name + 'sec')"
],
"description": "load time tester"
},
"bind": {
"prefix": "bind",
"body": [
"this.$name = this.$name.bind(this)"
],
"description": "React bind(this)"
},
"action": {
"prefix": "action",
"body": [
"export function $nam ($arg1) {",
" return {",
" type: '$action',",
" payload: $arg1",
" }",
"}"
],
"description": "action export function"
},
"mag": {
"prefix": "mag",
"body": [
"log.magenta($item)"
],
"description": "log.magenta( );"
},
"try": {
"prefix": "tryc",
"body": [
"try { ",
" $0",
"} catch (err) {",
" _error('$method_name', err)",
"}"
],
"description": "try catch"
},
"aasync": {
"prefix": "aasync",
"body": [
"(async function () {",
" try {",
" $whatevs",
" } catch (err) {",
" _error('anonymous async', err)",
" }",
"})();"
],
"description": "anonomous async await function"
},
"lw": {
"prefix": "yellow",
"body": [
"log.lightYellow($item)"
],
"description": "log.yellow();"
},
"cyan": {
"prefix": "cyan",
"body": [
"log.cyan($item)"
],
"description": "log.cyan()"
},
"black": {
"prefix": "black",
"body": [
"log.black($item)"
],
"description": "log.black()"
},
"gray": {
"prefix": "gray",
"body": [
"log.lightGray($item)"
],
"description": "log.lightGray()"
},
"pink": {
"prefix": "pink",
"body": [
"log.lightRed($item)"
],
"description": "log.lightRed()"
},
"bb": {
"prefix": "bb",
"body": [
"log.lightBlue($item)"
],
"description": "log.lightBlue()"
},
"olo": {
"prefix": "olo",
"body": [
"// npm install @flavioespinoza/log_log --save",
"const _log = require('@flavioespinoza/log_log')._log",
"const log = require('@flavioespinoza/log_log').log"
],
"description": "ololog"
},
"tools": {
"prefix": "tools",
"body": [
"const _ = require('lodash')",
"const Chance = require('chance')",
"const chance = new Chance()",
"const axios = require('axios')"
],
"description": "base node tools"
},
"mtools": {
"prefix": "bittrex_tools",
"body": [
"const log = require('ololog').configure({locate: false})",
"const _ = require('lodash')",
"const Chance = require('chance')",
"const chance = new Chance()",
"",
"const MongoClient = require('mongodb').MongoClient",
"const db_url = 'mongodb://localhost:27017/'",
"",
"const db_name = 'bittrex_db'",
"const collection = 'orders_cl'",
"const options = {useNewUrlParser: true}"
],
"description": "mongodb default tools"
},
"ii": {
"prefix": "ii",
"body": [
"${VARIABLE$}"
],
"description": "Insert in string"
},
"af": {
"prefix": "af",
"body": [
"async function $name ($arg1) {",
" try {",
" $0",
" } catch (err) {",
" _error('$name', err)",
" }",
"}"
],
"description": "async function"
},
"aloop": {
"prefix": "aloop",
"body": [
"const result = []",
"",
"await async.each($array, async (obj) => {",
" const $wait_var = await $async_func(obj)",
" result.push($wait_var)",
"})",
"",
"console.log('result', result)"
],
"description": "async loop"
},
"ess": {
"prefix": "ess",
"body": [
"const elasticsearch = require('elasticsearch')",
"const es = new elasticsearch.Client({",
" host: 'localhost:9200',",
" hosts: [{",
" protocol: 'http',",
" host: '$ip',",
" port: 9200,",
" country: 'US',",
" weight: 10",
" }],",
" log: 'trace'",
"})"
],
"description": "Elasticsearch"
},
"Arrow Obj": {
"prefix": "objarr",
"body": [
"(obj) => {",
" $0",
"}"
],
"description": "Arrow function with obj arg"
},
"Arrow": {
"prefix": "arr",
"body": [
"() => {",
" $0",
"}"
],
"description": "Arrow function"
},
"pa": {
"prefix": "pa",
"body": [
"@param {{$var:$typeof$}} $description"
],
"description": "@param"
},
"Props State interface": {
"prefix": "nativeprops",
"body": [
"interface Props {}\r",
"\r",
"interface State {}"
],
"description": "interface Props and State for React.tsx component"
},
"React Native Typescript StyleSheet": {
"prefix": "nativestyle",
"body": [
"import { StyleSheet } from 'react-native'\r",
"\r",
"const Style = StyleSheet.create({\r",
" text: {\r",
" fontSize: 12,\r",
" textAlign: 'center',\r",
" margin: 10\r",
" },\r",
" container: {\r",
" flex: 1,\r",
" width: '100%'\r",
" }\r",
"})\r",
"\r",
"export { Style }"
],
"description": "React Native Typescript StyleSheet"
},
"React Native Typescript Component": {
"prefix": "nativecomp",
"body": [
"import * as React from 'react'",
"import { View, Text } from 'react-native'",
"import { Style } from './$CompName.style'",
"",
"interface Props {}",
"",
"interface State {",
" compName: string | undefined",
"}",
"",
"class $CompName extends React.PureComponent<Props, State> {",
" constructor(props: Props) {",
" super(props)",
"",
" this.state = {",
" compName: '$CompName'",
" }",
" }",
"",
" render() {",
" return (",
" <View style={Style.container}>",
" <Text style={Style.text}>Hello {this.state.compName}</Text>",
" </View>",
" )",
" }",
"}",
"",
"export default $CompName"
],
"description": "React Native Typescr∂ipt Basic Component"
},
"Shell Error": {
"prefix": "shellerror",
"body": [
"<label class=\"error bold\">Error</label>",
"```shell {.error}",
"# error",
"",
"adb: failed to stat app/build/outputs/apk/app-debug.apk: No such file or directory",
"",
"Command failed: /usr/local/share/android-sdk/platform-tools/adb -s 192.168.56.101:5555 install app/build/outputs/apk/app-debug.apk",
"",
"Could not install the app on the device, read the error above for details.",
"```"
],
"description": "Shell Error"
},
"Graphql to Typescript": {
"prefix": "int",
"body": [
"interface $Name {\r",
"\r",
"}"
],
"description": "GraphQL schema types translated to TypeScript interface"
},
"<a> tag markdown": {
"prefix": "mdatag",
"body": [
"<a class='md-link-bold' target='_blank' href='https://developer.apple.com/videos/play/wwdc2018/415/'>",
" Xcode build sequence",
" </a>"
],
"description": ""
}
}
{
"Graphql Typescript": {
"prefix": "intt",
"body": [
"interface Int {\r",
"\r",
"}"
],
"description": "afds"
},
"undefined": {
"body": [
"/// <reference path='./custom.d.ts' />"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment