Last active
January 29, 2022 13:56
-
-
Save marabesi/78e6334de3a27d8735e920065ccb1936 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2022-01-29T13:51:17.515Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "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": "2.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "23c4aeee-f844-43cd-b53e-1113e483f1a6", | |
"publisherId": "GitHub.copilot", | |
"publisherDisplayName": "GitHub" | |
}, | |
"name": "copilot", | |
"publisher": "GitHub", | |
"version": "1.7.4760" | |
}, | |
{ | |
"metadata": { | |
"id": "9f5a82a8-eb54-420f-9fb8-171c5405ec8a", | |
"publisherId": "MikeBovenlander.formate", | |
"publisherDisplayName": "MikeBovenlander" | |
}, | |
"name": "formate", | |
"publisher": "MikeBovenlander", | |
"version": "1.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "11.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "961c6678-1125-43a1-8482-df5a0766d313", | |
"publisherId": "tomphilbin.gruvbox-themes", | |
"publisherDisplayName": "tomphilbin" | |
}, | |
"name": "gruvbox-themes", | |
"publisher": "tomphilbin", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6edd1f7d-7d66-42ee-a32f-62c990bcfa19", | |
"publisherId": "torn4dom4n.latex-support", | |
"publisherDisplayName": "torn4dom4n" | |
}, | |
"name": "latex-support", | |
"publisher": "torn4dom4n", | |
"version": "3.10.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ff7b0247-07d3-4102-8b68-0175a12a51aa", | |
"publisherId": "SolarLiner.linux-themes", | |
"publisherDisplayName": "SolarLiner" | |
}, | |
"name": "linux-themes", | |
"publisher": "SolarLiner", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.12.1" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "3.13.17" | |
}, | |
{ | |
"metadata": { | |
"id": "4386e6f6-ec10-4463-9d23-c24278718947", | |
"publisherId": "tomoki1207.pdf", | |
"publisherDisplayName": "tomoki1207" | |
}, | |
"name": "pdf", | |
"publisher": "tomoki1207", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "651dce1f-eda8-4a5b-aa26-0d1266de8ed1", | |
"publisherId": "MehediDracula.php-namespace-resolver", | |
"publisherDisplayName": "MehediDracula" | |
}, | |
"name": "php-namespace-resolver", | |
"publisher": "MehediDracula", | |
"version": "1.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "80cd78fe-5f26-46fd-bfca-cd9b9a17329e", | |
"publisherId": "linyang95.php-symbols", | |
"publisherDisplayName": "linyang95" | |
}, | |
"name": "php-symbols", | |
"publisher": "linyang95", | |
"version": "2.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2021.12.1559732655" | |
}, | |
{ | |
"metadata": { | |
"id": "93ce222b-5f6f-49b7-9ab1-a0463c6238df", | |
"publisherId": "ms-vscode-remote.remote-containers", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-containers", | |
"publisher": "ms-vscode-remote", | |
"version": "0.209.6" | |
}, | |
{ | |
"metadata": { | |
"id": "7c1ac6ae-5273-470b-8f8f-c8adc23c6538", | |
"publisherId": "bbenoist.shell", | |
"publisherDisplayName": "bbenoist" | |
}, | |
"name": "shell", | |
"publisher": "bbenoist", | |
"version": "0.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "93334803-dee1-41b7-aa5a-963592691d0d", | |
"publisherId": "JuliaBay.spellcheck", | |
"publisherDisplayName": "JuliaBay" | |
}, | |
"name": "spellcheck", | |
"publisher": "JuliaBay", | |
"version": "1.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "b861aa84-146f-440f-b6be-76124b02b729", | |
"publisherId": "4ops.terraform", | |
"publisherDisplayName": "4ops" | |
}, | |
"name": "terraform", | |
"publisher": "4ops", | |
"version": "0.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "4a23294b-fd16-4c51-9759-da9936474cf8", | |
"publisherId": "hashicorp.terraform", | |
"publisherDisplayName": "hashicorp" | |
}, | |
"name": "terraform", | |
"publisher": "hashicorp", | |
"version": "2.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "fb374ce1-5343-46c8-a425-900fdad15523", | |
"publisherId": "wesbos.theme-cobalt2", | |
"publisherDisplayName": "wesbos" | |
}, | |
"name": "theme-cobalt2", | |
"publisher": "wesbos", | |
"version": "2.2.5" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.35.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.21.10" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b", | |
"publisherId": "sleistner.vscode-fileutils", | |
"publisherDisplayName": "sleistner" | |
}, | |
"name": "vscode-fileutils", | |
"publisher": "sleistner", | |
"version": "3.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "829a192d-496c-44ac-87f3-0a84ce36a853", | |
"publisherId": "emmanuelbeziat.vscode-great-icons", | |
"publisherDisplayName": "emmanuelbeziat" | |
}, | |
"name": "vscode-great-icons", | |
"publisher": "emmanuelbeziat", | |
"version": "2.1.82" | |
}, | |
{ | |
"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.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0", | |
"publisherId": "bmewburn.vscode-intelephense-client", | |
"publisherDisplayName": "bmewburn" | |
}, | |
"name": "vscode-intelephense-client", | |
"publisher": "bmewburn", | |
"version": "1.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7997a8ae-1fae-4022-b834-12f6318aeffd", | |
"publisherId": "Orta.vscode-jest", | |
"publisherDisplayName": "Orta" | |
}, | |
"name": "vscode-jest", | |
"publisher": "Orta", | |
"version": "4.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "13cd6cd6-3da6-4eb8-8d81-b47e6e710e59", | |
"publisherId": "firsttris.vscode-jest-runner", | |
"publisherDisplayName": "firsttris" | |
}, | |
"name": "vscode-jest-runner", | |
"publisher": "firsttris", | |
"version": "0.4.47" | |
}, | |
{ | |
"metadata": { | |
"id": "80e9cc3c-eb09-48ed-afda-f1cfd9c9ca3f", | |
"publisherId": "phproberto.vscode-php-getters-setters", | |
"publisherDisplayName": "phproberto" | |
}, | |
"name": "vscode-php-getters-setters", | |
"publisher": "phproberto", | |
"version": "1.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "364d2426-116a-433a-a5d8-a5098dc3afbd", | |
"publisherId": "ms-python.vscode-pylance", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "vscode-pylance", | |
"publisher": "ms-python", | |
"version": "2022.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3", | |
"publisherId": "WakaTime.vscode-wakatime", | |
"publisherDisplayName": "WakaTime" | |
}, | |
"name": "vscode-wakatime", | |
"publisher": "WakaTime", | |
"version": "18.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.5273" | |
} | |
] |
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
[ | |
{ | |
"key": "alt+left", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+p alt+l", | |
"command": "workbench.action.tasks.runTask", | |
"args": "phpunit:file local" | |
}, | |
{ | |
"key": "alt+p alt+u", | |
"command": "workbench.action.tasks.runTask", | |
"args": "truerev:unit" | |
}, | |
{ | |
"key": "alt+p alt+r", | |
"command": "workbench.action.tasks.runTask", | |
"args": "phpunit:file" | |
}, | |
{ | |
"key": "ctrl+b", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "ctrl+shift+/", | |
"command": "problems.action.showMultilineMessage" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
// https://stackoverflow.com/a/43206060 | |
"key": "ctrl+alt+b", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "ctrl+h ctrl+m", | |
"command": "workbench.action.toggleMenuBar" | |
} | |
] |
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
[ | |
{ | |
"key": "alt+left", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+pageup", | |
"command": "-workbench.action.previousEditor" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+pagedown", | |
"command": "-workbench.action.nextEditor" | |
}, | |
{ | |
"key": "alt+p alt+l", | |
"command": "workbench.action.tasks.runTask", | |
"args": "phpunit:file local" | |
}, | |
{ | |
"key": "alt+p alt+u", | |
"command": "workbench.action.tasks.runTask", | |
"args": "truerev:unit" | |
}, | |
{ | |
"key": "alt+p alt+r", | |
"command": "workbench.action.tasks.runTask", | |
"args": "phpunit:file" | |
}, | |
{ | |
"key": "ctrl+shift+u", | |
"command": "editor.action.transformToUppercase", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+l", | |
"command": "editor.action.transformToLowercase", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"command": "namespaceResolver.import", | |
"key": "ctrl+alt+i", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "macros.rerunCommand" | |
} | |
] |
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
{ | |
"sync.gist": "78e6334de3a27d8735e920065ccb1936", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"sync.quietSync": false, | |
"window.openFilesInNewWindow": "on", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.colorTheme": "United Ubuntu", | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"files.autoSave": "off", | |
"editor.rulers": [ | |
80 | |
], | |
"editor.lineNumbers": "relative", | |
"editor.renderWhitespace": "all", | |
"editor.tabCompletion": "on", | |
"editor.cursorStyle": "line", | |
"editor.formatOnPaste": true, | |
"editor.cursorBlinking": "smooth", | |
"git.enableSmartCommit": true, | |
"extensions.ignoreRecommendations": true, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, | |
"suppressUpdateNotice": false, | |
"suppressWelcomeNotice": true | |
}, | |
"editor.fontFamily": "JetBrainsMono Nerd Font", | |
"editor.fontLigatures": true, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.minimap.enabled": false, | |
"workbench.editor.enablePreview": false, | |
"search.useIgnoreFiles": false, | |
"window.title": "${activeEditorLong}${separator}${rootName}", | |
"explorer.openEditors.visible": 0, | |
"breadcrumbs.enabled": true, | |
"editor.fontSize": 14, | |
"namespaceResolver.showMessageOnStatusBar": true, | |
"editor.tabSize": 2, | |
"[js,html,css,ts,vue]": { | |
"editor.tabSize": 2 | |
}, | |
"[php]": { | |
"editor.tabSize": 4 | |
}, | |
"workbench.activityBar.visible": false, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
], | |
"workbench.colorCustomizations": {}, | |
"gitlens.currentLine.enabled": false, | |
"gitlens.hovers.currentLine.over": "line", | |
"gitlens.codeLens.enabled": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"vsicons.projectDetection.autoReload": true, | |
"macros": { | |
"rerunCommand": [ | |
"workbench.action.showCommands", | |
"workbench.action.acceptSelectedQuickOpenItem", | |
"workbench.action.focusPreviousGroup" | |
] | |
}, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": ["j", "j"], | |
"after": ["<Esc>"] | |
} | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<leader>", "d"], | |
"after": ["d", "d"] | |
}, | |
{ | |
"before": ["<C-n>"], | |
"commands": [":nohl"] | |
} | |
], | |
"vim.leader": "\\", | |
"vim.handleKeys": { | |
"<C-a>": false, | |
"<C-f>": false | |
}, | |
"workbench.iconTheme": "vscode-icons", | |
"terminal.integrated.shell.linux": "/usr/bin/zsh", | |
"explorer.confirmDelete": false, | |
"vsicons.dontShowNewVersionMessage": true, | |
"go.gopath": "/home/marabesi/go1.17.linux-amd64/go/bin/go", | |
"vscode-edge-devtools.mirrorEdits": true, | |
"redhat.telemetry.enabled": true, | |
"window.zoomLevel": 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// 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: | |
"New article reference": { | |
"prefix": "article", | |
"description": "Generates a reference snippet used in jekyll scholar", | |
"body": [ | |
"@article {$1,", | |
" author = \"$2\",", | |
" title = \"$3\",", | |
" url = {<a href=\"$4\" target=\"_blank\">$4</a>},", | |
" publisher = \"$5\",", | |
" urldate = \"$6\",", | |
" year = \"$7\"", | |
"}" | |
] | |
}, | |
"New book reference": { | |
"prefix": "book", | |
"description": "Generates a reference snippet used in jekyll scholar", | |
"body": [ | |
"@book {$1,", | |
" author = \"$2\",", | |
" title = \"$3\",", | |
" publisher = \"$4\",", | |
" year = \"$5\"", | |
"}" | |
] | |
}, | |
"Link to reference file": { | |
"prefix": "reference", | |
"description": "Refers to a bib reference file used in jekyll scholar", | |
"body": [ | |
"{% bibliography --cited_in_order --file $1 %}" | |
] | |
}, | |
"Citation for a given reference": { | |
"prefix": "cite", | |
"description": "Cites a bib reference in a given file", | |
"body": [ | |
"{% cite $1 --file $2 %}" | |
] | |
}, | |
"Blank jekyll post": { | |
"prefix": "jekyll_post", | |
"description": "Generates a blank post for jekyll", | |
"body": [ | |
"---", | |
"layout: post", | |
"title: $1", | |
"date: 20$2-$3-$4 01:06:05.000000000 -03:00", | |
"image: $5", | |
"table_of_contents: $6", | |
"featured_image: $7", | |
"featured_reference: $8", | |
"type: article", | |
"published: true", | |
"status: published", | |
"categories:", | |
"- $9", | |
"tags:", | |
"- $10", | |
"---", | |
"", | |
"$11", | |
] | |
}, | |
"Book link": { | |
"prefix": "book_list", | |
"description": "Generates book list item with emoji", | |
"body": [ | |
"- 📚 [$1]($2)", | |
] | |
} | |
} |
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 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" | |
// } | |
} |
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 markdown 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" | |
// } | |
"Link in a new tab": { | |
"prefix": "link_tab", | |
"description": "Inserts markdown link to open in a new browser tab", | |
"body": [ | |
"[$1]($2){:target=\"_blank\"}" | |
] | |
}, | |
"Link": { | |
"prefix": "link", | |
"description": "Inserts markdown link", | |
"body": [ | |
"[$1]($2)" | |
] | |
} | |
} |
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
{ | |
"Laravel model": { | |
"prefix": "laravel_model", | |
"body": [ | |
"<?php", | |
"", | |
"namespace App\\Models;", | |
"", | |
"use Illuminate\\Database\\Eloquent\\Model;", | |
"", | |
"class $1 extends Model", | |
"{", | |
" protected \\$table = '$2';", | |
"}", | |
"" | |
], | |
"description": "Creates a Laravel model" | |
}, | |
"PHP class": { | |
"prefix": "php_class", | |
"body": [ | |
"<?php", | |
"", | |
"namespace $1;", | |
"", | |
"class $2", | |
"{", | |
" $3", | |
"}", | |
"" | |
], | |
"description": "Creates a simple PHP class" | |
}, | |
"PHPUnit test case": { | |
"prefix": "phpunit_class_test_case", | |
"body": [ | |
"<?php", | |
"", | |
"namespace $1;", | |
"", | |
"use PHPUnit_Framework_TestCase;", | |
"", | |
"class $2 extends PHPUnit_Framework_TestCase", | |
"{", | |
" $3", | |
"}", | |
"" | |
], | |
"description": "Creates PHP class using PHPUnit" | |
}, | |
"Getter and Setter": { | |
"prefix": "php_setter_getter", | |
"body": [ | |
" public function set$1($2)", | |
" {", | |
" $this->$3 = $4", | |
" }", | |
" ", | |
" public function get$5()", | |
" {", | |
" return $this->$6", | |
" }" | |
], | |
"description": "Generates get/set skeleton" | |
}, | |
"Test method": { | |
"prefix": "php_test_method", | |
"body": [ | |
" public function test$1($2)", | |
" {", | |
" $3", | |
" }", | |
], | |
"description": "Creates a simple PHP class" | |
}, | |
"Symfony debug": { | |
"prefix": "l", | |
"body": [ | |
"ldd($1);", | |
], | |
"description": "Symfony die and dump function" | |
} | |
} |
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 TypeScript 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" | |
} | |
*/ | |
"Component class": { | |
"prefix": "comp", | |
"body": [ | |
"import { Component } from '@angular/core';", | |
"import { template } from '$1';", | |
"", | |
"@Component({", | |
"selector: '$2'", | |
"template", | |
"})", | |
"export class $3Component {", | |
"", | |
"}" | |
], | |
"description": "Creates a component class (angular2 +) to be used" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment