Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vs Code settings
{"lastUpload":"2021-01-22T21:37:15.146Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "850c6bb1-4a81-4f83-a81f-835d651a211c",
"publisherId": "Mikael.Angular-BeastCode",
"publisherDisplayName": "Mikael"
},
"name": "Angular-BeastCode",
"publisher": "Mikael",
"version": "10.0.3"
},
{
"metadata": {
"id": "214cbfb9-7c06-4467-bad4-357ae83eb587",
"publisherId": "johnpapa.Angular2",
"publisherDisplayName": "johnpapa"
},
"name": "Angular2",
"publisher": "johnpapa",
"version": "11.0.0"
},
{
"metadata": {
"id": "6481d61b-0209-401a-97d8-d5d0efc14efb",
"publisherId": "danwahlin.angular2-snippets",
"publisherDisplayName": "danwahlin"
},
"name": "angular2-snippets",
"publisher": "danwahlin",
"version": "1.0.21"
},
{
"metadata": {
"id": "70378119-1d85-4935-9733-0298c7a369a2",
"publisherId": "steoates.autoimport",
"publisherDisplayName": "steoates"
},
"name": "autoimport",
"publisher": "steoates",
"version": "1.5.3"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "5ec229d2-66e5-4d59-8d71-9e103164cf9f",
"publisherId": "wlhe.c-cpp-snippets",
"publisherDisplayName": "wlhe"
},
"name": "c-cpp-snippets",
"publisher": "wlhe",
"version": "0.1.0"
},
{
"metadata": {
"id": "8a0c151b-eb13-4bed-9d49-4a252a118a0c",
"publisherId": "michelemelluso.code-beautifier",
"publisherDisplayName": "michelemelluso"
},
"name": "code-beautifier",
"publisher": "michelemelluso",
"version": "2.3.3"
},
{
"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": "060828aa-17ab-40d9-9e2d-f8407f5c8d04",
"publisherId": "alexdima.copy-relative-path",
"publisherDisplayName": "alexdima"
},
"name": "copy-relative-path",
"publisher": "alexdima",
"version": "0.0.2"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "1.1.3"
},
{
"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": "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": "3.1.0"
},
{
"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": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.14"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.1.3"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.21.1"
},
{
"metadata": {
"id": "6c6d4703-0393-49e4-bcbe-2c01f5184522",
"publisherId": "andrejunges.Handlebars",
"publisherDisplayName": "andrejunges"
},
"name": "Handlebars",
"publisher": "andrejunges",
"version": "0.4.1"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "236ff452-49f5-47a4-8928-ab18f5b9c7bf",
"publisherId": "eriklynd.json-tools",
"publisherDisplayName": "eriklynd"
},
"name": "json-tools",
"publisher": "eriklynd",
"version": "1.0.2"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2020.12.414227025"
},
{
"metadata": {
"id": "3b58a227-618a-4b57-a06b-6984a2a8d1ba",
"publisherId": "onecentlin.laravel-blade",
"publisherDisplayName": "onecentlin"
},
"name": "laravel-blade",
"publisher": "onecentlin",
"version": "1.25.0"
},
{
"metadata": {
"id": "f8a1bc85-dce8-4e51-a623-a40bde56fc8b",
"publisherId": "stef-k.laravel-goto-controller",
"publisherDisplayName": "stef-k"
},
"name": "laravel-goto-controller",
"publisher": "stef-k",
"version": "0.0.12"
},
{
"metadata": {
"id": "4bf45e86-a448-4531-8c01-ef33f4536306",
"publisherId": "ms-mssql.mssql",
"publisherDisplayName": "ms-mssql"
},
"name": "mssql",
"publisher": "ms-mssql",
"version": "1.10.1"
},
{
"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": "044b4b31-2969-4af3-895d-855433b8b46d",
"publisherId": "felixfbecker.php-debug",
"publisherDisplayName": "felixfbecker"
},
"name": "php-debug",
"publisher": "felixfbecker",
"version": "1.14.5"
},
{
"metadata": {
"id": "ca0094fa-0dc7-4847-ae5d-879442c099ca",
"publisherId": "neilbrayfield.php-docblocker",
"publisherDisplayName": "neilbrayfield"
},
"name": "php-docblocker",
"publisher": "neilbrayfield",
"version": "2.1.0"
},
{
"metadata": {
"id": "5e69f001-f945-4c97-baf0-320d82a153b3",
"publisherId": "felixfbecker.php-intellisense",
"publisherDisplayName": "felixfbecker"
},
"name": "php-intellisense",
"publisher": "felixfbecker",
"version": "2.3.14"
},
{
"metadata": {
"id": "1a9300c9-36a6-44d1-9d09-ada3641b8727",
"publisherId": "felixfbecker.php-pack",
"publisherDisplayName": "felixfbecker"
},
"name": "php-pack",
"publisher": "felixfbecker",
"version": "1.0.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.8.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2021.1.502429796"
},
{
"metadata": {
"id": "607fd052-be03-4363-b657-2bd62b83d28a",
"publisherId": "ms-vscode-remote.remote-ssh",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh",
"publisher": "ms-vscode-remote",
"version": "0.62.0"
},
{
"metadata": {
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c",
"publisherId": "ms-vscode-remote.remote-ssh-edit",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-edit",
"publisher": "ms-vscode-remote",
"version": "0.62.0"
},
{
"metadata": {
"id": "531cc46e-a673-425f-9f5a-60ce75187e35",
"publisherId": "Fr43nk.seito-openfile",
"publisherDisplayName": "Fr43nk"
},
"name": "seito-openfile",
"publisher": "Fr43nk",
"version": "1.8.7"
},
{
"metadata": {
"id": "ba2d692e-ab31-4861-8b19-e37fc1f859ed",
"publisherId": "ardenivanov.svelte-intellisense",
"publisherDisplayName": "ardenivanov"
},
"name": "svelte-intellisense",
"publisher": "ardenivanov",
"version": "0.7.1"
},
{
"metadata": {
"id": "baee1a57-6393-4047-b3b0-1e260dff98dd",
"publisherId": "Nawaz.svelte-snippets",
"publisherDisplayName": "Nawaz"
},
"name": "svelte-snippets",
"publisher": "Nawaz",
"version": "1.3.2"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.44"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.32.0"
},
{
"metadata": {
"id": "a852a33d-c920-4758-a5a8-0f5b00521b59",
"publisherId": "mjmcloug.vscode-elixir",
"publisherDisplayName": "mjmcloug"
},
"name": "vscode-elixir",
"publisher": "mjmcloug",
"version": "1.1.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.14"
},
{
"metadata": {
"id": "c5f4d87f-a524-462c-ac01-923eb19cf3e9",
"publisherId": "firefox-devtools.vscode-firefox-debug",
"publisherDisplayName": "firefox-devtools"
},
"name": "vscode-firefox-debug",
"publisher": "firefox-devtools",
"version": "2.9.1"
},
{
"metadata": {
"id": "c46b0018-f317-4b6c-a785-d2039b27338f",
"publisherId": "wix.vscode-import-cost",
"publisherDisplayName": "wix"
},
"name": "vscode-import-cost",
"publisher": "wix",
"version": "2.13.0"
},
{
"metadata": {
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0",
"publisherId": "bmewburn.vscode-intelephense-client",
"publisherDisplayName": "bmewburn"
},
"name": "vscode-intelephense-client",
"publisher": "bmewburn",
"version": "1.6.2"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.38.0"
},
{
"metadata": {
"id": "8130e01f-ac60-4803-ab86-f05469dd7b4d",
"publisherId": "kokororin.vscode-phpfmt",
"publisherDisplayName": "kokororin"
},
"name": "vscode-phpfmt",
"publisher": "kokororin",
"version": "1.0.30"
},
{
"metadata": {
"id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
"publisherId": "GitHub.vscode-pull-request-github",
"publisherDisplayName": "GitHub"
},
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.22.0"
},
{
"metadata": {
"id": "460a5a36-9212-4926-82dd-4df22f9319b6",
"publisherId": "plievone.vscode-template-literal-editor",
"publisherDisplayName": "plievone"
},
"name": "vscode-template-literal-editor",
"publisher": "plievone",
"version": "0.9.0"
},
{
"metadata": {
"id": "6f99be10-9aad-4b1c-8691-bcae8ae7b104",
"publisherId": "dariofuzinato.vue-peek",
"publisherDisplayName": "dariofuzinato"
},
"name": "vue-peek",
"publisher": "dariofuzinato",
"version": "1.0.2"
},
{
"metadata": {
"id": "13ff980c-43ba-4895-a124-c04f3cec5486",
"publisherId": "tungvn.wordpress-snippet",
"publisherDisplayName": "tungvn"
},
"name": "wordpress-snippet",
"publisher": "tungvn",
"version": "1.1.5"
},
{
"metadata": {
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20",
"publisherId": "DotJoshJohnson.xml",
"publisherDisplayName": "DotJoshJohnson"
},
"name": "xml",
"publisher": "DotJoshJohnson",
"version": "2.5.1"
}
]
{
"agentPort": 39331,
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 13133,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-cd456c74ed680bd915ec660ab175dcb2dc3421d1.sock",
"socksPort": 56589,
"startupTime": 1587239864283
}
{
"agentPort": 39197,
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 392,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-6dedfe8bdba0314f5ad1f7a9335678d0c60713ff.sock",
"socksPort": 53539,
"startupTime": 1586378597473
}
{
"remoteListeningOn": {
"port": 35683
},
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 98936,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-934cc7179f518db313b15ecc6ad4c14b44e4d1f0.sock",
"socksPort": 51292,
"startupTime": 1602187648961
}
{
"agentPort": 45559,
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 67243,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-219891e29ed94717dcab2081afab5ae9c4ac0dee.sock",
"socksPort": 57728,
"startupTime": 1590602718392
}
{
"agentPort": 36229,
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 17921,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-4d1a0a8089cf3de4df83dd272ad0d9e3a72f6fe2.sock",
"socksPort": 61964,
"startupTime": 1593052184018
}
{
"remoteListeningOn": {
"port": 44153
},
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 50189,
"ipcHandlePath": "/var/folders/kq/_zf57pxj7_7_nygsgc1qxs6r0000gn/T/vscode-ssh-askpass-ffc172c4e0da0577ee4c5ce35040a59cfc5b7ac4.sock",
"socksPort": 52675,
"startupTime": 1611339237510
}
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "s",
"command": "git.stageSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "u",
"command": "git.unstageSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "r",
"command": "git.revertSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "ctrl+shift+c",
"command": "git.commit"
}
]
// Place your key bindings in this file to override the defaults
[{
"key": "ctrl+shift+j",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "s",
"command": "git.stageSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "u",
"command": "git.unstageSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "r",
"command": "git.revertSelectedRanges",
"when": "isInDiffEditor && editorTextFocus"
},
{
"key": "ctrl+shift+c",
"command": "git.commit"
}
]
{
"vetur.format.defaultFormatter.html": "prettier",
"python.linting.pylintArgs": [
"--load-plugins=pylint_django"
],
"editor.acceptSuggestionOnCommitCharacter": false,
"phpfmt.php_bin": "/usr/bin/php",
"php.validate.enable": true,
"beautify.language": {
"js": {
"type": [
"javascript",
"json",
"jsonc"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [
"css",
"scss"
],
"html": [
"htm",
"html",
"php"
]
},
"window.zoomLevel": -1,
"files.associations": {
"*.js": "javascriptreact"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"phpfmt.psr1": false,
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"php-cs-fixer.formatHtml": true,
"php-cs-fixer.lastDownload": 1558019930502,
"php.validate.executablePath": "/usr/local/php5-7.2.9-20180821-074958/bin/php",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[php]": {
"editor.defaultFormatter": "kokororin.vscode-phpfmt"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"python.dataScience.sendSelectionToInteractiveWindow": false,
"sync.autoUpload": true,
"sync.forceUpload": true,
"sync.quietSync": false,
"sync.gist": "564e5ca58ddfbd03db4bdffcea9d77ef",
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.views.repositories.files.layout": "tree",
"php.suggest.basic": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"autoimport.doubleQuotes": true,
"workbench.startupEditor": "newUntitledFile",
"prettier.useEditorConfig": false,
"python.languageServer": "Microsoft",
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "on",
"editor.quickSuggestions": false
},
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": "{{put-password-here}}"
}
]
}
{
// 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:
"Export Self": {
"prefix": "exportconst",
"body": [
"export const $1 = \"$1\""
],
"description": "Export self"
},
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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 json": {
"scope": "php",
"prefix": "log",
"body": [
"json_encode($1, JSON_PRETTY_PRINT);",
],
"description": "Log output to console"
}
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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:
"Form Group": {
"prefix": "vb_form_group",
"body": [
"<b-form-group",
"\t id=\"$1-fieldset\"",
"\t label=\"$2\"",
"\t ",
"\t label-for=\"$3-input\"",
"\t>",
"\t <b-form-input required id=\"$3-input\" v-model=\"$5\" trim></b-form-input>",
"\t</b-form-group>"
],
"description": "Text input form group"
},
"Form Group Number": {
"prefix": "vb_num_form_group",
"body": [
"<b-form-group",
"\t id=\"$1-fieldset\"",
"\t label=\"$2\"",
"\t ",
"\t label-for=\"$3-input\"",
"\t>",
"\t <b-form-input required type=\"number\" id=\"$3-input\" v-model=\"$5\" number></b-form-input>",
"\t</b-form-group>"
],
"description": "Number input form group"
},
"Form Group Radio": {
"prefix": "vb_radio_form_group",
"body": [
"<b-form-group label-for=\"$2-input\" label=\"$1\">",
"\t <b-form-radio-group",
"\t\tid=\"$2-input\"",
"\t\trequired",
"\t\tv-model=\"$3\"",
"\t\tname=\"$2-field\"",
"\t >",
"\t\t<b-form-radio :value=\"$4\">$5</b-form-radio>",
"\t </b-form-radio-group>",
"\t</b-form-group>",
""
],
"description": "Radio form group"
},
"Form Group Checkbox": {
"prefix": "vb_check_form_group",
"body": [
"<b-form-group label=\"$1\">",
"\t <b-form-checkbox-group id=\"$2-fieldset\" v-model=\"$3\" name=\"$2-input\">",
"\t\t<b-form-checkbox value=\"$4\">$5</b-form-checkbox>",
"\t </b-form-checkbox-group>",
"\t</b-form-group>",
""
],
"description": "Check form group"
},
"Form Group Select": {
"prefix": "vb_select_form_group",
"body": [
"<b-form-group",
"\t id=\"$1-fieldset\"",
"\t label=\"$2\"",
"\t label-for=\"$3\"",
"\t>",
"\t <b-form-select required id=\"$3\" v-model=\"$4\" class=\"mb-3\">",
"\t <option disabled :value=\"null\"> Please select one! </option>",
"\t </b-form-select>",
"\t</b-form-group>"
],
"description": "Select form group"
},
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Component Import": {
"prefix": "import",
"scope": "javascript",
"body": ["import $2 from \"$1$2\""],
"description": "shortcut for importing components by name"
},
"KeyBy": {
"scope": "javascript",
"prefix": "keyBy",
"body": [
"const keyBy = (array, key) => (array || []).reduce((r, x) => ({ ...r, [key ? x[key] : x]: x }), {});"
],
"description": "shortcut to useful JS function not built in"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment