Last active
August 20, 2020 18:56
-
-
Save tiffwu/85dba64a511358e547d43841f957b550 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-08-20T18:56:23.589Z","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": "2aa040bf-c73a-455d-8946-5c6cc83b8019", | |
"publisherId": "wmaurer.change-case", | |
"publisherDisplayName": "wmaurer" | |
}, | |
"name": "change-case", | |
"publisher": "wmaurer", | |
"version": "1.0.0" | |
}, | |
{ | |
"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": "2af9804f-e314-40e5-9387-d05799778a27", | |
"publisherId": "stringham.cursor-move", | |
"publisherDisplayName": "stringham" | |
}, | |
"name": "cursor-move", | |
"publisher": "stringham", | |
"version": "0.0.7" | |
}, | |
{ | |
"metadata": { | |
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.12.10" | |
}, | |
{ | |
"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": "3e8a391a-f3f0-44b2-8631-7847b0c8839a", | |
"publisherId": "kumar-harsh.graphql-for-vscode", | |
"publisherDisplayName": "kumar-harsh" | |
}, | |
"name": "graphql-for-vscode", | |
"publisher": "kumar-harsh", | |
"version": "1.15.3" | |
}, | |
{ | |
"metadata": { | |
"id": "ea890c5b-b843-4319-ad64-f6c143a9537b", | |
"publisherId": "alekseychaikovsky.line-jumper", | |
"publisherDisplayName": "alekseychaikovsky" | |
}, | |
"name": "line-jumper", | |
"publisher": "alekseychaikovsky", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92", | |
"publisherId": "azemoh.one-monokai", | |
"publisherDisplayName": "azemoh" | |
}, | |
"name": "one-monokai", | |
"publisher": "azemoh", | |
"version": "0.4.6" | |
}, | |
{ | |
"metadata": { | |
"id": "96c4f594-dc9b-4f16-be37-99a4680493b6", | |
"publisherId": "axiomaticstudios.one-monokai-80s", | |
"publisherDisplayName": "axiomaticstudios" | |
}, | |
"name": "one-monokai-80s", | |
"publisher": "axiomaticstudios", | |
"version": "1.3.16" | |
}, | |
{ | |
"metadata": { | |
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90", | |
"publisherId": "esbenp.prettier-vscode", | |
"publisherDisplayName": "esbenp" | |
}, | |
"name": "prettier-vscode", | |
"publisher": "esbenp", | |
"version": "5.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "ruby", | |
"publisher": "rebornix", | |
"version": "0.27.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": "b0e186eb-1506-4295-8f94-6fd2e9455c07", | |
"publisherId": "anoff.theme-monokai-light", | |
"publisherDisplayName": "anoff" | |
}, | |
"name": "theme-monokai-light", | |
"publisher": "anoff", | |
"version": "1.2.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.17" | |
}, | |
{ | |
"metadata": { | |
"id": "3acfcc8d-a050-4675-8e49-cdc9f8945404", | |
"publisherId": "naumovs.theme-oceanicnext", | |
"publisherDisplayName": "naumovs" | |
}, | |
"name": "theme-oceanicnext", | |
"publisher": "naumovs", | |
"version": "0.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "a225bb1b-d82f-4036-953e-293523b9eb71", | |
"publisherId": "bibhasdn.unique-lines", | |
"publisherDisplayName": "bibhasdn" | |
}, | |
"name": "unique-lines", | |
"publisher": "bibhasdn", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "445ba381-f232-4150-9056-d790bd76d698", | |
"publisherId": "kamikillerto.vscode-colorize", | |
"publisherDisplayName": "kamikillerto" | |
}, | |
"name": "vscode-colorize", | |
"publisher": "kamikillerto", | |
"version": "0.8.17" | |
}, | |
{ | |
"metadata": { | |
"id": "5f362e62-15b7-4fd3-a839-3a240d18c49d", | |
"publisherId": "clinyong.vscode-css-modules", | |
"publisherDisplayName": "clinyong" | |
}, | |
"name": "vscode-css-modules", | |
"publisher": "clinyong", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.8" | |
}, | |
{ | |
"metadata": { | |
"id": "8699dfcb-4beb-4760-b976-c46dcdd87df2", | |
"publisherId": "KnisterPeter.vscode-github", | |
"publisherDisplayName": "KnisterPeter" | |
}, | |
"name": "vscode-github", | |
"publisher": "KnisterPeter", | |
"version": "0.30.3" | |
}, | |
{ | |
"metadata": { | |
"id": "dd5a2c83-ad8c-4839-a529-0644e5acb646", | |
"publisherId": "mgmcdermott.vscode-language-babel", | |
"publisherDisplayName": "mgmcdermott" | |
}, | |
"name": "vscode-language-babel", | |
"publisher": "mgmcdermott", | |
"version": "0.0.29" | |
}, | |
{ | |
"metadata": { | |
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643", | |
"publisherId": "DavidAnson.vscode-markdownlint", | |
"publisherDisplayName": "DavidAnson" | |
}, | |
"name": "vscode-markdownlint", | |
"publisher": "DavidAnson", | |
"version": "0.36.3" | |
}, | |
{ | |
"metadata": { | |
"id": "03b20f74-9504-4130-a12f-af9808985b37", | |
"publisherId": "Rubymaniac.vscode-paste-and-indent", | |
"publisherDisplayName": "Rubymaniac" | |
}, | |
"name": "vscode-paste-and-indent", | |
"publisher": "Rubymaniac", | |
"version": "0.0.8" | |
}, | |
{ | |
"metadata": { | |
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b", | |
"publisherId": "wingrunr21.vscode-ruby", | |
"publisherDisplayName": "wingrunr21" | |
}, | |
"name": "vscode-ruby", | |
"publisher": "wingrunr21", | |
"version": "0.27.0" | |
}, | |
{ | |
"metadata": { | |
"id": "beb68b20-7c55-471c-9b63-3486f9423566", | |
"publisherId": "mrmlnc.vscode-scss", | |
"publisherDisplayName": "mrmlnc" | |
}, | |
"name": "vscode-scss", | |
"publisher": "mrmlnc", | |
"version": "0.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3fb77af3-b8b3-4cb9-9137-f555bd80e2b1", | |
"publisherId": "richie5um2.vscode-sort-json", | |
"publisherDisplayName": "richie5um2" | |
}, | |
"name": "vscode-sort-json", | |
"publisher": "richie5um2", | |
"version": "1.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db", | |
"publisherId": "cssho.vscode-svgviewer", | |
"publisherDisplayName": "cssho" | |
}, | |
"name": "vscode-svgviewer", | |
"publisher": "cssho", | |
"version": "2.0.0" | |
}, | |
{ | |
"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" | |
} | |
] |
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": "ctrl+left", | |
"command": "cursorWordPartLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "cursorWordPartLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "cursorWordPartRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "cursorWordPartRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "deleteWordPartLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+delete", | |
"command": "deleteWordPartRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+right", | |
"command": "cursor-move.CursorWordEndRight", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "-cursor-move.CursorWordEndRight", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+right", | |
"command": "cursor-move.CursorWordEndRightSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+right", | |
"command": "-cursor-move.CursorWordEndRightSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+left", | |
"command": "cursor-move.CursorWordStartLeft", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+left", | |
"command": "-cursor-move.CursorWordStartLeft", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+left", | |
"command": "cursor-move.CursorWordStartLeftSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+left", | |
"command": "-cursor-move.CursorWordStartLeftSelect", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+k cmd+e", | |
"command": "eslint.executeAutofix" | |
}, | |
{ | |
"key": "alt+cmd+up", | |
"command": "editor.action.openDeclarationToTheSide", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+k f12", | |
"command": "-editor.action.openDeclarationToTheSide", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "cmd+k g", | |
"command": "vscode-github.browseCurrentFile" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "javascriptBooster.extendSelection", | |
"when": "editorTextFocus && ['javascript', 'typescript'].includes(resourceLangId)" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "javascriptBooster.shrinkSelection", | |
"when": "editorTextFocus && ['javascript', 'typescript'].includes(resourceLangId)" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "editor.action.smartSelect.grow", | |
"when": "editorTextFocus && !['javascript', 'typescript'].includes(resourceLangId)" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "editor.action.smartSelect.shrink", | |
"when": "editorTextFocus && !['javascript', 'typescript'].includes(resourceLangId)" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+right", | |
"command": "-editor.action.smartSelect.grow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+left", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+cmd+i", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "-workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+cmd+]", | |
"command": "workbench.action.nextEditor" | |
}, | |
{ | |
"key": "ctrl+cmd+[", | |
"command": "workbench.action.previousEditor" | |
}, | |
{ | |
"key": "ctrl+cmd+]", | |
"command": "workbench.action.nextSideBarView", | |
"when": "sideBarFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+[", | |
"command": "workbench.action.previousSideBarView", | |
"when": "sideBarFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+]", | |
"command": "workbench.action.nextPanelView", | |
"when": "panelFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+[", | |
"command": "workbench.action.previousPanelView", | |
"when": "panelFocus" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "copyRelativeFilePath" | |
}, | |
{ | |
"key": "shift+alt+cmd+c", | |
"command": "-copyRelativeFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "-copyFilePath", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "alt+cmd+c", | |
"command": "-search.action.copyPath", | |
"when": "fileMatchOrFolderMatchFocus" | |
}, | |
{ | |
"key": "ctrl+alt+left", | |
"command": "-cursorWordPartLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+backspace", | |
"command": "-deleteWordPartLeft", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+alt+delete", | |
"command": "-deleteWordPartRight", | |
"when": "textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+alt+right", | |
"command": "-cursorWordPartRightSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+alt+right", | |
"command": "-cursorWordPartRight", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+shift+alt+left", | |
"command": "-cursorWordPartLeftSelect", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "pasteAndIndent.action", | |
"when": "editorTextFocus && !editorReadonly" | |
} | |
] |
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
{ | |
"[css]": { | |
"editor.quickSuggestions": { | |
"comments": false, | |
"other": false, | |
"strings": false | |
} | |
}, | |
"breadcrumbs.enabled": true, | |
"colorize.files_extensions": [], | |
"colorize.hide_current_line_decorations": true, | |
"colorize.languages": [ | |
"sass" | |
], | |
"diffEditor.ignoreTrimWhitespace": true, | |
"editor.emptySelectionClipboard": false, | |
"editor.fontFamily": "Office Code Pro D", | |
"editor.overviewRulerBorder": false, | |
"editor.renderControlCharacters": true, | |
"editor.renderWhitespace": "none", | |
"editor.scrollBeyondLastLine": false, | |
"editor.snippetSuggestions": "top", | |
"editor.suggest.localityBonus": true, | |
"editor.tabCompletion": "on", | |
"editor.tabSize": 2, | |
"editor.wordWrapColumn": 100, | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"jsx-sublime-babel-tags": "javascriptreact", | |
"typescript": "typescriptreact" | |
}, | |
"emmet.showExpandedAbbreviation": "always", | |
"emmet.triggerExpansionOnTab": true, | |
"eslint.nodePath": "node-server/node_modules", | |
"explorer.confirmDragAndDrop": false, | |
"extensions.ignoreRecommendations": false, | |
"files.associations": { | |
"*.jsx": "javascriptreact", | |
"*.tsx": "typescriptreact" | |
}, | |
"files.exclude": { | |
"**/.sass-cache": true, | |
"**/log": true, | |
"**/node_modules": true, | |
"**/npm-debug.log": true, | |
"**/tmp": true, | |
".pry_history": true | |
}, | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"files.trimTrailingWhitespace": true, | |
"git.enableSmartCommit": true, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, | |
"suppressResultsExplorerNotice": false, | |
"suppressShowKeyBindingsNotice": true, | |
"suppressUpdateNotice": false, | |
"suppressWelcomeNotice": true | |
}, | |
"gitlens.codeLens.scopes": [ | |
"document" | |
], | |
"gitlens.keymap": "chorded", | |
"javascript.implicitProjectConfig.checkJs": true, | |
"ruby.codeCompletion": "rcodetools", | |
"ruby.intellisense": "rubyLocate", | |
"ruby.lint": { | |
"rubocop": true | |
}, | |
"ruby.lintDebounceTime": 250, | |
"search.exclude": { | |
"**/.next": true, | |
"**/schema.graphql": true, | |
"**/schema.json": true, | |
"**/schema.server.ts": true | |
}, | |
"search.showLineNumbers": true, | |
"sync.autoDownload": true, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"sync.gist": "85dba64a511358e547d43841f957b550", | |
"sync.quietSync": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"terminal.integrated.fontSize": 14, | |
"terminal.integrated.rendererType": "dom", | |
"window.zoomLevel": 0, | |
"workbench.colorCustomizations": { | |
"[Monokai Light]": { | |
"editorIndentGuide.activeBackground": "#9F9F8F" | |
}, | |
"[Oceanic Next (dimmed bg)]": { | |
"editor.lineHighlightBackground": "#65737e35", | |
"editorIndentGuide.background": "#343d46" | |
}, | |
"[One Monokai 80s]": { | |
"editorIndentGuide.activeBackground": "#505762", | |
"panel.background": "#24282E", | |
"statusBar.background": "#21252b", | |
"terminal.ansiBrightBlack": "#797C81" | |
}, | |
"[One Monokai]": { | |
"statusBar.background": "#181A1F" | |
} | |
}, | |
"workbench.colorTheme": "Monokai Pro", | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.editor.highlightModifiedTabs": true, | |
"workbench.iconTheme": "Monokai Pro Icons", | |
"editor.fontSize": 13 | |
} |
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 Babel JavaScript 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
{ | |
/* | |
// Place your snippets for JavaScript React 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" | |
} | |
*/ | |
"Import local styles": { | |
"prefix": "impst", | |
"body": [ | |
"import styles from './style.sass';" | |
], | |
"description": "Imports from style.sass in this folder" | |
}, | |
"Import PropTypes": { | |
"prefix": "imppt", | |
"body": [ | |
"import PropTypes from 'prop-types';" | |
], | |
"description": "Imports the PropTypes library" | |
}, | |
"Import classNames": { | |
"prefix": "impcn", | |
"body": [ | |
"import classNames from 'classnames';" | |
], | |
"description": "Imports the Classnames library" | |
}, | |
"Empty propTypes declaration": { | |
"prefix": "rpt", | |
"body": [ | |
"$1.propTypes = {", | |
" $2", | |
"};" | |
], | |
"description": "Creates empty propTypes declaration" | |
}, | |
"Stateless functional component skeleton": { | |
"prefix": "rsfc", | |
"body": [ | |
"import React from 'react';", | |
"import PropTypes from 'prop-types';", | |
"", | |
"export default function ${1:componentName}(props) {", | |
" return (", | |
" <div>", | |
" ", | |
" </div>", | |
" );", | |
"};", | |
"", | |
"${1:componentName}.propTypes = {", | |
"", | |
"};", | |
"", | |
"${1:componentName}.defaultProps = {", | |
"", | |
"};" | |
], | |
"description": "Creates empty propTypes declaration" | |
}, | |
"className": { | |
"prefix": "cn", | |
"body": [ | |
"className" | |
], | |
"description": "className" | |
}, | |
"Property on styles object": { | |
"prefix": "sty", | |
"body": [ | |
"styles." | |
], | |
"description": "Adds reference to styles object for property access" | |
}, | |
"Try/catch": { | |
"prefix": "try", | |
"body": [ | |
"try {", | |
" $1", | |
"} catch (err) {", | |
" $2", | |
"}" | |
], | |
"description": "Adds a try/catch block" | |
} | |
} |
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 Sass 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" | |
} | |
*/ | |
"rhythm": { | |
"prefix": "rh", | |
"body": [ | |
"rhythm($1)" | |
], | |
"description": "Adds a vertical rhythm call" | |
}, | |
"import talent": { | |
"prefix": "imptal", | |
"body": [ | |
"@import partials/lib/talent" | |
], | |
"description": "Imports shared talent styles" | |
} | |
} |
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" | |
// } | |
"rhythm()": { | |
"prefix": "rh", | |
"body": [ | |
"rhythm($1)" | |
], | |
"description": "Adds a vertical rhythm call" | |
}, | |
"import base styles": { | |
"prefix": "impbase", | |
"body": [ | |
"@import 'styles/base';" | |
], | |
"description": "Imports base stylesheet" | |
}, | |
"generate styles.scss": { | |
"prefix": "gen", | |
"body": [ | |
"@import 'styles/base';", | |
"", | |
".component {", | |
" $1", | |
"}" | |
], | |
"description": "Generates scaffold" | |
} | |
} |
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 typescriptreact 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" | |
// } | |
"Import local styles": { | |
"prefix": "impst", | |
"body": [ | |
"import styles from './styles.scss';" | |
], | |
"description": "Imports from styles.scss in this folder" | |
}, | |
"Import classNames": { | |
"prefix": "impcn", | |
"body": [ | |
"import classNames from 'classnames';" | |
], | |
"description": "Imports the classnames library" | |
}, | |
"className": { | |
"prefix": "cn", | |
"body": [ | |
"className" | |
], | |
"description": "className" | |
}, | |
"classNames()": { | |
"prefix": "cns", | |
"body": [ | |
"classNames($1)" | |
], | |
"description": "classNames function call" | |
}, | |
"Property on styles object": { | |
"prefix": "sty", | |
"body": [ | |
"styles." | |
], | |
"description": "Adds reference to styles object for property access" | |
}, | |
"Try/catch": { | |
"prefix": "try", | |
"body": [ | |
"try {", | |
" $1", | |
"} catch (err) {", | |
" $2", | |
"}" | |
], | |
"description": "Adds a try/catch block" | |
}, | |
"React functional component": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from 'react';", | |
"", | |
"import styles from './styles.scss';", | |
"", | |
"interface Props {", | |
" ${3}", | |
"}", | |
"", | |
"export default function ${1:ComponentName}(props: Props) {", | |
" return (", | |
" ${2}", | |
" );", | |
"}", | |
], | |
"description": "Adds a try/catch block" | |
}, | |
} |
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
{"version":"7.17.0","status":2,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment