-
-
Save AhmedAbdulrahman/211ac9f31d46cf7d8cebe762dd3ee4dc to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains 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":"2020-03-27T14:41:24.609Z","extensionVersion":"v3.4.3"} |
This file contains 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": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.6" | |
}, | |
{ | |
"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": "22635d8d-e95e-4703-9e3b-2e181934bd05", | |
"publisherId": "AhmedAbdulrahman.aylin", | |
"publisherDisplayName": "AhmedAbdulrahman" | |
}, | |
"name": "aylin", | |
"publisher": "AhmedAbdulrahman", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc", | |
"publisherId": "alefragnani.Bookmarks", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "Bookmarks", | |
"publisher": "alefragnani", | |
"version": "11.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.9.16" | |
}, | |
{ | |
"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": "121396ad-85a1-45ec-9fd1-d95028a847f5", | |
"publisherId": "naumovs.color-highlight", | |
"publisherDisplayName": "naumovs" | |
}, | |
"name": "color-highlight", | |
"publisher": "naumovs", | |
"version": "2.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "391319ff-5ddc-483e-b164-8f8847b72172", | |
"publisherId": "paulmolluzzo.convert-css-in-js", | |
"publisherDisplayName": "paulmolluzzo" | |
}, | |
"name": "convert-css-in-js", | |
"publisher": "paulmolluzzo", | |
"version": "1.1.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": "780dc8c6-3830-4524-9522-e643ca283f8f", | |
"publisherId": "ritwickdey.create-file-folder", | |
"publisherDisplayName": "ritwickdey" | |
}, | |
"name": "create-file-folder", | |
"publisher": "ritwickdey", | |
"version": "0.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "c137ee2d-7a42-4267-b3b0-d8a48a55f90a", | |
"publisherId": "infarkt.css-to-jss", | |
"publisherDisplayName": "infarkt" | |
}, | |
"name": "css-to-jss", | |
"publisher": "infarkt", | |
"version": "1.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b2e38b45-9774-4972-950d-5d5d0844263b", | |
"publisherId": "tariky.easy-snippet-maker", | |
"publisherDisplayName": "tariky" | |
}, | |
"name": "easy-snippet-maker", | |
"publisher": "tariky", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588", | |
"publisherId": "EditorConfig.EditorConfig", | |
"publisherDisplayName": "EditorConfig" | |
}, | |
"name": "EditorConfig", | |
"publisher": "EditorConfig", | |
"version": "0.14.4" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.1" | |
}, | |
{ | |
"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": "be992f3f-9f22-4b66-a1d2-ecad04c28a28", | |
"publisherId": "abusaidm.html-snippets", | |
"publisherDisplayName": "abusaidm" | |
}, | |
"name": "html-snippets", | |
"publisher": "abusaidm", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "fcbdb08e-4048-40e8-a674-fecc476f4b93", | |
"publisherId": "SirTori.indenticator", | |
"publisherDisplayName": "SirTori" | |
}, | |
"name": "indenticator", | |
"publisher": "SirTori", | |
"version": "0.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "236ff452-49f5-47a4-8928-ab18f5b9c7bf", | |
"publisherId": "eriklynd.json-tools", | |
"publisherDisplayName": "eriklynd" | |
}, | |
"name": "json-tools", | |
"publisher": "eriklynd", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "68464f0b-8ce5-408e-bed6-4c13209b254a", | |
"publisherId": "mrorz.language-gettext", | |
"publisherDisplayName": "mrorz" | |
}, | |
"name": "language-gettext", | |
"publisher": "mrorz", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "a96acff8-5197-43a6-b07c-d4d178558e56", | |
"publisherId": "neilding.language-liquid", | |
"publisherDisplayName": "neilding" | |
}, | |
"name": "language-liquid", | |
"publisher": "neilding", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "489abeb0-400c-4a08-bde4-cf5d9b863a32", | |
"publisherId": "Tyriar.lorem-ipsum", | |
"publisherDisplayName": "Tyriar" | |
}, | |
"name": "lorem-ipsum", | |
"publisher": "Tyriar", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "98790d67-10fa-497c-9113-f6c7489207b2", | |
"publisherId": "yzhang.markdown-all-in-one", | |
"publisherDisplayName": "yzhang" | |
}, | |
"name": "markdown-all-in-one", | |
"publisher": "yzhang", | |
"version": "2.7.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ef2a5b38-02c4-4193-8561-1f072c209474", | |
"publisherId": "silvenon.mdx", | |
"publisherDisplayName": "silvenon" | |
}, | |
"name": "mdx", | |
"publisher": "silvenon", | |
"version": "0.1.0" | |
}, | |
{ | |
"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": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "christian-kohler.path-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d80b9a94-f4a6-4e39-bc42-62212e365682", | |
"publisherId": "pnp.polacode", | |
"publisherDisplayName": "pnp" | |
}, | |
"name": "polacode", | |
"publisher": "pnp", | |
"version": "0.3.4" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "3.20.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2020.2.64397" | |
}, | |
{ | |
"metadata": { | |
"id": "b5bd2855-8c9a-4faf-b6ae-18f163b1418f", | |
"publisherId": "angryobject.react-pure-to-class-vscode", | |
"publisherDisplayName": "angryobject" | |
}, | |
"name": "react-pure-to-class-vscode", | |
"publisher": "angryobject", | |
"version": "1.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "00518570-772b-4ccb-8b06-d056f3f556e0", | |
"publisherId": "Tyriar.sort-lines", | |
"publisherDisplayName": "Tyriar" | |
}, | |
"name": "sort-lines", | |
"publisher": "Tyriar", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f5d7ffda-c1d6-4070-ba80-803c705a1ee6", | |
"publisherId": "monokai.theme-monokai-pro-vscode", | |
"publisherDisplayName": "monokai" | |
}, | |
"name": "theme-monokai-pro-vscode", | |
"publisher": "monokai", | |
"version": "1.1.15" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.13.1" | |
}, | |
{ | |
"metadata": { | |
"id": "445ba381-f232-4150-9056-d790bd76d698", | |
"publisherId": "kamikillerto.vscode-colorize", | |
"publisherDisplayName": "kamikillerto" | |
}, | |
"name": "vscode-colorize", | |
"publisher": "kamikillerto", | |
"version": "0.8.16" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b", | |
"publisherId": "sleistner.vscode-fileutils", | |
"publisherDisplayName": "sleistner" | |
}, | |
"name": "vscode-fileutils", | |
"publisher": "sleistner", | |
"version": "3.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "c46b0018-f317-4b6c-a785-d2039b27338f", | |
"publisherId": "wix.vscode-import-cost", | |
"publisherDisplayName": "wix" | |
}, | |
"name": "vscode-import-cost", | |
"publisher": "wix", | |
"version": "2.12.0" | |
}, | |
{ | |
"metadata": { | |
"id": "39cefc2f-0175-44db-91f8-fe3230b4c3a1", | |
"publisherId": "killalau.vscode-liquid-snippets", | |
"publisherDisplayName": "killalau" | |
}, | |
"name": "vscode-liquid-snippets", | |
"publisher": "killalau", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757", | |
"publisherId": "eg2.vscode-npm-script", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "vscode-npm-script", | |
"publisher": "eg2", | |
"version": "0.3.11" | |
}, | |
{ | |
"metadata": { | |
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db", | |
"publisherId": "cssho.vscode-svgviewer", | |
"publisherDisplayName": "cssho" | |
}, | |
"name": "vscode-svgviewer", | |
"publisher": "cssho", | |
"version": "2.0.0" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains 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": "cmd+right", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+left", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "Space w", | |
"command": "workbench.action.files.save", | |
"when": "editorFocus && !inDebugRepl && vim.mode == 'Normal Mode'" | |
}, | |
{ | |
"key": "alt+cmd+o", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "cmd+;", | |
"command": "editor.action.commentLine", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "cmd+l", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+i", | |
"command": "-editor.action.showHover", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.openEditorAtIndex2" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "workbench.action.openEditorAtIndex3" | |
}, | |
{ | |
"key": "cmd+4", | |
"command": "workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "ctrl+4", | |
"command": "-workbench.action.openEditorAtIndex4" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "ctrl+5", | |
"command": "-workbench.action.openEditorAtIndex5" | |
}, | |
{ | |
"key": "cmd+6", | |
"command": "workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "ctrl+6", | |
"command": "-workbench.action.openEditorAtIndex6" | |
}, | |
{ | |
"key": "cmd+7", | |
"command": "workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "ctrl+7", | |
"command": "-workbench.action.openEditorAtIndex7" | |
}, | |
{ | |
"key": "cmd+8", | |
"command": "workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "ctrl+8", | |
"command": "-workbench.action.openEditorAtIndex8" | |
}, | |
{ | |
"key": "cmd+9", | |
"command": "workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "-workbench.action.openEditorAtIndex9" | |
}, | |
{ | |
"key": "ctrl+1", | |
"command": "workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "-workbench.action.focusFirstEditorGroup" | |
}, | |
{ | |
"key": "ctrl+2", | |
"command": "workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "-workbench.action.focusSecondEditorGroup" | |
}, | |
{ | |
"key": "ctrl+3", | |
"command": "workbench.action.focusThirdEditorGroup" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "-workbench.action.focusThirdEditorGroup" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-code-runner.run" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "-expandLineSelection", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "cmd+b", | |
"command": "-workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "alt+f12", | |
"command": "-editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+e", | |
"command": "workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-workbench.action.navigateBack" | |
}, | |
{ | |
"key": "ctrl+m", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "shift+cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "ctrl+cmd+right", | |
"command": "-workbench.action.moveEditorToNextGroup" | |
}, | |
{ | |
"key": "ctrl+c", | |
"command": "workbench.action.editor.nextChange" | |
}, | |
{ | |
"key": "cmd+i", | |
"command": "workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "ctrl+cmd+left", | |
"command": "-workbench.action.moveEditorToPreviousGroup" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "-editor.action.joinLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "workbench.action.focusFirstEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+o", | |
"command": "-workbench.action.files.openFileFolder", | |
"when": "fileDialog == 'local'" | |
}, | |
{ | |
"key": "cmd+w", | |
"command": "-workbench.action.closeWindow", | |
"when": "!editorIsOpen && !multipleEditorGroups" | |
}, | |
{ | |
"key": "cmd+enter", | |
"command": "renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "enter", | |
"command": "-renameFile", | |
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" | |
}, | |
{ | |
"key": "shift+alt+f12", | |
"command": "-references-view.find", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "alt+cmd+g", | |
"command": "editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+k f12", | |
"command": "-editor.action.revealDefinitionAside", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "ctrl+alt+j", | |
"command": "-code-runner.runByLanguage" | |
}, | |
{ | |
"key": "cmd+m", | |
"command": "markdown.showPreview", | |
"when": "editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "shift+cmd+v", | |
"command": "-markdown.showPreview", | |
"when": "editorLangId == 'markdown'" | |
}, | |
{ | |
"key": "ctrl+i", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+cmd+'", | |
"command": "toggleVim" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "editor.action.rename" | |
}, | |
{ | |
"key": "alt+f12", | |
"command": "-editor.action.peekDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+k down", | |
"command": "-workbench.action.moveActiveEditorGroupDown" | |
}, | |
{ | |
"key": "cmd+k left", | |
"command": "-workbench.action.moveActiveEditorGroupLeft" | |
}, | |
{ | |
"key": "cmd+k right", | |
"command": "-workbench.action.moveActiveEditorGroupRight" | |
}, | |
{ | |
"key": "cmd+k up", | |
"command": "-workbench.action.moveActiveEditorGroupUp" | |
}, | |
{ | |
"key": "shift+cmd+j", | |
"command": "workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "cmd+k shift+cmd+left", | |
"command": "-workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "shift+cmd+k", | |
"command": "workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "cmd+k shift+cmd+right", | |
"command": "-workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "editor.action.marker.next", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+s", | |
"command": "editor.action.marker.prev", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f8", | |
"command": "-editor.action.marker.next", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f8", | |
"command": "-editor.action.marker.prev", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+v", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "cmd+0", | |
"command": "-workbench.action.focusSideBar" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-workbench.action.navigateForward" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.files.action.focusFilesExplorer" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "-workbench.action.newWindow" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "-editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "shift+cmd+l", | |
"command": "explorer.newFile" | |
}, | |
{ | |
"key": "shift+cmd+n", | |
"command": "fileutils.newFile" | |
}, | |
{ | |
"key": "cmd+shift+t", | |
"command": "gitlens.openCommitInRemote", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+escape", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+escape", | |
"command": "-editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.showAllEditors" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.action.togglePanel" | |
} | |
] |
This file contains 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
{ | |
// Workbench | |
"workbench.iconTheme": "Monokai Pro (Filter Octagon) Icons", | |
"workbench.colorTheme": "Aylin", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.editor.showTabs": true, | |
"workbench.fontAliasing": "antialiased", | |
"workbench.activityBar.visible": false, // Removes the activity bar (the 4 icons at the left of the screen) | |
"workbench.editor.showIcons": false, // Removes icon from opened files in tabs | |
"workbench.editor.tabCloseButton": "off", // Removes cross icon from tabs | |
"workbench.statusBar.visible": true, // Removes the status bar | |
"indenticator.color.dark": "rgba(255,255,255,.1)", // adds a subtle indent guide (needs Indenticator extension) | |
"workbench.colorCustomizations": { // You can customize (override) your active color theme | |
// "tab.activeBorder": "#f04c78ee", | |
}, | |
"workbench.settings.enableNaturalLanguageSearch": false, | |
"workbench.list.horizontalScrolling": true, | |
// Window | |
"window.zoomLevel": -1, | |
"window.restoreWindows": "all", | |
"window.newWindowDimensions": "maximized", | |
// Breadcrumbs | |
"breadcrumbs.enabled": true, | |
"breadcrumbs.filePath": "on", | |
// Debug | |
"debug.openDebug": "neverOpen", | |
"debug.showInStatusBar": "never", | |
"debug.toolBarLocation": "hidden", | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"files.associations": { | |
"*.jsx": "javascript", | |
"*.vim": "shellscript", | |
"zsh_keybinds": "shellscript" | |
}, | |
// Terminal | |
"terminal.external.osxExec": "iTerm.App", // set external Terminal to iTerm | |
"terminal.integrated.shell.osx": "/bin/zsh", // default bash | |
"terminal.integrated.rendererType": "dom", | |
"terminal.integrated.copyOnSelection": true, | |
"terminal.integrated.fontSize": 15, | |
"terminal.integrated.inheritEnv": false, | |
// Explorer | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"explorer.decorations.badges": false, | |
"explorer.openEditors.visible": 0, // Removes the open editors section at the top of the sidebar, you can see the opened files with ⌘ + ⌥ + Tab | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"editor.rulers": [ | |
100, | |
120 | |
], | |
"files.trimFinalNewlines": true, | |
"php.validate.enable": true, | |
"php.validate.run": "onSave", | |
"php.validate.executablePath": "/usr/bin/php", | |
/* Editor & Formatting */ | |
"editor.fontFamily": "'JetBrains Mono', 'IBM Plex Mono', 'Roboto Mono', 'Fira Code', 'mononoki', Consolas, 'Courier New', monospace", | |
"editor.fontSize": 15, | |
"editor.fontLigatures": true, | |
"editor.renderWhitespace": "boundary", // Workaround you can use boundary to get correct word order in RTL | |
"editor.lineHeight": 36, | |
"editor.letterSpacing": 0, | |
"editor.suggestFontSize": 17, | |
"editor.suggestLineHeight": 20, | |
"editor.formatOnSave": true, // Format file on Save | |
"prettier.requireConfig": true, // Enable prettier if project has config file | |
"editor.emptySelectionClipboard": false, // Don't empty | |
"editor.cursorBlinking": "solid", | |
"editor.lineNumbers": "off", | |
"search.smartCase": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"extensions.autoUpdate": false, | |
"editor.tabCompletion": "on", //Tab completion | |
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-", //better multi-cursor navigation. | |
"editor.quickSuggestionsDelay": 0, // Give it to me as fast as you have it. | |
// "editor.formatOnPaste": true, // using "cmd+shift+v" (format on paste) | |
"diffEditor.ignoreTrimWhitespace": true, // Show me whitespace in diffs | |
// "editor.wordWrap": "bounded", // Break column when text larger than rulers | |
"editor.minimap.enabled": false, // Removes minimap | |
// "editor.hover.enabled": false, // Disable popup menu onHover tip window | |
"editor.hover.delay": 600, // Delay popup menu | |
"editor.renderIndentGuides": false, // Removes indent guides | |
"editor.renderLineHighlight": "none", // Removes line highlight | |
"editor.overviewRulerBorder": false, // Removes border from overview ruler (located on the right, same position as the scrollbar) | |
"editor.hideCursorInOverviewRuler": true, // hides cursor mark in the overview ruler | |
"editor.folding": true, // removes the folding feature | |
"editor.occurrencesHighlight": false, // removes highlights occurrences (still works when you select a word) | |
"editor.matchBrackets": "never", // removes the highlight of matching brackets (I use Subtle Match Brackets extension for this) | |
"editor.glyphMargin": false, // removes the space used mainly for debugging indicators | |
//Go | |
"go.useLanguageServer": true, | |
"go.useCodeSnippetsOnFunctionSuggest": false, | |
"go.languageServerExperimentalFeatures": { | |
"diagnostics": true // for build and vet errors as you type | |
}, | |
"[go]": { | |
"editor.snippetSuggestions": "none", | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} | |
}, | |
"gopls": { | |
"usePlaceholders": true, | |
"completeUnimported": true, | |
"buildFlags": [ | |
"-tags", | |
"mage" | |
] | |
}, | |
"go.liveErrors": { | |
"enabled": true, | |
"delay": 500 | |
}, | |
"go.lintTool": "golint", | |
"go.lintOnSave": "package", | |
/* Python */ | |
"python.pythonPath": "/usr/bin/python", | |
"python.formatting.provider": "black", | |
"python.linting.pylintEnabled": false, | |
"python.linting.flake8Enabled": true, | |
"python.linting.enabled": false, | |
/* TypeScript */ | |
"typescript.check.npmIsInstalled": false, | |
"typescript.updateImportsOnFileMove.enabled": "never", | |
//VIM | |
// "vim.sneak": true, | |
"vim.useSystemClipboard": true, // Anything in Clipboard outside VSCode | |
"vim.useCtrlKeys": true, | |
"vim.leader": "<space>", | |
"vim.searchHighlightColor": "rgba(150, 150, 255, 0.3)", // Color of the search highlight. | |
"vim.overrideCopy": true, // Override VSCode's copy command with our own copy command, which works better with VSCodeVim. Turn this off if copying is not working. | |
"vim.textwidth": 80, // Width to word-wrap to when using gq. | |
"vim.scroll": 20, // Number of lines to scroll with CTRL-U and CTRL-D commands. | |
"vim.iskeyword": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-", // keywords contain alphanumeric characters and '_' | |
"vim.easymotion": true, // Enable the EasyMotion plugin for Vim. | |
"vim.easymotionMarkerBackgroundColor": "yellow", // Set a custom background color for EasyMotion markers. | |
"vim.easymotionKeys": "hklyuiopnm,qwertzxcvbasdgjf:", | |
"vim.easymotionMarkerForegroundColorOneChar": "#black", // Set a custom color for the text on one character long markers. | |
"vim.easymotionMarkerForegroundColorTwoChar": "#black", // Set a custom color for the text on two character long markers. | |
// "vim.easymotionMarkerWidthPerChar": 8, // Set the width (in pixels) allocated to each character in the match. | |
"vim.easymotionMarkerHeight": 22, // Set the height of the marker. | |
"vim.easymotionMarkerFontFamily": "Consolas", // Set the font family of the marker text. | |
"vim.easymotionMarkerFontSize": "17", // Set the font size of the marker text. | |
"vim.easymotionMarkerFontWeight": "normal", // Set the font weight of the marker text. | |
"vim.easymotionMarkerYOffset": 4, // Set the Y offset of the marker text (the distance from the top). | |
"vim.hlsearch": true, // Show all matches of the most recent search pattern | |
"vim.history": 50, // How much search or command history should be remembered | |
"vim.foldfix": true, // Uses a hack to move around folds properly | |
// Change cursor depending on Vim mode | |
"vim.cursorStylePerMode.insert": "line-thin", | |
"vim.cursorStylePerMode.visual": "block", | |
"vim.cursorStylePerMode.replace": "block-outline", | |
"vim.cursorStylePerMode.normal": "block", | |
// Control keys: 'true' means interpret it like vim, and 'false' means interpret it like vscode | |
"vim.handleKeys": { | |
"<D-d>": false, | |
"<C-x>": false, | |
"<C-a>": false, | |
"<C-f>": false, | |
"<C-c>": false, | |
"<C-v>": false, | |
}, | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": [ | |
"<leader>", | |
"f" | |
], | |
"commands": [ | |
"workbench.action.findInFiles" | |
] | |
}, | |
{ | |
"before": [ | |
"leader", | |
"o" | |
], | |
"commands": [ | |
"workbench.action.quickOpen" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-]>" | |
], | |
"commands": [ | |
"editor.action.indentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-[>" | |
], | |
"commands": [ | |
"editor.action.outdentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-j>" | |
], | |
"after": [ | |
"6", | |
"j" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-k>" | |
], | |
"after": [ | |
"6", | |
"k" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-l>" | |
], | |
"after": [ | |
"6", | |
"l" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-h>" | |
], | |
"after": [ | |
"6", | |
"h" | |
] | |
}, | |
{ | |
"before": [ | |
"g", | |
"h" | |
], | |
"commands": [ | |
"cursorHome" | |
] | |
}, | |
{ | |
"before": [ | |
"g", | |
"j" | |
], | |
"commands": [ | |
"cursorBottom" | |
] | |
}, | |
{ | |
"before": [ | |
"g", | |
"k" | |
], | |
"commands": [ | |
"cursorTop" | |
] | |
}, | |
{ | |
"before": [ | |
"g", | |
"l" | |
], | |
"commands": [ | |
"cursorEnd" | |
] | |
}, | |
// vim multicursor like skip match | |
{ | |
"before": [ | |
"<C-n>" | |
], | |
"commands": [ | |
"editor.action.addSelectionToNextFindMatch" | |
] | |
}, | |
// vim multicursor like skip match | |
{ | |
"before": [ | |
"<C-x>" | |
], | |
"after": [], | |
"commands": [ | |
"editor.action.moveSelectionToNextFindMatch" | |
], | |
} | |
], | |
"vim.visualModeKeyBindings": [ | |
{ | |
"before": [ | |
"<C-j>" | |
], | |
"after": [ | |
"6", | |
"j" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-k>" | |
], | |
"after": [ | |
"6", | |
"k" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-l>" | |
], | |
"after": [ | |
"6", | |
"l" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-h>" | |
], | |
"after": [ | |
"6", | |
"h" | |
] | |
}, | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
"<leader>", | |
"m" | |
], | |
"commands": [ | |
"bookmarks.toggle" | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"q" | |
], | |
"commands": [ | |
{ | |
"command": "workbench.action.closeActiveEditor", | |
} | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"b" | |
], | |
"commands": [ | |
"bookmarks.list" | |
] | |
}, | |
{ | |
"before": [ | |
"Z", | |
"Z" | |
], | |
"commands": [ | |
":w" | |
] | |
}, | |
// { | |
// "before": [ | |
// "leader", | |
// "w" | |
// ], | |
// "after": [ | |
// "<Esc>" | |
// ], | |
// "commands": [ | |
// "workbench.action.files.save", | |
// ] | |
// }, | |
{ | |
"before": [ | |
":" | |
], | |
"commands": [ | |
"workbench.action.showCommands", | |
] | |
}, | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
">" | |
], | |
"commands": [ | |
"editor.action.indentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<" | |
], | |
"commands": [ | |
"editor.action.outdentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"p", | |
], | |
"after": [ | |
"p", | |
"g", | |
"v", | |
"y" | |
] | |
}, | |
], | |
/* Files */ | |
"files.exclude": { | |
"node_modules/": true, | |
"**/.next": true, | |
"**/package-lock.json": true, | |
"**/yarn.lock": true, | |
"vendor": true, | |
"**/npm-debug.log": true, | |
"**/dist": true, | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/.swp": true | |
}, | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"files.eol": "\n", | |
"files.hotExit": "off", | |
"files.associations": { | |
"*.toml": "toml" | |
}, | |
// Code runner | |
"code-runner.clearPreviousOutput": true, | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"python": "python3", | |
"typescript": "ts-node --transpile-onlye", | |
}, | |
"code-runner.runInTerminal": true, | |
/* Backup Config */ | |
"sync.gist": "211ac9f31d46cf7d8cebe762dd3ee4dc", | |
"sync.quietSync": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"css.validate": false, | |
"scss.validate": false, | |
"less.validate": false, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
/* LINTERS */ | |
"eslint.alwaysShowStatus": true, | |
"eslint.packageManager": "yarn", | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
/* GitLens */ | |
"gitlens.codeLens.enabled": false, | |
"gitlens.keymap": "chorded", | |
"gitlens.codeLens.scopes": [ | |
"containers", | |
"document" | |
], | |
"gitlens.views.fileHistory.enabled": true, | |
"gitlens.views.lineHistory.enabled": true, | |
"gitlens.currentLine.format": "${message}", | |
"gitlens.advanced.messages": { | |
"suppressCommitNotFoundWarning": true, | |
"suppressFileNotUnderSourceControlWarning": true, | |
"suppressShowKeyBindingsNotice": true, | |
"suppressUpdateNotice": true | |
}, | |
"editor.renderControlCharacters": true, | |
} |
This file contains 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 css 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" | |
// } | |
} |
This file contains 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
{ | |
"Prints to console": { | |
"prefix": "clog", | |
"body": [ | |
"console.log(${1})" | |
], | |
"description": "" | |
}, | |
"Destructuring Export": { | |
"prefix": "exd", | |
"body": [ | |
"export { default } from '${1}'" | |
], | |
"description": "" | |
}, | |
"Named Import Modules": { | |
"prefix": "ni", | |
"body": [ | |
"import { ${1} } from '${1}'" | |
] | |
}, | |
"Default Import Modules": { | |
"prefix": "im", | |
"body": [ | |
"import ${1} from '${2} ${1}'" | |
] | |
}, | |
"Create New Array Instance": { | |
"prefix": "arrinstance", | |
"body": [ | |
"Array.from(new Array(${1}), (val, index) => (${2}))" | |
] | |
}, | |
"React Danger": { | |
"prefix": "danger", | |
"body": [ | |
"dangerouslySetInnerHTML={{ __html: ${1} }}" | |
] | |
}, | |
"Create React Class": { | |
"prefix": "reactClass", | |
"body": [ | |
"import React from 'react'", | |
"import PropTypes from 'prop-types'", | |
"import classnames from 'classnames'", | |
"import styles from './styles.css'", | |
"", | |
"class ${1:MyComponent} extends React.Component {", | |
" render() {", | |
" const {", | |
" className,", | |
" children,", | |
" ...other", | |
" } = this.props", | |
"", | |
" return (", | |
" <${3:div}", | |
" className={classnames(styles.${2:root}, className)}", | |
" {...other}", | |
" >", | |
" {children}", | |
" </${3:div}>", | |
" )", | |
" }", | |
"}", | |
"", | |
"${1:MyComponent}.propTypes = {", | |
" children: PropTypes.node.isRequired,", | |
" classes: PropTypes.object.isRequired,", | |
" className: PropTypes.string,", | |
"}", | |
"", | |
"export default ${1:MyComponent}", | |
"" | |
], | |
"description": "" | |
}, | |
"Create React Class JSS": { | |
"prefix": "reactClassJSS", | |
"body": [ | |
"import React from 'react'", | |
"import PropTypes from 'prop-types'", | |
"import classnames from 'classnames'", | |
"import withStyles from '../styles/withStyles'", | |
"", | |
"export const styles = theme => ({", | |
" root: {", | |
"", | |
" },", | |
"})", | |
"", | |
"class ${1:MyComponent} extends React.Component {", | |
" render() {", | |
" const {", | |
" children,", | |
" classes,", | |
" className,", | |
" ...other", | |
" } = this.props", | |
"", | |
" return (", | |
" <${2:div}", | |
" className={classnames(classes.root, className)}", | |
" {...other}", | |
" >", | |
" {children}", | |
" </${2:div}>", | |
" )", | |
" }", | |
"}", | |
"", | |
"${1:MyComponent}.propTypes = {", | |
" children: PropTypes.node.isRequired,", | |
" classes: PropTypes.object.isRequired,", | |
" className: PropTypes.string,", | |
"}", | |
"", | |
"export default withStyles(styles)(${1:MyComponent})", | |
"" | |
], | |
"description": "" | |
}, | |
"Create React Stateless": { | |
"prefix": "reactStateless", | |
"body": [ | |
"import React from 'react'", | |
"import PropTypes from 'prop-types'", | |
"import classnames from 'classnames'", | |
"import styles from './styles.css'", | |
"", | |
"const ${1:MyComponent} = (props) => {", | |
" const { className, children, ...other } = props", | |
" return (", | |
" <${3:div}", | |
" className={classnames(styles.${2:root}, className)}", | |
" {...other}", | |
" >", | |
" {children}", | |
" </${3:div}>", | |
" )", | |
"}", | |
"", | |
"${1:MyComponent}.propTypes = {", | |
" children: PropTypes.node.isRequired,", | |
" className: PropTypes.string,", | |
"}", | |
"", | |
"export default ${1:MyComponent}", | |
"" | |
], | |
"description": "" | |
}, | |
"Create React Stateless JSS": { | |
"prefix": "reactStatelessJSS", | |
"body": [ | |
"import React from 'react'", | |
"import PropTypes from 'prop-types'", | |
"import classnames from 'classnames'", | |
"import withStyles from '../styles/withStyles'", | |
"", | |
"export const styles = theme => ({", | |
" root: {},", | |
"})", | |
"", | |
"const ${1} = props => {", | |
" const { children, classes, className, ...other } = props", | |
" return (", | |
" <div", | |
" className={classnames(classes.root, className)}", | |
" {...other}", | |
" >", | |
" {children}", | |
" </div>", | |
" )", | |
"}", | |
"", | |
"${1}.propTypes = {", | |
" children: PropTypes.node.isRequired,", | |
" classes: PropTypes.object.isRequired,", | |
" className: PropTypes.string,", | |
"}", | |
"", | |
"export default withStyles(styles)(${1})", | |
"" | |
], | |
"description": "" | |
}, | |
"Create React Stateless CSS Modules": { | |
"prefix": "reactStatelessCSSModules", | |
"body": [ | |
"import React from 'react'", | |
"import PropTypes from 'prop-types'", | |
"import classnames from 'classnames'", | |
"import styles from './${1}.module.css'", | |
"", | |
"const ${1} = props => {", | |
" const { children, className, ...other } = props", | |
" return (", | |
" <div", | |
" className={classnames(styles.root, className)}", | |
" {...other}", | |
" >", | |
" {children}", | |
" </div>", | |
" )", | |
"}", | |
"", | |
"${1}.propTypes = {", | |
" children: PropTypes.node.isRequired,", | |
" className: PropTypes.string,", | |
"}", | |
"", | |
"export default ${1}", | |
"" | |
], | |
"description": "" | |
}, | |
"Create React Story": { | |
"prefix": "reactStory", | |
"body": [ | |
"import React from 'react'", | |
"import { storiesOf } from '@storybook/react'", | |
"import { text, boolean } from '@storybook/addon-knobs'", | |
"import ${1:Button} from './'", | |
"", | |
"const stories = storiesOf('Components/${1:Button}', module)", | |
"", | |
"export const Default = () => (", | |
" <${1:Button}", | |
" disabled={boolean('disabled', false)}", | |
" >", | |
" {text('children', 'Just a ${1:Button}')}", | |
" </${1:Button}>", | |
")", | |
"", | |
"stories.add('Default', Default)", | |
"", | |
"export default Default", | |
"" | |
], | |
"description": "" | |
}, | |
"Import React": { | |
"prefix": "imr", | |
"body": [ | |
"import React from 'react'" | |
], | |
"description": "Import React Snippet" | |
}, | |
"Import Styled Component": { | |
"prefix": "imstyled", | |
"body": [ | |
"import styled from 'styled-components'" | |
], | |
"description": "Import React Snippet" | |
} | |
} |
This file contains 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
{ | |
"VarDum Prettifier": { | |
"prefix": "dumpretty", | |
"body": [ | |
"highlight_string(\"<?php\\n\\ $${1:variableName} =\\n\" . var_export($${1}, true) . \";\\n?>\");${2}" | |
], | |
"description": "Yaaaay" | |
}, | |
"Print R Prettifier": { | |
"prefix": "preformat", | |
"body": ["echo '<pre>'; print_r($1); echo '</pre>';${2}"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment