Last active
June 8, 2022 19:57
-
-
Save nobleach/bc2c0ce559f8d4d7fb5a5e5dce6e6ade 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":"2019-06-08T13:38:16.825Z","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": "5178733e-4b02-4829-95c5-1ce970847c23", | |
"publisherId": "teabyii.ayu", | |
"publisherDisplayName": "teabyii" | |
}, | |
"name": "ayu", | |
"publisher": "teabyii", | |
"version": "0.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085", | |
"publisherId": "bungcip.better-toml", | |
"publisherDisplayName": "bungcip" | |
}, | |
"name": "better-toml", | |
"publisher": "bungcip", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "dea063fe-7d70-4077-9b22-3aa7a2885b16", | |
"publisherId": "SirTobi.code-clip-ring", | |
"publisherDisplayName": "SirTobi" | |
}, | |
"name": "code-clip-ring", | |
"publisher": "SirTobi", | |
"version": "0.4.0" | |
}, | |
{ | |
"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": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "816d44eb-5e28-431b-be81-2c52551d81ea", | |
"publisherId": "mitchdenny.ecdc", | |
"publisherDisplayName": "mitchdenny" | |
}, | |
"name": "ecdc", | |
"publisher": "mitchdenny", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511", | |
"publisherId": "donjayamanne.githistory", | |
"publisherDisplayName": "donjayamanne" | |
}, | |
"name": "githistory", | |
"publisher": "donjayamanne", | |
"version": "0.4.6" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "9.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1dd7f786-f59f-4199-a147-fc98a56a11f2", | |
"publisherId": "naco-siren.gradle-language", | |
"publisherDisplayName": "naco-siren" | |
}, | |
"name": "gradle-language", | |
"publisher": "naco-siren", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "6c6d4703-0393-49e4-bcbe-2c01f5184522", | |
"publisherId": "andrejunges.Handlebars", | |
"publisherDisplayName": "andrejunges" | |
}, | |
"name": "Handlebars", | |
"publisher": "andrejunges", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "ec7cb798-a17f-481e-abdc-1ad5a7940a34", | |
"publisherId": "chaliy.handlebars-preview", | |
"publisherDisplayName": "chaliy" | |
}, | |
"name": "handlebars-preview", | |
"publisher": "chaliy", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "aae00486-7e92-42b3-91b0-2b419e4f3875", | |
"publisherId": "vincaslt.highlight-matching-tag", | |
"publisherDisplayName": "vincaslt" | |
}, | |
"name": "highlight-matching-tag", | |
"publisher": "vincaslt", | |
"version": "0.9.2" | |
}, | |
{ | |
"metadata": { | |
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a", | |
"publisherId": "Zignd.html-css-class-completion", | |
"publisherDisplayName": "Zignd" | |
}, | |
"name": "html-css-class-completion", | |
"publisher": "Zignd", | |
"version": "1.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b", | |
"publisherId": "oderwat.indent-rainbow", | |
"publisherDisplayName": "oderwat" | |
}, | |
"name": "indent-rainbow", | |
"publisher": "oderwat", | |
"version": "7.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4b20843f-4c02-41f5-b551-3f1bfcf2ad13", | |
"publisherId": "renatorodrigues.json-to-js", | |
"publisherDisplayName": "renatorodrigues" | |
}, | |
"name": "json-to-js", | |
"publisher": "renatorodrigues", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "cb0fe8e0-a01f-4f61-867a-0c45a5faa159", | |
"publisherId": "pcanella.marko", | |
"publisherDisplayName": "pcanella" | |
}, | |
"name": "marko", | |
"publisher": "pcanella", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "85bc67c4-dd8c-484e-9148-e86bf256d094", | |
"publisherId": "buster.marko-beautify", | |
"publisherDisplayName": "buster" | |
}, | |
"name": "marko-beautify", | |
"publisher": "buster", | |
"version": "2.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "da398f66-953d-4be6-adcd-e4344b5ccdec", | |
"publisherId": "JPTarquino.postgresql", | |
"publisherDisplayName": "JPTarquino" | |
}, | |
"name": "postgresql", | |
"publisher": "JPTarquino", | |
"version": "0.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e05d98bf-3735-4c1e-9fae-86ef0a52e19f", | |
"publisherId": "quicktype.quicktype", | |
"publisherDisplayName": "quicktype" | |
}, | |
"name": "quicktype", | |
"publisher": "quicktype", | |
"version": "12.0.46" | |
}, | |
{ | |
"metadata": { | |
"id": "7ed7bccd-f358-4c6f-88c0-1296185abaa1", | |
"publisherId": "chrmarti.regex", | |
"publisherDisplayName": "chrmarti" | |
}, | |
"name": "regex", | |
"publisher": "chrmarti", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "570e6089-b871-41df-9cf4-a723cb34ef01", | |
"publisherId": "rust-lang.rust", | |
"publisherDisplayName": "rust-lang" | |
}, | |
"name": "rust", | |
"publisher": "rust-lang", | |
"version": "0.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b5d1310e-7326-465f-8d35-3d78cd8119fd", | |
"publisherId": "buenon.scratchpads", | |
"publisherDisplayName": "buenon" | |
}, | |
"name": "scratchpads", | |
"publisher": "buenon", | |
"version": "0.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "fb374ce1-5343-46c8-a425-900fdad15523", | |
"publisherId": "wesbos.theme-cobalt2", | |
"publisherDisplayName": "wesbos" | |
}, | |
"name": "theme-cobalt2", | |
"publisher": "wesbos", | |
"version": "2.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "25209d64-18ca-4109-99d6-11f2bbb32fe5", | |
"publisherId": "juhahinkula.thymeleaf", | |
"publisherDisplayName": "juhahinkula" | |
}, | |
"name": "thymeleaf", | |
"publisher": "juhahinkula", | |
"version": "1.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "eg2.tslint", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.43" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.21.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "50810048-1465-4380-9716-6cd466f2ef8e", | |
"publisherId": "Compulim.vscode-clock", | |
"publisherDisplayName": "Compulim" | |
}, | |
"name": "vscode-clock", | |
"publisher": "Compulim", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5f362e62-15b7-4fd3-a839-3a240d18c49d", | |
"publisherId": "clinyong.vscode-css-modules", | |
"publisherDisplayName": "clinyong" | |
}, | |
"name": "vscode-css-modules", | |
"publisher": "clinyong", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "1b160753-ae5e-42bb-82ad-d115ce5c10f4", | |
"publisherId": "be5invis.vscode-custom-css", | |
"publisherDisplayName": "be5invis" | |
}, | |
"name": "vscode-custom-css", | |
"publisher": "be5invis", | |
"version": "3.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281", | |
"publisherId": "vscjava.vscode-java-debug", | |
"publisherDisplayName": "vscjava" | |
}, | |
"name": "vscode-java-debug", | |
"publisher": "vscjava", | |
"version": "0.19.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7865e561-1c83-410e-9b99-aabada597a7e", | |
"publisherId": "vscjava.vscode-java-dependency", | |
"publisherDisplayName": "vscjava" | |
}, | |
"name": "vscode-java-dependency", | |
"publisher": "vscjava", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "96f11e1f-1a46-4592-b084-f025b2c2a81f", | |
"publisherId": "vscjava.vscode-java-pack", | |
"publisherDisplayName": "vscjava" | |
}, | |
"name": "vscode-java-pack", | |
"publisher": "vscjava", | |
"version": "0.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "13cd6cd6-3da6-4eb8-8d81-b47e6e710e59", | |
"publisherId": "firsttris.vscode-jest-runner", | |
"publisherDisplayName": "firsttris" | |
}, | |
"name": "vscode-jest-runner", | |
"publisher": "firsttris", | |
"version": "0.3.5" | |
}, | |
{ | |
"metadata": { | |
"id": "063b41ed-e525-444c-b347-798851c8e5de", | |
"publisherId": "berublan.vscode-log-viewer", | |
"publisherDisplayName": "berublan" | |
}, | |
"name": "vscode-log-viewer", | |
"publisher": "berublan", | |
"version": "0.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b0f06c6b-24fb-4d7b-bd79-bc5e2fa17312", | |
"publisherId": "vscjava.vscode-maven", | |
"publisherDisplayName": "vscjava" | |
}, | |
"name": "vscode-maven", | |
"publisher": "vscjava", | |
"version": "0.17.0" | |
}, | |
{ | |
"metadata": { | |
"id": "cea424e5-593f-4e56-ae72-9d0abb62b700", | |
"publisherId": "ipatalas.vscode-postfix-ts", | |
"publisherDisplayName": "ipatalas" | |
}, | |
"name": "vscode-postfix-ts", | |
"publisher": "ipatalas", | |
"version": "1.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "329c28a8-a1f5-41d6-be82-f643a45eed5d", | |
"publisherId": "sjhuangx.vscode-scheme", | |
"publisherDisplayName": "sjhuangx" | |
}, | |
"name": "vscode-scheme", | |
"publisher": "sjhuangx", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0efda145-8595-4ff7-98ef-1e3abc5e5757", | |
"publisherId": "Pivotal.vscode-spring-boot", | |
"publisherDisplayName": "Pivotal" | |
}, | |
"name": "vscode-spring-boot", | |
"publisher": "Pivotal", | |
"version": "1.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a205ad34-542b-4c67-a9ed-f645103ad9c0", | |
"publisherId": "vscjava.vscode-spring-initializr", | |
"publisherDisplayName": "vscjava" | |
}, | |
"name": "vscode-spring-initializr", | |
"publisher": "vscjava", | |
"version": "0.4.5" | |
}, | |
{ | |
"metadata": { | |
"id": "b476195a-5d3b-4a10-af0b-3d94f9c9f924", | |
"publisherId": "yatki.vscode-surround", | |
"publisherDisplayName": "yatki" | |
}, | |
"name": "vscode-surround", | |
"publisher": "yatki", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "ff96f1b4-a4b8-45ef-8ecf-c232c0cb75c8", | |
"publisherId": "hbenl.vscode-test-explorer", | |
"publisherDisplayName": "hbenl" | |
}, | |
"name": "vscode-test-explorer", | |
"publisher": "hbenl", | |
"version": "2.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8d088af2-ecd1-4b8f-93e9-322125c47b3c", | |
"publisherId": "BriteSnow.vscode-toggle-quotes", | |
"publisherDisplayName": "BriteSnow" | |
}, | |
"name": "vscode-toggle-quotes", | |
"publisher": "BriteSnow", | |
"version": "0.3.2" | |
}, | |
{ | |
"metadata": { | |
"id": "2061917f-f76a-458a-8da9-f162de22b97e", | |
"publisherId": "redhat.vscode-yaml", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "vscode-yaml", | |
"publisher": "redhat", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444", | |
"publisherId": "VisualStudioExptTeam.vscodeintellicode", | |
"publisherDisplayName": "VisualStudioExptTeam" | |
}, | |
"name": "vscodeintellicode", | |
"publisher": "VisualStudioExptTeam", | |
"version": "1.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.337" | |
} | |
] |
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 key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.view.explorer", | |
"when": "!suggestWidgetVisible && !inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.action.toggleSidebarVisibility", | |
"when": "explorerViewletVisible && filesExplorerFocus" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "left", | |
"command": "workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "right", | |
"command": "workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen", | |
"when": "!suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-cursorDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "f1", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
} | |
] |
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 key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "shift+cmd+e", | |
"command": "-workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.view.explorer", | |
"when": "!suggestWidgetVisible && !inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "workbench.action.toggleSidebarVisibility", | |
"when": "explorerViewletVisible && filesExplorerFocus" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "-editor.action.moveLinesUpAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+down", | |
"command": "-editor.action.moveLinesDownAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "left", | |
"command": "workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "right", | |
"command": "workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "shift+cmd+p", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "ctrl+p", | |
"command": "workbench.action.quickOpen", | |
"when": "!suggestWidgetVisible" | |
}, | |
{ | |
"key": "cmd+p", | |
"command": "-workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-cursorDown", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "f1", | |
"command": "-workbench.action.showCommands" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "editor.action.referenceSearch.trigger", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "shift+f12", | |
"command": "-editor.action.referenceSearch.trigger", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
} | |
] |
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
{ | |
"vim.leader": "<space>", | |
"vim.statusBarColorControl": true, | |
"vim.statusBarColors": { | |
"normal": ["#007BFF", "#000"], | |
"insert": ["#859900", "#000"], | |
"visual": ["#d33581", "#FFF"], | |
"visualline": ["#d33581", "#FFF"], | |
"visualblock": ["#d33581", "#FFF"], | |
"replace": "#FF00AE" | |
}, | |
"vim.easymotion": false, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": ["j","k"], | |
"after": ["<Esc>"] | |
} | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<leader>", "g"], | |
"commands": [ | |
"workbench.view.scm" | |
] | |
}, | |
{ | |
"before": ["<leader>", "h"], | |
"commands": [ | |
"workbench.action.navigateLeft" | |
] | |
}, | |
{ | |
"before": ["<leader>", "l"], | |
"commands": [ | |
"workbench.action.navigateRight" | |
] | |
}, | |
{ | |
"before": ["<leader>", "p"], | |
"commands": [ | |
"workbench.action.showCommands" | |
] | |
}, | |
{ | |
"before": ["]"], | |
"commands": [ | |
"editor.action.marker.nextInFiles" | |
] | |
}, | |
{ | |
"before": ["["], | |
"commands": [ | |
"editor.action.marker.prevInFiles" | |
] | |
}, | |
{ | |
"before": ["g", "m"], | |
"commands": [ | |
"editor.emmet.action.matchTag" | |
] | |
}, | |
{ | |
"before": ["<leader>", "<space>"], | |
"after": ["V"] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"'" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "workbench.action.terminal.toggleTerminal", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"f" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "workbench.action.findInFiles", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"e", | |
"l" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "workbench.actions.view.problems", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"c", | |
"f" | |
], | |
"after": [], | |
"commands": [ | |
{ | |
"command": "workbench.action.closeFolder", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"r" | |
], | |
"commands": [ | |
{ | |
"command": "code-runner.run", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"u" | |
], | |
"commands": [ | |
{ | |
"command": "editor.action.referenceSearch.trigger", | |
"args": [] | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"d" | |
], | |
"commands": [ | |
{ | |
"command": "editor.action.peekDefinition", | |
"args": [] | |
} | |
] | |
} | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{ | |
"before": ["<leader>", "<space>"], | |
"after": ["<esc>"] | |
}, | |
{ | |
"before": ["g", "m"], | |
"after": ["editor.emmet.action.matchTag"] | |
}, | |
], | |
"vim.handleKeys":{ | |
"<C-a>": false, | |
"<C-f>": false | |
}, | |
"vim.neovimPath": "/usr/bin/nvim", | |
"logViewer.watch": [ | |
{ | |
"title": "Integration Tests", | |
"pattern": "./it.log", | |
"options": { | |
"fileCheckInterval": 200 | |
} | |
} | |
], | |
"logViewer.showStatusBarItemOnChange": true, | |
"elixirLS.dialyzerEnabled": false, | |
"search.location": "panel", | |
"telemetry.enableTelemetry": false, | |
"editor.minimap.enabled": false, | |
"editor.fontLigatures": true, | |
"workbench.colorTheme": "Cobalt2", | |
"editor.rulers": [80,120], | |
"window.zoomLevel": 0, | |
"gitlens.codeLens.enabled": false, | |
"gitlens.currentLine.enabled": false, | |
"gitlens.hovers.currentLine.over": "line", | |
"gitlens.statusBar.enabled": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"gitlens.keymap": "none", | |
"gitlens.historyExplorer.enabled": true, | |
"rust.rustup": { | |
"toolchain": "stable-x86_64-apple-darwin", | |
"nightlyToolchain": "nightly-x86_64-apple-darwin" | |
}, | |
"rust.mode": "rls", | |
"rust.rls": { | |
"useRustfmt": true | |
}, | |
"java.home": "/home/jim/.sdkman/candidates/java/current", | |
"java.implementationsCodeLens.enabled": true, | |
"sync.gist": "bc2c0ce559f8d4d7fb5a5e5dce6e6ade", | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastUpload": "2018-08-19T01:24:54.716Z", | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"workbench.activityBar.visible": true, | |
"workbench.statusBar.feedback.visible": false, | |
"workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.tips.enabled": false, | |
"workbench.colorCustomizations": { | |
"statusBar.background": "#007BFF", | |
"statusBar.noFolderBackground": "#007BFF", | |
"statusBar.debuggingBackground": "#007BFF", | |
"statusBar.foreground": "#000" | |
}, | |
"editor.tabSize": 2, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"extensions.ignoreRecommendations": false, | |
"vim.enableNeovim": true, | |
"gitlens.views.fileHistory.enabled": true, | |
"gitlens.views.lineHistory.enabled": true, | |
"explorer.confirmDelete": false, | |
"vs-kubernetes": { | |
"vs-kubernetes.helm-path": "/Users/jimwharton/.vs-kubernetes/tools/helm/darwin-amd64/helm", | |
"vs-kubernetes.draft-path": "/Users/jimwharton/.vs-kubernetes/tools/draft/darwin-amd64/draft", | |
"vs-kubernetes.minikube-path": "/Users/jimwharton/.vs-kubernetes/tools/minikube/darwin-amd64/minikube" | |
}, | |
"editor.fontFamily": "'Operator Mono Book', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 16, | |
"files.trimTrailingWhitespace": true, | |
"workbench.statusBar.visible": true, | |
"workbench.list.keyboardNavigation": "simple", | |
"terminal.integrated.rendererType": "dom", | |
"files.exclude": { | |
"**/.classpath": true, | |
"**/.project": true, | |
"**/.settings": true, | |
"**/.factorypath": true | |
}, | |
"editor.suggestSelection": "first", | |
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", | |
"terminal.external.osxExec": "iTerm.app" | |
} |
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: | |
// "Print to console": { | |
// "scope": "javascript,typescript", | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"Render React Component Test": { | |
"scope": "javascript,jsx,html,react", | |
"prefix": "rrct", | |
"body": "import React from 'react';\nimport { shallow } from 'enzyme';\nimport { $1 } from './$1';\n\ndescribe('$1', () => {\n\tit('should render null when $1 is not supposed to render', () => {\n\t\tconst wrapper = shallow(<$1 ${2:shouldShowComponentVar}={false} />);\n\t\texpect(wrapper.type()).toEqual(null);\n\t});\n\n\tit('description', () => {\n\t\tconst wrapper = shallow(<$1 ${2:shouldShowComponentVar}={true} />);\n\t\texpect(wrapper.find('.className').length).toEqual(1);\n\t});\n});\n", | |
"description": "Render React Component Test" | |
}, | |
"Create Reducer": { | |
"scope": "javascript,jsx,html, react", | |
"prefix": "red", | |
"body": "export function ${1:entity}Reducer(state = {}, action = {}) {\n\tswitch (action.type) {\n\t\tcase ${2:ACTION}: {\n\t\t\treturn state;\n\t\t}\n\n\t\tdefault:\n\t\t\treturn state;\n\t}\n}", | |
"description": "Create Reducer" | |
}, | |
"create selector": { | |
"scope": "javascript,jsx,html, react", | |
"prefix": "csel", | |
"body": "export const ${1:name} = createSelector(\n);", | |
"description": "create selector" | |
}, | |
"get state selector": { | |
"scope": "javascript,jsx,html, react", | |
"prefix": "gs", | |
"body": "const $1 = get${1/(.)(.*)/\\u$1$2/}(state);", | |
"description": "get state selector" | |
}, | |
"Describe Simple Selector": { | |
"scope": "javascript,jsx,html, react", | |
"prefix": "dss", | |
"body": "describeSimpleSelector('$1', $1, '$2');", | |
"description": "Describe Simple Selector" | |
}, | |
"PropTypes.bool": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "pb", | |
"body": "PropTypes.bool", | |
"description": "PropTypes.bool" | |
}, | |
"PropTypes.func": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "pf", | |
"body": "PropTypes.func", | |
"description": "PropTypes.func" | |
}, | |
"PropTypes.number": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "pn", | |
"body": "PropTypes.number", | |
"description": "PropTypes.number" | |
}, | |
"PropTypes.array": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "pa", | |
"body": "PropTypes.array", | |
"description": "PropTypes.array" | |
}, | |
"Proptypes.string": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "ps", | |
"body": "PropTypes.string", | |
"description": "Proptypes.string" | |
}, | |
"Proptypes.object": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "po", | |
"body": "PropTypes.object", | |
"description": "Proptypes.object" | |
}, | |
"JSX className interpolated": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "cn", | |
"body": "className={$1}", | |
"description": "JSX className interpolated" | |
}, | |
"Style module class": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "jc", | |
"body": "styles['$1']", | |
"description": "Style module class" | |
}, | |
"Style module interpolated": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "jic", | |
"body": "${styles['$1']}", | |
"description": "Style module interpolated" | |
}, | |
"React Classy Component": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "rcc", | |
"body": "class ${1:ClassName} extends Component {\n\tconstructor(props) {}\n}\n\nexport default $1;", | |
"description": "React Classy Component" | |
}, | |
"Stateless Functional Component": { | |
"prefix": "sfc", | |
"body": [ | |
"const ${1:ComponentName} = () => {", | |
" return (", | |
" <div />", | |
" );", | |
"}", | |
"", | |
"$1.propTypes = {};", | |
"", | |
"$export default $1;" | |
], | |
"description": "Stateless Functional Component" | |
}, | |
"Import Non-default": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "imn", | |
"body": "import {\n\t$1\n} from '$0';", | |
"description": "Import Non-default" | |
}, | |
"Export async function": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "eaf", | |
"body": "export async function ${1:functionName}($2) {\n}", | |
"description": "Export async function" | |
}, | |
"Import React": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "imr", | |
"body": "import React from 'react';", | |
"description": "Import React" | |
}, | |
"Import React with Component": { | |
"scope": "javascript,jsx,html,react", | |
"prefix": "impc", | |
"body": "import React, { Component } from 'react';", | |
"description": "Import React with Component" | |
}, | |
"Import React with Component/Fragment": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "impcf", | |
"body": "import React, { Component, Fragment } from 'react';", | |
"description": "Import React with Component/Fragment" | |
}, | |
"Import CSS Modules styles": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "styl", | |
"body": "import styles from '$1';", | |
"description": "Import CSS Modules styles" | |
}, | |
"Register Action": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "ra", | |
"body": "export const ${1:ACTION} = register('$1');", | |
"description": "Register Action" | |
}, | |
"Register Load Actions": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "rla", | |
"body": "export const ${1:ACTION}_LOAD = register('$1_LOAD');\nexport const $1_LOAD_FAILURE = register('$1_LOAD_FAILURE');\nexport const $1_LOAD_SUCCESS = register('$1_LOAD_SUCCESS');", | |
"description": "Register Load Actions" | |
}, | |
"Action Creator": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "act", | |
"body": "export function ${1:name}() {\n\treturn {\n\t\ttype: ${2:action}\n\t};\n}", | |
"description": "Action Creator" | |
}, | |
"Eslint Disable": { | |
"prefix": "esd", | |
"body": "/* eslint-disable */\n/* eslint-enable */", | |
"description": "Eslint Disable" | |
}, | |
"Fragment": { | |
"prefix": "fr", | |
"body": "<Fragment>$1</Fragment>", | |
"description": "Fragment" | |
}, | |
"Map State To Props": { | |
"prefix": "msp", | |
"body": "function mapStateToProps(state) {\n return {};\n}", | |
"description": "Map State To Props" | |
}, | |
"Export Connected Component": { | |
"prefix": "edc", | |
"body": "export default connect(mapStateToProps, mapDispatchToProps)($1);", | |
"description": "Export Connected Component" | |
}, | |
"GenericErrorBoundary": { | |
"prefix": "geb", | |
"body": "<GenericErrorBoundary>\n\t$1\n</GenericErrorBoundary>", | |
"description": "GenericErrorBoundary" | |
}, | |
"Reflect Attribute": { | |
"scope": "javascript, jsx, html, react", | |
"prefix": "refa", | |
"body": "${1:prop}={this.props.$1}", | |
"description": "Reflect Attribute" | |
} | |
} |
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
{ | |
"expect.assertions": { | |
"prefix": "ea", | |
"body": "expect.assertions($1);", | |
"description": "Expect Assertions" | |
}, | |
"beforeEach": { | |
"prefix": "be", | |
"body": "beforeEach(() => {\n});", | |
"description": "beforeEach" | |
}, | |
"describe lambda": { | |
"prefix": "des", | |
"body": "describe('${1:description}', () => {\n});", | |
"description": "describe lambda" | |
}, | |
"it lambda": { | |
"prefix": "it", | |
"body": "it('${1:description}', () => {\n});", | |
"description": "it lambda" | |
}, | |
"async test lambda": { | |
"prefix": "ate", | |
"body": "test('${1:description}', async () => {\n});", | |
"description": "async test lambda" | |
}, | |
"toEqual": { | |
"prefix": "te", | |
"body": ".toEqual($1);", | |
"description": "toEqual" | |
}, | |
"Sinon stub": { | |
"prefix": "ss", | |
"body": "sinon.stub()", | |
"description": "Sinon stub" | |
}, | |
"Sinon stub with returns": { | |
"prefix": "ssr", | |
"body": "sinon.stub()\n\t.returns($1);", | |
"description": "Sinon stub with returns" | |
}, | |
"Cypress get class^=": { | |
"prefix": "cgc", | |
"body": "cy.get('[class^=$1]')", | |
"description": "Cypress get class^=" | |
}, | |
"Cypress get data-cy=": { | |
"prefix": "cdg", | |
"body": "cy.get('[data-cy=$1]')", | |
"description": "Cypress get data-cy=" | |
}, | |
"Cypress should callback": { | |
"prefix": "csnc", | |
"body": ".should($node => {\n\texpect($node)$1\n});", | |
"description": "Cypress should callback" | |
}, | |
"FeatureFlag": { | |
"prefix": "ff", | |
"body": "<FeatureFlag\n\tdescription=\"\"\n\tflagConfig=\"\"\n\tsiteTestName=\"\"\n\t${1:skipReport}\n>\n\t<FeatureVariant variant={'$2'}>\n\t</FeatureVariant>\n</FeatureFlag>", | |
"description": "FeatureFlag" | |
}, | |
"AboveTheFoldOnlyServerRender": { | |
"prefix": "abv", | |
"body": "<AboveTheFoldOnlyServerRender skip>\n\t$1\n</AboveTheFoldOnlyServerRender>", | |
"description": "AboveTheFoldOnlyServerRender" | |
}, | |
"Andrew Style Log": { | |
"prefix": "asl", | |
"body": "console.log(`\n\n\n\n\n$1\n\n\n\n`, $2);", | |
"description": "Andrew Style Log" | |
}, | |
"Jim Style Log": { | |
"prefix": "jsl", | |
"body": "console.log('$1', $1);", | |
"description": "Jim Style Log" | |
}, | |
"Console Log": { | |
"prefix": "cl", | |
"body": "console.log($1);", | |
"description": "Console Log" | |
}, | |
"Try/Catch (no Finally)": { | |
"prefix": "tc", | |
"body": "try {\n} catch (e) {\n}", | |
"description": "Try/Catch (no Finally)" | |
} | |
} |
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" | |
// } | |
"beforeEach": { | |
"prefix": "be", | |
"body": "beforeEach(() => {\n});", | |
"description": "beforeEach" | |
}, | |
"describe lambda": { | |
"prefix": "des", | |
"body": "describe('${1:description}', () => {\n});", | |
"description": "describe lambda" | |
}, | |
"it lambda": { | |
"prefix": "it", | |
"body": "it('${1:description}', () => {\n});", | |
"description": "it lambda" | |
}, | |
"async test lambda": { | |
"prefix": "ate", | |
"body": "test('${1:description}', async () => {\n});", | |
"description": "async test lambda" | |
}, | |
"toEqual": { | |
"prefix": "te", | |
"body": ".toEqual($1);", | |
"description": "toEqual" | |
}, | |
"Sinon stub": { | |
"prefix": "ss", | |
"body": "sinon.stub()", | |
"description": "Sinon stub" | |
}, | |
"Sinon stub with returns": { | |
"prefix": "ssr", | |
"body": "sinon.stub()\n\t.returns($1);", | |
"description": "Sinon stub with returns" | |
}, | |
"Cypress get class^=": { | |
"prefix": "cgc", | |
"body": "cy.get('[class^=$1]')", | |
"description": "Cypress get class^=" | |
}, | |
"Cypress get data-cy=": { | |
"prefix": "cdg", | |
"body": "cy.get('[data-cy=$1]')", | |
"description": "Cypress get data-cy=" | |
}, | |
"Cypress should callback": { | |
"prefix": "csnc", | |
"body": ".should($node => {\n\texpect($node)$1\n});", | |
"description": "Cypress should callback" | |
}, | |
"Render React Component Test": { | |
"prefix": "rrct", | |
"body": "import React from 'react';\nimport { shallow } from 'enzyme';\nimport { $1 } from './$1';\n\ndescribe('$1', () => {\n\tit('should render null when $1 is not supposed to render', () => {\n\t\tconst wrapper = shallow(<$1 ${2:shouldShowComponentVar}={false} />);\n\t\texpect(wrapper.type()).toEqual(null);\n\t});\n\n\tit('description', () => {\n\t\tconst wrapper = shallow(<$1 ${2:shouldShowComponentVar}={true} />);\n\t\texpect(wrapper.find('.className').length).toEqual(1);\n\t});\n});\n", | |
"description": "Render React Component Test" | |
}, | |
"Create Reducer": { | |
"prefix": "red", | |
"body": "export function ${1:entity}Reducer(state = {}, action = {}) {\n\tswitch (action.type) {\n\t\tcase ${2:ACTION}: {\n\t\t\treturn state;\n\t\t}\n\n\t\tdefault:\n\t\t\treturn state;\n\t}\n}", | |
"description": "Create Reducer" | |
}, | |
"create selector": { | |
"prefix": "csel", | |
"body": "export const ${1:name} = createSelector(\n);", | |
"description": "create selector" | |
}, | |
"get state selector": { | |
"prefix": "gs", | |
"body": "const $1 = get${1/(.)(.*)/\\u$1$2/}(state);", | |
"description": "get state selector" | |
}, | |
"Describe Simple Selector": { | |
"prefix": "dss", | |
"body": "describeSimpleSelector('$1', $1, '$2');", | |
"description": "Describe Simple Selector" | |
}, | |
"PropTypes.bool": { | |
"prefix": "pb", | |
"body": "PropTypes.bool", | |
"description": "PropTypes.bool" | |
}, | |
"PropTypes.func": { | |
"prefix": "pf", | |
"body": "PropTypes.func", | |
"description": "PropTypes.func" | |
}, | |
"PropTypes.number": { | |
"prefix": "pn", | |
"body": "PropTypes.number", | |
"description": "PropTypes.number" | |
}, | |
"PropTypes.array": { | |
"prefix": "pa", | |
"body": "PropTypes.array", | |
"description": "PropTypes.array" | |
}, | |
"Proptypes.string": { | |
"prefix": "ps", | |
"body": "PropTypes.string", | |
"description": "Proptypes.string" | |
}, | |
"Proptypes.object": { | |
"prefix": "po", | |
"body": "PropTypes.object", | |
"description": "Proptypes.object" | |
}, | |
"JSX className interpolated": { | |
"prefix": "cn", | |
"body": "className={$1}", | |
"description": "JSX className interpolated" | |
}, | |
"Style module class": { | |
"prefix": "jc", | |
"body": "styles['$1']", | |
"description": "Style module class" | |
}, | |
"Style module interpolated": { | |
"prefix": "jic", | |
"body": "${styles['$1']}", | |
"description": "Style module interpolated" | |
}, | |
"React Classy Component": { | |
"prefix": "rcc", | |
"body": "class ${1:ClassName} extends Component {\n\tconstructor(props) {}\n}\n\nexport default $1;", | |
"description": "React Classy Component" | |
}, | |
"Stateless Functional Component": { | |
"prefix": "sfc", | |
"body": "const ${1:name} = () => {\n\treturn (\n\t\t<div />\n\t);\n};\n\n$1.propTypes = {};\n\nexport default $1;", | |
"description": "Stateless Functional Component" | |
}, | |
"Import Non-default": { | |
"prefix": "imn", | |
"body": "import {\n\t$1\n} from '$0';", | |
"description": "Import Non-default" | |
}, | |
"Export async function": { | |
"prefix": "eaf", | |
"body": "export async function ${1:functionName}($2) {\n}", | |
"description": "Export async function" | |
}, | |
"Import React": { | |
"prefix": "imr", | |
"body": "import React from 'react';", | |
"description": "Import React" | |
}, | |
"Import React with Component": { | |
"prefix": "impc", | |
"body": "import React, { Component } from 'react';", | |
"description": "Import React with Component" | |
}, | |
"Import React with Component/Fragment": { | |
"prefix": "impcf", | |
"body": "import React, { Component, Fragment } from 'react';", | |
"description": "Import React with Component/Fragment" | |
}, | |
"Import CSS Modules styles": { | |
"prefix": "styl", | |
"body": "import styles from '$1';", | |
"description": "Import CSS Modules styles" | |
}, | |
"Register Action": { | |
"prefix": "ra", | |
"body": "export const ${1:ACTION} = register('$1');", | |
"description": "Register Action" | |
}, | |
"Register Load Actions": { | |
"prefix": "rla", | |
"body": "export const ${1:ACTION}_LOAD = register('$1_LOAD');\nexport const $1_LOAD_FAILURE = register('$1_LOAD_FAILURE');\nexport const $1_LOAD_SUCCESS = register('$1_LOAD_SUCCESS');", | |
"description": "Register Load Actions" | |
}, | |
"Action Creator": { | |
"prefix": "act", | |
"body": "export function ${1:name}() {\n\treturn {\n\t\ttype: ${2:action}\n\t};\n}", | |
"description": "Action Creator" | |
}, | |
"Reflect Attribute": { | |
"prefix": "refa", | |
"body": "${1:prop}={this.props.$1}", | |
"description": "Reflect Attribute" | |
}, | |
"FeatureFlag": { | |
"prefix": "ff", | |
"body": "<FeatureFlag\n\tdescription=\"\"\n\tflagConfig=\"\"\n\tsiteTestName=\"\"\n\t${1:skipReport}\n>\n\t<FeatureVariant variant={'$2'}>\n\t</FeatureVariant>\n</FeatureFlag>", | |
"description": "FeatureFlag" | |
}, | |
"AboveTheFoldOnlyServerRender": { | |
"prefix": "abv", | |
"body": "<AboveTheFoldOnlyServerRender skip>\n\t$1\n</AboveTheFoldOnlyServerRender>", | |
"description": "AboveTheFoldOnlyServerRender" | |
}, | |
"GenericErrorBoundary": { | |
"prefix": "geb", | |
"body": "<GenericErrorBoundary>\n\t$1\n</GenericErrorBoundary>", | |
"description": "GenericErrorBoundary" | |
}, | |
"TSlint Disable": { | |
"prefix": "tsd", | |
"body": "/* tslint:disable */\n/* tslint:enable */", | |
"description": "TSlint Disable" | |
}, | |
"TSlint Disable line": { | |
"prefix": "tsl", | |
"body": "// tslint:disable-line", | |
"description": "TSlint disable current line" | |
}, | |
"Fragment": { | |
"prefix": "fr", | |
"body": "<Fragment>$1</Fragment>", | |
"description": "Fragment" | |
}, | |
"Map State To Props": { | |
"prefix": "msp", | |
"body": "function mapStateToProps(state) {\n\n return {};\n}", | |
"description": "Map State To Props" | |
}, | |
"Export Connected Component": { | |
"prefix": "edc", | |
"body": "export default connect(mapStateToProps, mapDispatchToProps)($1);", | |
"description": "Export Connected Component" | |
}, | |
"Andrew Style Log": { | |
"prefix": "asl", | |
"body": "console.log(`\n\n\n\n\n$1\n\n\n\n`, $2);", | |
"description": "Andrew Style Log" | |
}, | |
"Jim Style Log": { | |
"prefix": "jsl", | |
"body": "console.log('$1', $1);", | |
"description": "Jim Style Log" | |
}, | |
"Console Log": { | |
"prefix": "cl", | |
"body": "console.log($1);", | |
"description": "Console Log" | |
}, | |
"Try/Catch (no Finally)": { | |
"prefix": "tc", | |
"body": "try {\n} catch (e) {\n}", | |
"description": "Try/Catch (no Finally)" | |
}, | |
"if ()": { | |
"prefix": "if", | |
"body": "if () {\n}", | |
"description": "if ()" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment