Last active
September 1, 2020 19:09
-
-
Save albannurkollari/e7a6ada17c4f890192c79939413b3754 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":"2020-09-01T19:09:55.494Z","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": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.4" | |
}, | |
{ | |
"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": "690b692e-e8a9-493f-b802-8089d50ac1b2", | |
"publisherId": "ms-vscode.cpptools", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "cpptools", | |
"publisher": "ms-vscode", | |
"version": "0.29.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-dotnettools.csharp", | |
"publisherDisplayName": "ms-dotnettools" | |
}, | |
"name": "csharp", | |
"publisher": "ms-dotnettools", | |
"version": "1.23.1" | |
}, | |
{ | |
"metadata": { | |
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce", | |
"publisherId": "joelday.docthis", | |
"publisherDisplayName": "joelday" | |
}, | |
"name": "docthis", | |
"publisher": "joelday", | |
"version": "0.7.1" | |
}, | |
{ | |
"metadata": { | |
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71", | |
"publisherId": "mikestead.dotenv", | |
"publisherDisplayName": "mikestead" | |
}, | |
"name": "dotenv", | |
"publisher": "mikestead", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588", | |
"publisherId": "EditorConfig.EditorConfig", | |
"publisherDisplayName": "EditorConfig" | |
}, | |
"name": "EditorConfig", | |
"publisher": "EditorConfig", | |
"version": "0.15.1" | |
}, | |
{ | |
"metadata": { | |
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c", | |
"publisherId": "dsznajder.es7-react-js-snippets", | |
"publisherDisplayName": "dsznajder" | |
}, | |
"name": "es7-react-js-snippets", | |
"publisher": "dsznajder", | |
"version": "2.8.3" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.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": "be992f3f-9f22-4b66-a1d2-ecad04c28a28", | |
"publisherId": "abusaidm.html-snippets", | |
"publisherDisplayName": "abusaidm" | |
}, | |
"name": "html-snippets", | |
"publisher": "abusaidm", | |
"version": "0.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f45dc69c-8d62-4ea1-b01f-3ab90854acb6", | |
"publisherId": "sidthesloth.html5-boilerplate", | |
"publisherDisplayName": "sidthesloth" | |
}, | |
"name": "html5-boilerplate", | |
"publisher": "sidthesloth", | |
"version": "1.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "198a707e-28af-4e84-8610-6e2f628dd12d", | |
"publisherId": "redhat.java", | |
"publisherDisplayName": "redhat" | |
}, | |
"name": "java", | |
"publisher": "redhat", | |
"version": "0.66.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": "b63c44fd-0457-4696-99e9-dbfdf70d77de", | |
"publisherId": "ritwickdey.LiveServer", | |
"publisherDisplayName": "ritwickdey" | |
}, | |
"name": "LiveServer", | |
"publisher": "ritwickdey", | |
"version": "5.6.1" | |
}, | |
{ | |
"metadata": { | |
"id": "ee577500-fad7-4a2b-b19a-bf7ef89f766c", | |
"publisherId": "geddski.macros", | |
"publisherDisplayName": "geddski" | |
}, | |
"name": "macros", | |
"publisher": "geddski", | |
"version": "1.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "3.8.5" | |
}, | |
{ | |
"metadata": { | |
"id": "4bf45e86-a448-4531-8c01-ef33f4536306", | |
"publisherId": "ms-mssql.mssql", | |
"publisherDisplayName": "ms-mssql" | |
}, | |
"name": "mssql", | |
"publisher": "ms-mssql", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e58f546c-babc-455f-a265-ba40dbd140d4", | |
"publisherId": "sdras.night-owl", | |
"publisherDisplayName": "sdras" | |
}, | |
"name": "night-owl", | |
"publisher": "sdras", | |
"version": "1.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "31b8d9c3-e4f0-48df-b38b-1743aa720190", | |
"publisherId": "alefragnani.pascal-formatter", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "pascal-formatter", | |
"publisher": "alefragnani", | |
"version": "2.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "044b4b31-2969-4af3-895d-855433b8b46d", | |
"publisherId": "felixfbecker.php-debug", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-debug", | |
"publisher": "felixfbecker", | |
"version": "1.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "5e69f001-f945-4c97-baf0-320d82a153b3", | |
"publisherId": "felixfbecker.php-intellisense", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-intellisense", | |
"publisher": "felixfbecker", | |
"version": "2.3.14" | |
}, | |
{ | |
"metadata": { | |
"id": "1a9300c9-36a6-44d1-9d09-ada3641b8727", | |
"publisherId": "felixfbecker.php-pack", | |
"publisherDisplayName": "felixfbecker" | |
}, | |
"name": "php-pack", | |
"publisher": "felixfbecker", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "5.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5", | |
"publisherId": "ms-python.python", | |
"publisherDisplayName": "ms-python" | |
}, | |
"name": "python", | |
"publisher": "ms-python", | |
"version": "2020.8.105369" | |
}, | |
{ | |
"metadata": { | |
"id": "aae0701b-111f-49c1-9000-abd37a442f28", | |
"publisherId": "WallabyJs.quokka-vscode", | |
"publisherDisplayName": "WallabyJs" | |
}, | |
"name": "quokka-vscode", | |
"publisher": "WallabyJs", | |
"version": "1.0.316" | |
}, | |
{ | |
"metadata": { | |
"id": "9f8192be-78bf-4153-806d-08ae956ce8b0", | |
"publisherId": "ionutvmi.reg", | |
"publisherDisplayName": "ionutvmi" | |
}, | |
"name": "reg", | |
"publisher": "ionutvmi", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f0c5397b-d357-4197-99f0-cb4202f22818", | |
"publisherId": "ms-vscode-remote.remote-wsl", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-wsl", | |
"publisher": "ms-vscode-remote", | |
"version": "0.44.5" | |
}, | |
{ | |
"metadata": { | |
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5", | |
"publisherId": "humao.rest-client", | |
"publisherDisplayName": "humao" | |
}, | |
"name": "rest-client", | |
"publisher": "humao", | |
"version": "0.24.2" | |
}, | |
{ | |
"metadata": { | |
"id": "76e37267-9f32-4816-b6c8-47a3928b94c9", | |
"publisherId": "Tyriar.shell-launcher", | |
"publisherDisplayName": "Tyriar" | |
}, | |
"name": "shell-launcher", | |
"publisher": "Tyriar", | |
"version": "0.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "6a2bbab0-d8f0-43fa-9b26-e6a3b7892a0b", | |
"publisherId": "mtxr.sqltools", | |
"publisherDisplayName": "mtxr" | |
}, | |
"name": "sqltools", | |
"publisher": "mtxr", | |
"version": "0.23.0" | |
}, | |
{ | |
"metadata": { | |
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4", | |
"publisherId": "ms-vscode.sublime-keybindings", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "sublime-keybindings", | |
"publisher": "ms-vscode", | |
"version": "4.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37", | |
"publisherId": "eg2.tslint", | |
"publisherDisplayName": "eg2" | |
}, | |
"name": "tslint", | |
"publisher": "eg2", | |
"version": "1.0.44" | |
}, | |
{ | |
"metadata": { | |
"id": "484d897a-6711-403c-ab54-a96f12be5833", | |
"publisherId": "Equinusocio.vsc-community-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-community-material-theme", | |
"publisher": "Equinusocio", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260", | |
"publisherId": "Equinusocio.vsc-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-material-theme", | |
"publisher": "Equinusocio", | |
"version": "32.8.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113", | |
"publisherId": "equinusocio.vsc-material-theme-icons", | |
"publisherDisplayName": "equinusocio" | |
}, | |
"name": "vsc-material-theme-icons", | |
"publisher": "equinusocio", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f", | |
"publisherId": "ms-azuretools.vscode-docker", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-docker", | |
"publisher": "ms-azuretools", | |
"version": "1.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "aaee577c-f062-495a-9816-0cbd442f1d25", | |
"publisherId": "ecmel.vscode-html-css", | |
"publisherDisplayName": "ecmel" | |
}, | |
"name": "vscode-html-css", | |
"publisher": "ecmel", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "d4598ff7-3c39-47f6-bf45-2df845252570", | |
"publisherId": "formulahendry.vscode-mysql", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "vscode-mysql", | |
"publisher": "formulahendry", | |
"version": "0.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "15305aca-2588-4ca0-8147-ab2c64730b82", | |
"publisherId": "ms-vscode.vscode-typescript-next", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "vscode-typescript-next", | |
"publisher": "ms-vscode", | |
"version": "4.1.20200831" | |
}, | |
{ | |
"metadata": { | |
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea", | |
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "vscode-typescript-tslint-plugin", | |
"publisher": "ms-vscode", | |
"version": "1.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.2731" | |
} | |
] |
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
{"version":"1.2.0"} |
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": "ctrl+shift+a", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+s", | |
"command": "workbench.action.files.saveAll" | |
}, | |
{ | |
"key": "ctrl+shift+m", | |
"command": "workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "ctrl+k m", | |
"command": "-workbench.action.editor.changeLanguageMode" | |
}, | |
{ | |
"key": "ctrl+k ctrl+u", | |
"command": "editor.action.transformToUppercase" | |
}, | |
{ | |
"key": "ctrl+k ctrl+l", | |
"command": "editor.action.transformToLowercase" | |
}, | |
{ | |
"key": "ctrl+e ctrl+up", | |
"command": "editor.emmet.action.incrementNumberByOne" | |
}, | |
{ | |
"key": "ctrl+alt+d", | |
"command": "-workbench.view.extension.objectExplorer" | |
}, | |
{ | |
"key": "ctrl+d ctrl+t", | |
"command": "docthis.documentThis", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+d ctrl+alt+d", | |
"command": "-docthis.documentThis" | |
}, | |
{ | |
"key": "ctrl+shift+e ctrl+shift+l", | |
"command": "workbench.action.editor.changeEOL" | |
} | |
] |
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
// Empty |
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
{ | |
"editor.semanticTokenColorCustomizations": { | |
"enabled": true | |
}, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
/* "[javascript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, */ | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"[jsonc]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"breadcrumbs.enabled": true, | |
"C_Cpp.updateChannel": "Insiders", | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"editor.formatOnPaste": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.tabSize": 2, | |
"eslint.enable": true, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"gitlens.defaultDateFormat": "Do, MMMM YYYY", | |
"gitlens.defaultDateStyle": "absolute", | |
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"liveServer.settings.donotVerifyTags": true, | |
"shellLauncher.shells.windows": [ | |
{ | |
"shell": "C:\\WINDOWS\\System32\\cmd.exe", | |
"label": "cmd" | |
}, | |
{ | |
"shell": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"label": "PowerShell" | |
}, | |
{ | |
"shell": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"label": "Git bash" | |
}, | |
{ | |
"shell": "C:\\WINDOWS\\System32\\wsl.exe", | |
"label": "WSL Bash" | |
} | |
], | |
"sublimeTextKeymap.promptV3Features": true, | |
"sync.gist": "e7a6ada17c4f890192c79939413b3754", | |
"terminal.integrated.cursorBlinking": true, | |
"terminal.integrated.cursorStyle": "line", | |
"terminal.integrated.fontSize": 12, | |
"terminal.integrated.rightClickBehavior": "default", | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"vsicons.dontShowNewVersionMessage": true, | |
"window.titleBarStyle": "custom", | |
"window.zoomLevel": 1, | |
"workbench.colorTheme": "Community Material Theme High Contrast", | |
/* "workbench.colorTheme": "Arc Dark", */ | |
"workbench.colorCustomizations": { | |
"activityBar.activeBackground": "#2632d6", | |
"window.activeBorder": "#ffffff", | |
"window.inactiveBorder": "#35badb" | |
}, | |
"workbench.iconTheme": "material-icon-theme", | |
"liveServer.settings.donotShowInfoMsg": true, | |
"sqltools.connections": [ | |
{ | |
"askForPassword": false, | |
"database": "test", | |
"driver": "MySQL", | |
"name": "Test", | |
"port": 3306, | |
"server": "localhost", | |
"username": "root" | |
} | |
], | |
"macros": { | |
"doSomething": [ | |
"editor.action.copyLinesDownAction", | |
"cursorUp", | |
"editor.action.addCommentLine", | |
"cursorDown" | |
] | |
}, | |
"diffEditor.ignoreTrimWhitespace": true | |
} |
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
{ | |
"scope": "javascript,typescript", | |
"prefix": "impr", | |
"body": [ | |
"// Libraries", | |
"import React, {\n\tuseCallback,\n\tuseEffect,\n\tuseMemo,\n\tuseState,\n\tuseRef,\n\t} from 'react';" | |
], | |
"description": "Inserts React and it's most commonly used hooks imports." | |
} |
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
{ | |
"React default imports": { | |
"scope": "javascript, typescript", | |
"prefix": "dfi", | |
"body": [ | |
"// Libraries", | |
"import PropTypes from 'prop-types';", | |
"import React from 'react';", | |
"\n// Components\n", | |
"\n// Helpers && actions && hooks\n", | |
"// Constants\n", | |
"// Stylesheet(s)\n", | |
"const ${1:ComponentName} = () => {", | |
"\t$0", | |
"\treturn '';", | |
"};\n", | |
"${1:ComponentName}.propTypes = {};", | |
"${1:ComponentName}.defaultProps = {};\n", | |
"export default ${1:ComponentName};\n" | |
] | |
}, | |
"React and common hooks import": { | |
"scope": "javascript,typescript", | |
"prefix": "impr", | |
"body": [ | |
"// Libraries", | |
"import React, {\n\tuseCallback,\n\tuseEffect,\n\tuseMemo,\n\tuseState,\n\tuseRef,\n} from 'react';\n" | |
], | |
"description": "Inserts React and it's most commonly used hooks imports." | |
}, | |
"Custom hook initialization": { | |
"scope": "javascript,typescript", | |
"prefix": "cch", | |
"body": [ | |
"export const use${1:HookName} = props => {", | |
"\t$0", | |
"};\n\n", | |
"$LINE_COMMENT Cut/copy and paste this line into the file you want to import it:", | |
"$LINE_COMMENT import { use${1:HookName} } from './${TM_FILENAME/(.*)\\..+$/$1/}';", | |
], | |
"description": "Initializes a custom hook and then focuses into naming it.", | |
}, | |
"(Filename) Custom hook initialization": { | |
"scope": "javascript,typescript", | |
"prefix": "cchf", | |
"body": [ | |
"export default function ${TM_FILENAME/(.*)\\..+$/$1/} (props) {", | |
"\t$0", | |
"};\n\n", | |
"$LINE_COMMENT Cut/copy and paste this line into the file you want to import it:", | |
"$LINE_COMMENT export { default as ${TM_FILENAME/(.*)\\..+$/$1/} } from './${TM_FILENAME/(.*)\\..+$/$1/}';", | |
"$LINE_COMMENT import ${TM_FILENAME/(.*)\\..+$/$1/} from './${TM_FILENAME/(.*)\\..+$/$1/}';", | |
], | |
"description": "Initializes a custom hook and then focuses into naming it.", | |
}, | |
"React.Intl format message": { | |
"scope": "javascript,typescript", | |
"prefix": "usefm", | |
"body": [ | |
"const { formatMessage: fm } = useIntl();\n$0", | |
], | |
"description": "Shortcuts and renames useIntl formatMessage to 'fm'.", | |
}, | |
"React-Redux dispatcher": { | |
"scope": "javascript,typescript", | |
"prefix": "usedp", | |
"body": [ | |
"const dispatch = useDispatch();\n$0", | |
], | |
"description": "Shortcuts and renames useIntl formatMessage to 'fm'.", | |
} | |
} |
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
{ | |
"SCS extra imports": { | |
"description": "Imports custom hooks from React Intl and React Redux plugins", | |
"scope": "javascript, typescript", | |
"prefix": "scsimp", | |
"body": [ | |
"import { useIntl } from 'react-intl';", | |
"import { useDispatch, useSelector } from 'react-redux';" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment