Created
September 17, 2020 04:07
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-09-17T04:07:46.756Z","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": "819a23e1-b6c6-41cf-9029-e653b537d996", | |
"publisherId": "ms-vscode.azure-account", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "azure-account", | |
"publisher": "ms-vscode", | |
"version": "0.9.3" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c", | |
"publisherId": "dsznajder.es7-react-js-snippets", | |
"publisherDisplayName": "dsznajder" | |
}, | |
"name": "es7-react-js-snippets", | |
"publisher": "dsznajder", | |
"version": "3.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "c6d564c4-ca8c-45ba-abf6-c85f2d1468d8", | |
"publisherId": "jdinhlife.gruvbox", | |
"publisherDisplayName": "jdinhlife" | |
}, | |
"name": "gruvbox", | |
"publisher": "jdinhlife", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "fb1df93b-889f-4c0d-abe7-5f170353a9c9", | |
"publisherId": "ElecTreeFrying.insert-random-text", | |
"publisherDisplayName": "ElecTreeFrying" | |
}, | |
"name": "insert-random-text", | |
"publisher": "ElecTreeFrying", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "3.8.7" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "5.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.16.0" | |
}, | |
{ | |
"metadata": { | |
"id": "951e1945-25a8-4ea0-aa11-076ac75b098d", | |
"publisherId": "ms-azuretools.vscode-cosmosdb", | |
"publisherDisplayName": "ms-azuretools" | |
}, | |
"name": "vscode-cosmosdb", | |
"publisher": "ms-azuretools", | |
"version": "0.15.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ea6a6046-2132-421f-a984-664909fcf0b8", | |
"publisherId": "hediet.vscode-drawio", | |
"publisherDisplayName": "hediet" | |
}, | |
"name": "vscode-drawio", | |
"publisher": "hediet", | |
"version": "0.7.2" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "c5f4d87f-a524-462c-ac01-923eb19cf3e9", | |
"publisherId": "firefox-devtools.vscode-firefox-debug", | |
"publisherDisplayName": "firefox-devtools" | |
}, | |
"name": "vscode-firefox-debug", | |
"publisher": "firefox-devtools", | |
"version": "2.9.1" | |
}, | |
{ | |
"metadata": { | |
"id": "77b70e30-3534-4098-9d6d-382a96babca4", | |
"publisherId": "dkundel.vscode-new-file", | |
"publisherDisplayName": "dkundel" | |
}, | |
"name": "vscode-new-file", | |
"publisher": "dkundel", | |
"version": "4.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "a4678ccd-2309-4cdd-b6cf-94af8dd7001f", | |
"publisherId": "jrebocho.vscode-random", | |
"publisherDisplayName": "jrebocho" | |
}, | |
"name": "vscode-random", | |
"publisher": "jrebocho", | |
"version": "1.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3", | |
"publisherId": "msjsdiag.vscode-react-native", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "vscode-react-native", | |
"publisher": "msjsdiag", | |
"version": "0.17.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4297bbe6-97c8-4ffa-b133-37a31f971277", | |
"publisherId": "extr0py.vscode-relative-line-numbers", | |
"publisherDisplayName": "extr0py" | |
}, | |
"name": "vscode-relative-line-numbers", | |
"publisher": "extr0py", | |
"version": "0.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af", | |
"publisherId": "ms-vsliveshare.vsliveshare", | |
"publisherDisplayName": "ms-vsliveshare" | |
}, | |
"name": "vsliveshare", | |
"publisher": "ms-vsliveshare", | |
"version": "1.0.2740" | |
}, | |
{ | |
"metadata": { | |
"id": "47ddeb9c-b4bb-4594-906b-412886e20e47", | |
"publisherId": "VSpaceCode.whichkey", | |
"publisherDisplayName": "VSpaceCode" | |
}, | |
"name": "whichkey", | |
"publisher": "VSpaceCode", | |
"version": "0.8.1" | |
} | |
] |
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 | |
[ | |
{ | |
"key": "ctrl+n", | |
"command": "newFile.createFromExplorer" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "newFile.createNewFile" | |
}, | |
{ | |
"key": "ctrl+alt+n", | |
"command": "-newFile.createNewFile" | |
}, | |
{ | |
"key": "tab", | |
"command": "selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "down", | |
"command": "-selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "up", | |
"command": "-selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
} | |
] |
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
{ | |
"newFile.defaultBaseFileName": "", | |
"newFile.relativeTo": "file", // "root" or "project" | |
"newFile.defaultFileExtension": ".tsx", | |
"newFile.rootDirectory": "~", | |
"newFile.showPathRelativeTo": "root", // "project" or "none" | |
"newFile.expandBraces": true, // setting to true will allow for creating multiple files such as `new-folder/{file1,file2}.js` | |
"[typescriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.fontSize": 16, | |
"editor.fontWeight": "100", | |
"editor.fontFamily": "'Fira Code'", | |
"editor.fontLigatures": true, | |
"prettier.trailingComma": "es5", | |
"terminal.external.osxExec": "iterm2", | |
"workbench.editor.enablePreview": false, | |
"tslint.packageManager": "yarn", | |
"emmet.showExpandedAbbreviation": "never", | |
"typescript.preferences.importModuleSpecifier": "non-relative", | |
"tslint.alwaysShowRuleFailuresAsWarnings": true, | |
"git.autofetch": true, | |
"git.enableSmartCommit": true, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"git.confirmSync": false, | |
"window.zoomLevel": 0, | |
"terminal.integrated.rendererType": "dom", | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true | |
}, | |
"vim.easymotion": true, | |
"vim.neovimPath": "C:\\tools\\neovim\\Neovim\\bin\\nvim.exe", | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"typescript": "typescriptreact" | |
}, | |
"emmet.showSuggestionsAsSnippets": true, | |
"emmet.triggerExpansionOnTab": true, | |
// "editor.suggest.snippetsPreventQuickSuggestions": false, | |
// "editor.parameterHints.enabled": false, | |
// "editor.suggest.showStructs": false, | |
// "editor.suggestSelection": "recentlyUsedByPrefix", | |
"php.suggest.basic": false, | |
"workbench.iconTheme": "material-icon-theme", | |
"oneDarkPro.vivid": false, | |
"editor.formatOnSave": true, | |
"workbench.editor.centeredLayoutAutoResize": false, | |
"javascript.validate.enable": false, | |
"terminal.integrated.shell.osx": "/bin/zsh", | |
"vim.normalModeKeyBindings": [ | |
{ | |
"before": [";"], | |
"after": [":"] | |
} | |
], | |
"terminal.integrated.fontFamily": "Hack Nerd Font", | |
"hediet.vscode-drawio.local-storage": "eyIuZHJhd2lvLWNvbmZpZyI6IntcImxhbmd1YWdlXCI6XCJcIixcImN1c3RvbUZvbnRzXCI6W10sXCJsaWJyYXJpZXNcIjpcImdlbmVyYWw7ZGZkO2VyO3VtbFwiLFwiY3VzdG9tTGlicmFyaWVzXCI6W1wiTC5zY3JhdGNocGFkXCJdLFwicGx1Z2luc1wiOltdLFwicmVjZW50Q29sb3JzXCI6W10sXCJmb3JtYXRXaWR0aFwiOjAsXCJjcmVhdGVUYXJnZXRcIjpmYWxzZSxcInBhZ2VGb3JtYXRcIjp7XCJ4XCI6MCxcInlcIjowLFwid2lkdGhcIjo4NTAsXCJoZWlnaHRcIjoxMTAwfSxcInNlYXJjaFwiOnRydWUsXCJzaG93U3RhcnRTY3JlZW5cIjp0cnVlLFwiZ3JpZENvbG9yXCI6XCIjZDBkMGQwXCIsXCJkYXJrR3JpZENvbG9yXCI6XCIjNmU2ZTZlXCIsXCJhdXRvc2F2ZVwiOnRydWUsXCJyZXNpemVJbWFnZXNcIjpudWxsLFwib3BlbkNvdW50ZXJcIjowLFwidmVyc2lvblwiOjE4LFwidW5pdFwiOjEsXCJpc1J1bGVyT25cIjpmYWxzZSxcInVpXCI6XCJcIn0ifQ==", | |
"hediet.vscode-drawio.theme": "atlas", | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"workbench.colorTheme": "Gruvbox Dark Hard", | |
"vscode-neovim.neovimInitVimPaths.darwin": "~/.config/nvim/init.vim", | |
"vscode-neovim.neovimExecutablePaths.darwin": "/usr/local/bin/nvim", | |
"vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim", | |
"vscode-neovim.neovimInitVimPaths.linux": "$HOME/.config/nvim/init.vim", | |
"whichkey.sortOrder": "alphabetically", | |
"whichkey.bindings": [ | |
{ | |
"key": ";", | |
"name": "commands", | |
"type": "command", | |
"command": "workbench.action.showCommands" | |
}, | |
{ | |
"key": "b", | |
"name": "Buffers/Editors...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "b", | |
"name": "Show all buffers/editors", | |
"type": "command", | |
"command": "workbench.action.showAllEditors" | |
}, | |
{ | |
"key": "d", | |
"name": "Close active editor", | |
"type": "command", | |
"command": "workbench.action.closeActiveEditor" | |
}, | |
{ | |
"key": "h", | |
"name": "Move editor into left group", | |
"type": "command", | |
"command": "workbench.action.moveEditorToLeftGroup" | |
}, | |
{ | |
"key": "j", | |
"name": "Move editor into below group", | |
"type": "command", | |
"command": "workbench.action.moveEditorToBelowGroup" | |
}, | |
{ | |
"key": "k", | |
"name": "Move editor into above group", | |
"type": "command", | |
"command": "workbench.action.moveEditorToAboveGroup" | |
}, | |
{ | |
"key": "l", | |
"name": "Move editor into right group", | |
"type": "command", | |
"command": "workbench.action.moveEditorToRightGroup" | |
}, | |
{ | |
"key": "m", | |
"name": "Close other editors", | |
"type": "command", | |
"command": "workbench.action.closeOtherEditors" | |
}, | |
{ | |
"key": "n", | |
"name": "Next editor", | |
"type": "command", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "p", | |
"name": "Previous editor", | |
"type": "command", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "N", | |
"name": "New untitled editor", | |
"type": "command", | |
"command": "workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "u", | |
"name": "Reopen closed editor", | |
"type": "command", | |
"command": "workbench.action.reopenClosedEditor" | |
}, | |
{ | |
"key": "y", | |
"name": "Copy buffer to clipboard", | |
"type": "commands", | |
"commands": [ | |
"editor.action.selectAll", | |
"editor.action.clipboardCopyAction", | |
"cancelSelection" | |
] | |
} | |
] | |
}, | |
{ | |
"key": "d", | |
"name": "Debug...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "d", | |
"name": "Start debug", | |
"type": "command", | |
"command": "workbench.action.debug.start" | |
}, | |
{ | |
"key": "S", | |
"name": "Stop debug", | |
"type": "command", | |
"command": "workbench.action.debug.stop" | |
}, | |
{ | |
"key": "c", | |
"name": "Continue debug", | |
"type": "command", | |
"command": "workbench.action.debug.continue" | |
}, | |
{ | |
"key": "p", | |
"name": "Pause debug", | |
"type": "command", | |
"command": "workbench.action.debug.pause" | |
}, | |
{ | |
"key": "r", | |
"name": "Run without debugging", | |
"type": "command", | |
"command": "workbench.action.debug.run" | |
}, | |
{ | |
"key": "R", | |
"name": "Restart debug", | |
"type": "command", | |
"command": "workbench.action.debug.restart" | |
}, | |
{ | |
"key": "i", | |
"name": "Step into", | |
"type": "command", | |
"command": "workbench.action.debug.stepInto" | |
}, | |
{ | |
"key": "s", | |
"name": "Step over", | |
"type": "command", | |
"command": "workbench.action.debug.stepOver" | |
}, | |
{ | |
"key": "o", | |
"name": "Step out", | |
"type": "command", | |
"command": "workbench.action.debug.stepOut" | |
}, | |
{ | |
"key": "b", | |
"name": "Toggle breakpoint", | |
"type": "command", | |
"command": "editor.debug.action.toggleBreakpoint" | |
}, | |
{ | |
"key": "B", | |
"name": "Toggle inline breakpoint", | |
"type": "command", | |
"command": "editor.debug.action.toggleInlineBreakpoint" | |
}, | |
{ | |
"key": "j", | |
"name": "Jump to cursor", | |
"type": "command", | |
"command": "debug.jumpToCursor" | |
}, | |
{ | |
"key": "v", | |
"name": "REPL", | |
"type": "command", | |
"command": "workbench.debug.action.toggleRepl" | |
}, | |
{ | |
"key": "w", | |
"name": "Focus on watch window", | |
"type": "command", | |
"command": "workbench.debug.action.focusWatchView" | |
}, | |
{ | |
"key": "W", | |
"name": "Add to watch", | |
"type": "command", | |
"command": "editor.debug.action.selectionToWatch" | |
} | |
] | |
}, | |
{ | |
"key": "e", | |
"name": "Toggle Explorer", | |
"type": "command", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "f", | |
"name": "Find & Replace...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "f", | |
"name": "File", | |
"type": "command", | |
"command": "editor.action.startFindReplaceAction" | |
}, | |
{ | |
"key": "s", | |
"name": "Symbol", | |
"type": "command", | |
"command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "p", | |
"name": "Project", | |
"type": "command", | |
"command": "workbench.action.replaceInFiles" | |
} | |
] | |
}, | |
{ | |
"key": "g", | |
"name": "Git...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "b", | |
"name": "Checkout", | |
"type": "command", | |
"command": "git.checkout" | |
}, | |
{ | |
"key": "c", | |
"name": "Commit", | |
"type": "command", | |
"command": "git.commit" | |
}, | |
{ | |
"key": "d", | |
"name": "Delete Branch", | |
"type": "command", | |
"command": "git.deleteBranch" | |
}, | |
{ | |
"key": "f", | |
"name": "Fetch", | |
"type": "command", | |
"command": "git.fetch" | |
}, | |
{ | |
"key": "i", | |
"name": "Init", | |
"type": "command", | |
"command": "git.init" | |
}, | |
{ | |
"key": "m", | |
"name": "Merge", | |
"type": "command", | |
"command": "git.merge" | |
}, | |
{ | |
"key": "p", | |
"name": "Publish", | |
"type": "command", | |
"command": "git.publish" | |
}, | |
{ | |
"key": "s", | |
"name": "Stash", | |
"type": "command", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "S", | |
"name": "Stage", | |
"type": "command", | |
"command": "git.stage" | |
}, | |
{ | |
"key": "U", | |
"name": "Unstage", | |
"type": "command", | |
"command": "git.unstage" | |
} | |
] | |
}, | |
{ | |
"key": "h", | |
"name": "Split Horizontal", | |
"type": "command", | |
"command": "workbench.action.splitEditorDown" | |
}, | |
{ | |
"key": "i", | |
"name": "Insert...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "j", | |
"name": "Insert line below", | |
"type": "command", | |
"command": "editor.action.insertLineAfter" | |
}, | |
{ | |
"key": "k", | |
"name": "Insert line above", | |
"type": "command", | |
"command": "editor.action.insertLineBefore" | |
}, | |
{ | |
"key": "s", | |
"name": "Insert snippet", | |
"type": "command", | |
"command": "editor.action.insertSnippet" | |
} | |
] | |
}, | |
{ | |
"key": "m", | |
"name": "minimap", | |
"type": "command", | |
"command": "editor.action.toggleMinimap" | |
}, | |
{ | |
"key": "n", | |
"name": "highlight", | |
"type": "command", | |
"command": "vscode-neovim.send", | |
"args": ":noh<CR>" | |
}, | |
{ | |
"key": "s", | |
"name": "Search...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "f", | |
"name": "files", | |
"type": "command", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "t", | |
"name": "text", | |
"type": "command", | |
"command": "workbench.action.findInFiles" | |
} | |
] | |
}, | |
{ | |
"key": "S", | |
"name": "Show...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "e", | |
"name": "Show explorer", | |
"type": "command", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "s", | |
"name": "Show search", | |
"type": "command", | |
"command": "workbench.view.search" | |
}, | |
{ | |
"key": "g", | |
"name": "Show source control", | |
"type": "command", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "t", | |
"name": "Show test", | |
"type": "command", | |
"command": "workbench.view.extension.test" | |
}, | |
{ | |
"key": "r", | |
"name": "Show remote explorer", | |
"type": "command", | |
"command": "workbench.view.remote" | |
}, | |
{ | |
"key": "x", | |
"name": "Show extensions", | |
"type": "command", | |
"command": "workbench.view.extensions" | |
}, | |
{ | |
"key": "p", | |
"name": "Show problem", | |
"type": "command", | |
"command": "workbench.actions.view.problems" | |
}, | |
{ | |
"key": "o", | |
"name": "Show output", | |
"type": "command", | |
"command": "workbench.action.output.toggleOutput" | |
}, | |
{ | |
"key": "d", | |
"name": "Show debug console", | |
"type": "command", | |
"command": "workbench.debug.action.toggleRepl" | |
} | |
] | |
}, | |
{ | |
"key": "t", | |
"name": "Terminal...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "t", | |
"name": "Toggle Terminal", | |
"type": "command", | |
"command": "workbench.action.togglePanel" | |
} | |
] | |
}, | |
{ | |
"key": "T", | |
"name": "UI toggles...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "b", | |
"name": "Toggle side bar visibility", | |
"type": "command", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "j", | |
"name": "Toggle panel visibility", | |
"type": "command", | |
"command": "workbench.action.togglePanel" | |
}, | |
{ | |
"key": "F", | |
"name": "Toggle full screen", | |
"type": "command", | |
"command": "workbench.action.toggleFullScreen" | |
}, | |
{ | |
"key": "s", | |
"name": "Select theme", | |
"type": "command", | |
"command": "workbench.action.selectTheme" | |
}, | |
{ | |
"key": "m", | |
"name": "Toggle maximized panel", | |
"type": "command", | |
"command": "workbench.action.toggleMaximizedPanel" | |
}, | |
{ | |
"key": "t", | |
"name": "Toggle tool/activity bar visibility", | |
"type": "command", | |
"command": "workbench.action.toggleActivityBarVisibility" | |
}, | |
{ | |
"key": "T", | |
"name": "Toggle tab visibility", | |
"type": "command", | |
"command": "workbench.action.toggleTabsVisibility" | |
} | |
] | |
}, | |
{ | |
"key": "v", | |
"name": "Split Vertical", | |
"type": "command", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "w", | |
"name": "Window...", | |
"type": "bindings", | |
"bindings": [ | |
{ | |
"key": "W", | |
"name": "Focus previous editor group", | |
"type": "command", | |
"command": "workbench.action.focusPreviousGroup" | |
}, | |
{ | |
"key": "h", | |
"name": "Move editor group left", | |
"type": "command", | |
"command": "workbench.action.moveActiveEditorGroupLeft" | |
}, | |
{ | |
"key": "j", | |
"name": "Move editor group down", | |
"type": "command", | |
"command": "workbench.action.moveActiveEditorGroupDown" | |
}, | |
{ | |
"key": "k", | |
"name": "Move editor group up", | |
"type": "command", | |
"command": "workbench.action.moveActiveEditorGroupUp" | |
}, | |
{ | |
"key": "l", | |
"name": "Move editor group right", | |
"type": "command", | |
"command": "workbench.action.moveActiveEditorGroupRight" | |
}, | |
{ | |
"key": "t", | |
"name": "Toggle editor group sizes", | |
"type": "command", | |
"command": "workbench.action.toggleEditorWidths" | |
}, | |
{ | |
"key": "m", | |
"name": "Maximize editor group", | |
"type": "command", | |
"command": "workbench.action.minimizeOtherEditors" | |
}, | |
{ | |
"key": "M", | |
"name": "Maximize editor group and hide side bar", | |
"type": "command", | |
"command": "workbench.action.maximizeEditor" | |
}, | |
{ | |
"key": "=", | |
"name": "Reset editor group sizes", | |
"type": "command", | |
"command": "workbench.action.evenEditorWidths" | |
}, | |
{ | |
"key": "z", | |
"name": "Combine all editors", | |
"type": "command", | |
"command": "workbench.action.joinAllGroups" | |
}, | |
{ | |
"key": "d", | |
"name": "Close editor group", | |
"type": "command", | |
"command": "workbench.action.closeEditorsInGroup" | |
}, | |
{ | |
"key": "x", | |
"name": "Close all editor groups", | |
"type": "command", | |
"command": "workbench.action.closeAllGroups" | |
} | |
] | |
}, | |
{ | |
"key": "z", | |
"name": "Toggle zen mode", | |
"type": "command", | |
"command": "workbench.action.toggleZenMode" | |
} | |
], | |
"workbench.editor.showTabs": true, | |
"editor.minimap.enabled": true, | |
"vscode-neovim.neovimExecutablePaths.win32": "C:\\tools\\neovim\\Neovim\\bin\\nvim", | |
"vim.enableNeovim": 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 csharp 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" | |
// } | |
"comment": { | |
"prefix": "cmt", | |
"body": "/* ------------------------ $1 ------------------------ */" | |
}, | |
"res": { | |
"prefix": "res", | |
"body": "var apiRep = new APIResponse();" | |
}, | |
"ok": { | |
"prefix": "ok", | |
"body": "return Ok(apiRep);" | |
}, | |
"userid": { | |
"body": [ | |
"var userId = string.Empty;", | |
"if (HttpContext.User.Identity is ClaimsIdentity identity)", | |
"\tuserId = identity.FindFirst(ClaimTypes.Name).Value;" | |
] | |
} | |
} |
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
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" | |
// } | |
} |
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 scss 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
{ | |
"Create destructuring object": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "dob", | |
"body": ["const { $2 } = $1;"] | |
}, | |
"export * from x": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "ex", | |
"body": ["export * from '$1'"] | |
}, | |
"const style": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "styled", | |
"body": ["export const Styled${2:$1} = styled($1)`", "\t$3", "`"] | |
}, | |
"Create interface": { | |
"scope": "typescript,typescriptreact", | |
"prefix": "int", | |
"body": ["export interface $1 { $2 }"] | |
}, | |
"import destructoring": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "imp", | |
"body": ["import { $2 } from '$1'"] | |
}, | |
"import deafult": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "impd", | |
"body": ["import $1 from './$1'"] | |
}, | |
"styled const": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "sty", | |
"body": ["const Styled${2:$1} = styled($2)`$3", "`"] | |
}, | |
"export default as": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "exd", | |
"body": ["export { default as $1} from './$1'"] | |
}, | |
"Print to console with color": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "cl", | |
"body": ["console.log('$1',$1)"], | |
"description": "Log output to console" | |
}, | |
"Print to torn ": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "ctl", | |
"body": ["console.tron.log('$1',${2:$1})"], | |
"description": "Log output to console" | |
}, | |
"Print to tl": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "tl", | |
"body": ["console.tlog('$1',${2:$1})"], | |
"description": "Log output to console" | |
}, | |
"Print to tl string": { | |
"scope": "javascript,typescript,typescriptreact", | |
"prefix": "tls", | |
"body": ["console.tlog('$1')"], | |
"description": "Log output to console" | |
}, | |
"cmt": { | |
"scope": "javascript,typescriptreact, scss, typescript", | |
"prefix": "cmt", | |
"body": ["/* ------------------------ $1 ------------------------ */"], | |
"description": "comment" | |
}, | |
"import styled": { | |
"scope": "javascript, typescriptreact", | |
"prefix": "ims", | |
"body": "import styled from 'styled-components';" | |
}, | |
"dob props": { | |
"scope": "javascript, typescriptreact", | |
"prefix": "dop", | |
"body": "const { $1 } = props" | |
}, | |
"function": { | |
"scope": "javascript, typescriptreact, typescript", | |
"prefix": "func", | |
"body": "const $1 = ( $2 ) => { $3 }" | |
}, | |
"lodash": { | |
"scope": "javascript,typescript, typescriptreact", | |
"prefix": "lodash", | |
"body": "import _ from 'lodash';" | |
}, | |
"stylesheet": { | |
"scope": "javascript,typescript, typescriptreact", | |
"prefix": "styles", | |
"body": ["const styles = StyleSheet.create({ $1 })"] | |
}, | |
"use memo one": { | |
"scope": "javascript,typescript, typescriptreact", | |
"prefix": "useMemoOne", | |
"body": ["const { } = useMemoOne(", "\t() => ({", "\t\t", "\t}),", "[])"] | |
}, | |
"reanimated cond": { | |
"scope": "javascript,typescript, typescriptreact", | |
"prefix": "cond", | |
"body": ["cond( $1, [], [] ),"] | |
}, | |
"reanimated and": { | |
"scope": "javascript,typescript, typescriptreact", | |
"prefix": "and", | |
"body": ["and( $1, $2 ),"] | |
} | |
} |
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 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" | |
// } | |
"console torn": { | |
"prefix": "ctl", | |
"body": [ | |
"console.tron.log('$1',$1)" | |
] | |
}, | |
"field": { | |
"prefix": "field", | |
"body": "@Field()\n@Column()\n$1: $2" | |
} | |
} |
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
{ | |
"imp": { | |
"prefix": "impd", | |
"body": "import ${2: $1 } from '${1}'", | |
"description": "import default file" | |
}, | |
"impd": { | |
"prefix": "imp", | |
"body": "import {\n\t$2\n} from '$1'", | |
"description": "Destructuring import" | |
}, | |
"(cl)": { | |
"prefix": "(cl)", | |
"body": "console.log('${2:$1: }', ${1});", | |
"description": "console.log" | |
}, | |
"style": { | |
"prefix": "style", | |
"body": "import { StyleSheet } from 'react-native'\n\nexport default StyleSheet.create({\n\tcontainer:{}\n})", | |
"description": " create styel file" | |
}, | |
"ims": { | |
"prefix": "ims", | |
"body": "import styled from 'styled-components'", | |
"description": "import styled-components" | |
}, | |
"dob": { | |
"prefix": "dob", | |
"body": "const { $2 } = $1;", | |
"description": " destructoring " | |
}, | |
"dop": { | |
"prefix": "dop", | |
"body": "const { $2 } = state ;", | |
"description": " destructoring state" | |
}, | |
"exd": { | |
"prefix": "exd", | |
"body": "export * from './$1'", | |
"description": "export * from" | |
}, | |
"dp": { | |
"prefix": "dp", | |
"body": "const { $1 } = props;", | |
"description": " destructoring props" | |
}, | |
"ctls": { | |
"prefix": "ctls", | |
"body": "console.tron.log('$1')", | |
"description": "tron log string" | |
}, | |
"ctl": { | |
"prefix": "ctl", | |
"body": "console.tron.log('$1', $1)", | |
"description": "tron log" | |
}, | |
"tl": { | |
"prefix": "tl", | |
"body": "console.tlog('$1', $1)", | |
"description": "tron log" | |
}, | |
"rnce": { | |
"prefix": "rnce", | |
"body": "import React, { Component } from 'react'\nimport { Text, View } from 'react-native'\nimport { I$1, I$1State } from './$1.presets.tsx'\nimport { } from './$1.props.tsx'\n\nexport class ${1:${TM_FILENAME/(.tsx)//}} extends Component <I$1,I$1State>{\n\trender() {\n\t\treturn (\n\t\t\t<${3:View}>\n\t\t\t\t<Text>123 </Text>\n\t\t\t</$3>\n\t\t);\n\t}\n}\n\nexport default $1;", | |
"description": "create react native full component snip" | |
}, | |
"rnf": { | |
"prefix": "rnf", | |
"body": "import React, { useState } from 'react'\nimport { Text, View } from 'components'\nimport styled from 'styled-components'\n\ninterface ${1:${TM_FILENAME/(.tsx)//}}Props{\n\t\n}\n\nexport const ${1:${TM_FILENAME/(.tsx)//}}: React.FC<${1:${TM_FILENAME/(.tsx)//}}Props> = (props)=>{\n\t\treturn (\n\t\t\t<${3:View}>\n\t\t\t\t<Text>123 </Text>\n\t\t\t</$3>\n\t\t);\n}\n", | |
"description": "create react native stateless" | |
}, | |
"rf": { | |
"prefix": "rf", | |
"body": "import React from 'react'\n\ntype ${1:${TM_FILENAME/(.tsx)//}}Props={\n\t\n}\n\nexport const ${1:${TM_FILENAME/(.tsx)//}} = (props : ${1:${TM_FILENAME/(.tsx)//}}Props) => {\n\t\treturn (\n\t\t\t<${3:div}>\n\t\t\t</$3>\n\t\t);\n}\n", | |
"description": "create react FunctionComponent" | |
}, | |
"fc": { | |
"prefix": "fc", | |
"body": "interface $1Props {\n\t$3\n}\n\nconst $1: React.FC<$1Props> = () => {\n\t$4\n}\n", | |
"description": "function component" | |
}, | |
"ds": { | |
"prefix": "ds", | |
"body": "const { $1 } = state;", | |
"description": " destructoring states" | |
}, | |
"cmt": { | |
"prefix": "cmt", | |
"body": "/* ------------- $1 ------------- */", | |
"description": "cmt" | |
}, | |
"lodash": { | |
"prefix": "lodash", | |
"body": "import _ from \"lodash\"", | |
"description": "lodash" | |
}, | |
"func": { | |
"prefix": "func", | |
"body": "const $1 = ( $2 ) => { $3 }", | |
"description": "func const" | |
}, | |
"useMemoOne": { | |
"prefix": "useMemoOne", | |
"body": "const {} = useMemoOne(() => ({\n\t$1\t\t\n}),[])", | |
"description": "useMemoOne" | |
}, | |
"eslint": { | |
"prefix": "eslint", | |
"body": "// eslint-disable-next-line", | |
"description": "Description" | |
}, | |
"uss": { | |
"prefix": "uss", | |
"body": "const [$1, set${2:$1}] = React.useState(${3:''})", | |
"description": "useState" | |
}, | |
"use": { | |
"prefix": "use", | |
"body": "React.useEffect(() => {\n $1\n},[])", | |
"description": "useEffect" | |
}, | |
"user": { | |
"prefix": "user", | |
"body": "React.useEffect(() => {\n $1\n\treturn () => {\n $2\n\t};\n},[])", | |
"description": "useEffect with return" | |
}, | |
"usc": { | |
"prefix": "usc", | |
"body": "const $1 = React.useContext($2)", | |
"description": "useContext" | |
}, | |
"uscb": { | |
"prefix": "uscb", | |
"body": "React.useCallback(\n\t() => {\n\t\t$1\n\t},\n\t[$2],\n)${0:;}", | |
"description": "useCallback" | |
}, | |
"usm": { | |
"prefix": "usm", | |
"body": "const $1 = React.useMemo(() => {\n\t$2\n}, [$3])", | |
"description": "useMemo" | |
}, | |
"usrf": { | |
"prefix": "usrf", | |
"body": "const $1 = React.useRef($2)", | |
"description": "useRef" | |
}, | |
"useThemes": { | |
"prefix": "useThemes", | |
"body": "const { color } = useThemes()", | |
"description": "Description" | |
}, | |
"cl": { | |
"prefix": "cl", | |
"body": "console.log(\"$1\", $1)", | |
"description": "Description" | |
}, | |
"useHistory": { | |
"prefix": "useHistory", | |
"body": "const history = useHistory()", | |
"description": "Description" | |
}, | |
"v4": { | |
"prefix": "v4", | |
"body": "import { v4 } from 'uuid'", | |
"description": "v4" | |
}, | |
"process": { | |
"prefix": "process", | |
"body": "process.env.PUBLIC_URL", | |
"description": "Description" | |
}, | |
"icx": { | |
"prefix": "icx", | |
"body": "import cx from \"classnames\"", | |
"description": "import classnames" | |
}, | |
"fragment": { | |
"prefix": "fragment", | |
"body": "<>\n\t$1\n</>", | |
"description": "fragment" | |
}, | |
"muiBtn": { | |
"prefix": "muiBtn", | |
"body": "<Button variant=\"contained\" color=\"primary\">$1</Button>", | |
"description": "mui button contained primary" | |
}, | |
"muiUseStyles": { | |
"prefix": "muiUseStyles", | |
"body": "import { makeStyles, createStyles } from \"@material-ui/core\"\n\nconst useStyles = makeStyles((theme: Theme) =>\n\tcreateStyles({\n\t\t$1\t\n\t}),\n)\n", | |
"description": "create useStyle mui" | |
}, | |
"constfc": { | |
"prefix": "constfc", | |
"body": "const $1 = () => {\n\treturn null\n}\n", | |
"description": "const fc" | |
}, | |
"piscsum": { | |
"prefix": "piscsum", | |
"body": "https://picsum.photos/350/350", | |
"description": "photo piscsum" | |
}, | |
"zustand": { | |
"prefix": "zustand", | |
"body": "interface $1State{\n\n}\n\nexport const [$1] = create<$1State>(\n\tpersist(\"$2\")(\n\t\timmer((set: any,get: any)=>({\n\t\t\t$3\n\t\t}))\n\t)\n)", | |
"description": "create zustand" | |
}, | |
"cx": { | |
"prefix": "cx", | |
"body": "className={cx(\"$1\")}", | |
"description": "className with cx" | |
}, | |
"class": { | |
"prefix": "class", | |
"body": "className={(\"$1\")}", | |
"description": "className with cx" | |
}, | |
"className": { | |
"prefix": "className", | |
"body": "className={(\"$1\")}", | |
"description": "className with cx" | |
}, | |
"fca": { | |
"prefix": "fca", | |
"body": "() => { $1 }", | |
"description": "function arrow without any param" | |
}, | |
"afc": { | |
"prefix": "afc", | |
"body": "() => { $1 }", | |
"description": "function arrow without any param" | |
}, | |
"()=>": { | |
"prefix": "()=>", | |
"body": "() => { $1 }", | |
"description": "function arrow without any param" | |
}, | |
"Styled": { | |
"prefix": "Styled", | |
"body": "const Styled$1= styled.main.attrs({\n\tclassName: \"\",\n})``", | |
"description": "Styled component with tailwind" | |
}, | |
"lorem": { | |
"prefix": "lorem", | |
"body": "\"There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour,\"", | |
"description": "loremedium" | |
}, | |
"loremshort": { | |
"prefix": "loremshort", | |
"body": "\"Lorem Ipsum is simply dummy text of the printing\"", | |
"description": "short" | |
}, | |
"loremlong": { | |
"prefix": "loremlong", | |
"body": "\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\"", | |
"description": "lorem long" | |
}, | |
"styled": { | |
"prefix": "styled", | |
"body": "const $1 = styled($2)(p=>({\n\t$3\n}))", | |
"description": "const styled component" | |
}, | |
"cstyled": { | |
"prefix": "cstyled", | |
"body": "const $1 = styled($2)(p=>({\n\t$3\n}))", | |
"description": "const styled component" | |
}, | |
"csty": { | |
"prefix": "csty", | |
"body": "const $1 = styled($2)(p=>({\n\t$3\n}))", | |
"description": "const styled component" | |
}, | |
"sd": { | |
"prefix": "sd", | |
"body": "const $1 = styled(${2:View})({\n\t$3\n})", | |
"description": "const styled component" | |
}, | |
"sdview": { | |
"prefix": "sdview", | |
"body": "const $1 = styled(View)({\n\t\n})", | |
"description": "Styled view component" | |
}, | |
"sdtext": { | |
"prefix": "sdtext", | |
"body": "const $1 = styled(Text)({\n\n})", | |
"description": "Styled Text component" | |
}, | |
"sdprops": { | |
"prefix": "sdprops", | |
"body": "${( p )=> \\`\n\t$1\n\\`}", | |
"description": "styled props" | |
}, | |
"jcmt": { | |
"prefix": "jcmt", | |
"body": "{/**----------- $1 ----------------*/}", | |
"description": "jsxcommet" | |
}, | |
"ira": { | |
"prefix": "ira", | |
"body": "import Animated, {\n\t// @ts-ignore\n\tuseAnimatedGestureHandler,\n\t// @ts-ignore\n\tuseAnimatedStyle,\n\t// @ts-ignore\n\tuseSharedValue,\n\t// @ts-ignore\n\twithSpring,\n} from \"react-native-reanimated\"", | |
"description": "import reanimated" | |
}, | |
"gestureHandler": { | |
"prefix": "gestureHandler", | |
"body": "const gestureHandler = useAnimatedGestureHandler({\n\t\tonStart: (_, ctx) => {\n\t\t\tctx.startX = x.value\n\t\t},\n\t\tonActive: (event, ctx) => {\n\t\t\tx.value = ctx.startX + event.translationX\n\t\t},\n\t\tonEnd: _ => {\n\t\t\tx.value = withSpring(0)\n\t\t},\n\t}", | |
"description": "get gestureHandler" | |
}, | |
"useAnimatedStyle": { | |
"prefix": "useAnimatedStyle", | |
"body": "const $1 = useAnimatedStyle(()=>{\n\treturn {\n\t\t$2\n\t}\n})", | |
"description": "useAnimatedStyle" | |
}, | |
"transform": { | |
"prefix": "transform", | |
"body": "transform: [{ $1 }, ],", | |
"description": "transform style" | |
}, | |
"sizedbox": { | |
"prefix": "sizedbox", | |
"body": "<SizedBox h={${1:4}} />", | |
"description": "SizedBox" | |
}, | |
"map": { | |
"prefix": "map", | |
"body": "{$1.map((v, i) => {\n\t$2\n})}", | |
"description": "map jsx" | |
}, | |
"antpage": { | |
"prefix": "antpage", | |
"body": "import { PageContainer } from '@ant-design/pro-layout'\nimport { Card } from 'antd'\nimport React from 'react'\n\nexport default (): React.ReactNode => {\n\treturn (\n\t\t<PageContainer>\n\t\t\t<Card></Card>\n\t\t</PageContainer>\n\t)\n}", | |
"description": "ant new page" | |
}, | |
"onError": { | |
"prefix": "onError", | |
"body": "const onError = (e) => enqueueSnackbar(e, { variant: \"warning\" })", | |
"description": "onError create" | |
}, | |
"loading": { | |
"prefix": "loading", | |
"body": "const loading = isFetching\nif(loading) return <AppLoading />\n", | |
"description": "loading" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment