Skip to content

Instantly share code, notes, and snippets.

@jaredwilli
Last active December 22, 2017 17:14
Show Gist options
  • Save jaredwilli/4c4c165c21db4069b58962bb95dc6910 to your computer and use it in GitHub Desktop.
Save jaredwilli/4c4c165c21db4069b58962bb95dc6910 to your computer and use it in GitHub Desktop.
New Mac Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-12-22T17:14:41.087Z","extensionVersion":"v2.8.7"}
[
{
"metadata": {
"id": "58bfc5c5-9e14-40cb-afb8-104bfe792328",
"publisherId": "RoscoP.ActiveFileInStatusBar",
"publisherDisplayName": "RoscoP"
},
"name": "ActiveFileInStatusBar",
"publisher": "RoscoP",
"version": "1.0.3"
},
{
"metadata": {
"id": "2e9fe0cb-4e63-42fc-a809-fb056aad49c3",
"publisherId": "stevencl.addDocComments",
"publisherDisplayName": "stevencl"
},
"name": "addDocComments",
"publisher": "stevencl",
"version": "0.0.8"
},
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.5"
},
{
"metadata": {
"id": "32339d9d-6481-4dd4-a7a3-4a6009c12cf4",
"publisherId": "JerryHong.autofilename",
"publisherDisplayName": "JerryHong"
},
"name": "autofilename",
"publisher": "JerryHong",
"version": "0.1.3"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "2.8.7"
},
{
"metadata": {
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.3.0"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.0.0"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.11.1"
},
{
"metadata": {
"id": "43335a8d-5929-408b-874a-65f08362642c",
"publisherId": "file-icons.file-icons",
"publisherDisplayName": "file-icons"
},
"name": "file-icons",
"publisher": "file-icons",
"version": "1.0.7"
},
{
"metadata": {
"id": "d6dc08a8-8614-47e3-9bd0-75dba31d4d9b",
"publisherId": "shaharkazaz.git-merger",
"publisherDisplayName": "shaharkazaz"
},
"name": "git-merger",
"publisher": "shaharkazaz",
"version": "0.3.6"
},
{
"metadata": {
"id": "24107fa3-c33a-4f36-b225-21775b32199f",
"publisherId": "letmaik.git-tree-compare",
"publisherDisplayName": "letmaik"
},
"name": "git-tree-compare",
"publisher": "letmaik",
"version": "1.1.4"
},
{
"metadata": {
"id": "b75c12ec-9a82-45e7-aac2-1687e509a76b",
"publisherId": "sidneys1.gitconfig",
"publisherDisplayName": "sidneys1"
},
"name": "gitconfig",
"publisher": "sidneys1",
"version": "1.0.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.2.3"
},
{
"metadata": {
"id": "aae00486-7e92-42b3-91b0-2b419e4f3875",
"publisherId": "vincaslt.highlight-matching-tag",
"publisherDisplayName": "vincaslt"
},
"name": "highlight-matching-tag",
"publisher": "vincaslt",
"version": "0.4.4"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.1.0"
},
{
"metadata": {
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b",
"publisherId": "oderwat.indent-rainbow",
"publisherDisplayName": "oderwat"
},
"name": "indent-rainbow",
"publisher": "oderwat",
"version": "0.7.2"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.5.0"
},
{
"metadata": {
"id": "8ee0c715-ca9e-4ce2-8841-5faa5e0f3255",
"publisherId": "andys8.jest-snippets",
"publisherDisplayName": "andys8"
},
"name": "jest-snippets",
"publisher": "andys8",
"version": "1.1.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.2.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": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.0.1"
},
{
"metadata": {
"id": "0651c571-eb76-44ed-8d63-f5df99fb2a2a",
"publisherId": "jalisimo.react-jest-vscode-snippets",
"publisherDisplayName": "jalisimo"
},
"name": "react-jest-vscode-snippets",
"publisher": "jalisimo",
"version": "0.0.3"
},
{
"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.1"
},
{
"metadata": {
"id": "c807e072-5951-4a01-9542-450f946c7ec1",
"publisherId": "xabikos.ReactSnippets",
"publisherDisplayName": "xabikos"
},
"name": "ReactSnippets",
"publisher": "xabikos",
"version": "1.7.0"
},
{
"metadata": {
"id": "e8b469bd-915d-4070-bfc2-05c9b546f8ee",
"publisherId": "jakob101.RelativePath",
"publisherDisplayName": "jakob101"
},
"name": "RelativePath",
"publisher": "jakob101",
"version": "1.0.0"
},
{
"metadata": {
"id": "e52bce95-a629-455f-8626-e7301b9e372a",
"publisherId": "robinbentley.sass-indented",
"publisherDisplayName": "robinbentley"
},
"name": "sass-indented",
"publisher": "robinbentley",
"version": "1.4.5"
},
{
"metadata": {
"id": "997fc03c-d81e-4815-8bd1-2c4f9a1ac1a5",
"publisherId": "glen-84.sass-lint",
"publisherDisplayName": "glen-84"
},
"name": "sass-lint",
"publisher": "glen-84",
"version": "1.0.1"
},
{
"metadata": {
"id": "ee108066-df8b-43ae-9a83-e6c11400a759",
"publisherId": "jasonnutter.search-node-modules",
"publisherDisplayName": "jasonnutter"
},
"name": "search-node-modules",
"publisher": "jasonnutter",
"version": "1.2.0"
},
{
"metadata": {
"id": "d6ba4b7b-539f-456a-b0f6-0348df44cdf3",
"publisherId": "nikitaKunevich.snippet-creator",
"publisherDisplayName": "nikitaKunevich"
},
"name": "snippet-creator",
"publisher": "nikitaKunevich",
"version": "0.0.4"
},
{
"metadata": {
"id": "b864db6b-8147-4ff8-b05a-f7c906c91f02",
"publisherId": "joshpeng.sublime-babel-vscode",
"publisherDisplayName": "joshpeng"
},
"name": "sublime-babel-vscode",
"publisher": "joshpeng",
"version": "0.2.9"
},
{
"metadata": {
"id": "186ace18-2b44-490d-863e-0bd29b229a27",
"publisherId": "formulahendry.terminal",
"publisherDisplayName": "formulahendry"
},
"name": "terminal",
"publisher": "formulahendry",
"version": "0.0.10"
},
{
"metadata": {
"id": "36aa2925-8674-432f-b123-03c32094c80f",
"publisherId": "gerane.Theme-Blackboard",
"publisherDisplayName": "gerane"
},
"name": "Theme-Blackboard",
"publisher": "gerane",
"version": "0.0.2"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "1.1.2"
},
{
"metadata": {
"id": "37d7747f-e652-4eac-83de-f2939f7e2121",
"publisherId": "anseki.vscode-color",
"publisherDisplayName": "anseki"
},
"name": "vscode-color",
"publisher": "anseki",
"version": "0.4.5"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.4.3"
},
{
"metadata": {
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b",
"publisherId": "sleistner.vscode-fileutils",
"publisherDisplayName": "sleistner"
},
"name": "vscode-fileutils",
"publisher": "sleistner",
"version": "2.7.1"
},
{
"metadata": {
"id": "080b70e0-a624-4c54-8d25-db2186ecf676",
"publisherId": "Dennitz.vscode-generact",
"publisherDisplayName": "Dennitz"
},
"name": "vscode-generact",
"publisher": "Dennitz",
"version": "1.0.4"
},
{
"metadata": {
"id": "829a192d-496c-44ac-87f3-0a84ce36a853",
"publisherId": "emmanuelbeziat.vscode-great-icons",
"publisherDisplayName": "emmanuelbeziat"
},
"name": "vscode-great-icons",
"publisher": "emmanuelbeziat",
"version": "2.1.22"
},
{
"metadata": {
"id": "510e1d4e-1f9e-4910-8dbd-627c6f8a9791",
"publisherId": "akamud.vscode-javascript-snippet-pack",
"publisherDisplayName": "akamud"
},
"name": "vscode-javascript-snippet-pack",
"publisher": "akamud",
"version": "0.1.5"
},
{
"metadata": {
"id": "7997a8ae-1fae-4022-b834-12f6318aeffd",
"publisherId": "Orta.vscode-jest",
"publisherDisplayName": "Orta"
},
"name": "vscode-jest",
"publisher": "Orta",
"version": "2.5.5"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.3"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "0.5.11"
},
{
"metadata": {
"id": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8",
"publisherId": "pflannery.vscode-versionlens",
"publisherDisplayName": "pflannery"
},
"name": "vscode-versionlens",
"publisher": "pflannery",
"version": "0.19.1"
},
{
"metadata": {
"id": "37f65113-9520-4561-86e6-7342505a3942",
"publisherId": "jeremyrajan.webpack",
"publisherDisplayName": "jeremyrajan"
},
"name": "webpack",
"publisher": "jeremyrajan",
"version": "2.0.2"
}
]
[
/**
* These are my keybindings, some that I've set as custom at the top.
* Others are just copied from the default keybindings.json file
* and I would just like to remember them and learn them well.
*/
{
"key": "cmd+q q",
"command": "workbench.action.quit"
},
{
"key": "cmd+alt+b",
"command": "_webview.openDevTools"
},
{
"key": "ctrl+cmd+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
// Learn these!
{
"key": "cmd+k cmd+k",
"command": "editor.action.defineKeybinding",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'json'"
},
{
"key": "shift+alt+f",
"command": "editor.action.formatDocument",
"when":
"editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+f",
"command": "editor.action.formatSelection",
"when":
"editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+up",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "shift+alt+i",
"command": "editor.action.insertCursorAtEndOfEachLineSelected",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+enter",
"command": "editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+\\",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+l",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+space",
"command": "editor.action.triggerParameterHints",
"when": "editorHasSignatureHelpProvider && editorTextFocus"
},
{
"key": "ctrl+space",
"command": "editor.action.triggerSuggest",
"when":
"editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+]",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+j",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+]",
"command": "editor.unfoldRecursively",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+c",
"command": "toggleFindCaseSensitive",
"when": "editorFocus"
},
{
"key": "cmd+k m",
"command": "workbench.action.editor.changeLanguageMode"
},
{
"key": "cmd+k p",
"command": "workbench.action.files.copyPathOfActiveFile"
},
{ "key": "ctrl+g", "command": "workbench.action.gotoLine" },
{
"key": "cmd+k cmd+r",
"command": "workbench.action.keybindingsReference"
},
{
"key": "cmd+k cmd+s",
"command": "workbench.action.openGlobalKeybindings"
},
{ "key": "ctrl+`", "command": "workbench.action.terminal.toggleTerminal" },
{ "key": "shift+cmd+=", "command": "workbench.action.zoomIn" },
{ "key": "cmd+=", "command": "workbench.action.zoomIn" },
{ "key": "shift+cmd+-", "command": "workbench.action.zoomOut" },
{ "key": "cmd+-", "command": "workbench.action.zoomOut" },
{ "key": "shift+cmd+m", "command": "workbench.actions.view.problems" },
{ "key": "shift+cmd+y", "command": "workbench.debug.action.toggleRepl" },
{ "key": "shift+alt+d", "command": "workbench.view.debug" },
{ "key": "shift+cmd+e", "command": "workbench.view.explorer" },
{ "key": "shift+cmd+x", "command": "workbench.view.extensions" },
{ "key": "ctrl+shift+g", "command": "workbench.view.scm" },
{
"key": "ctrl+tab",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+r",
"command": "workbench.action.quickOpenNavigateNextInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+q",
"command": "workbench.action.quickOpenNavigateNextInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
{ "key": "ctrl+alt+d ctrl+alt+d", "command": "docthis.documentThis" },
{
"key": "cmd+k cmd+n",
"command": "extension.search",
"when": "!terminalFocus"
},
{
"key": "ctrl+shift+j a",
"command": "cmstead.jsRefactor.convertToArrowFunction",
"when": "editorHasSelection"
},
{
"key": "ctrl+shift+j n",
"command": "cmstead.jsRefactor.convertToNamedFunction",
"when": "editorHasSelection"
},
{
"key": "ctrl+shift+j x",
"command": "cmstead.jsRefactor.exportFunction",
"when": "editorHasSelection"
}
]
{
// Defines VSCode's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
// Changing the value requires restarting VSCode.
"locale":"en"
}
{
// Debug
"debug.allowBreakpointsEverywhere": true,
"debug.inlineValues": true,
// Files
"files.autoSave": "onFocusChange",
"files.autoSaveDelay": 100,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.associations": {
// "*": "javascript",
".scss": "sass",
".sass": "sass",
".css": "css",
"*.yaml": "yaml",
"*.sh": "shellscript",
"*.php": "php",
".ackrc": "shellscript",
".aliases": "shellscript",
".brew": "shellscript",
".bash_profile": "shellscript",
".bash_prompt": "shellscript",
".bashrc": "shellscript",
".CFUserTextEncoding": "shellscript",
".curlrc": "shellscript",
".editorconfig": "shellscript",
".exports": "shellscript",
".extra": "shellscript",
".functions": "shellscript",
".gdbinit": "shellscript",
".gitattributes": "shellscript",
".gitconfig": "shellscript",
".gitignore": "shellscript",
".gvimrc": "shellscript",
".hgignore": "shellscript",
".hushlogin": "shellscript",
".inputrc": "shellscript",
".mkshrc": "shellscript",
".macos": "shellscript",
".node_repl_history": "shellscript",
".osx": "shellscript",
".profile": "shellscript",
".screenrc": "shellscript",
".tmux.conf": "shellscript",
".viminfo": "shellscript",
".vimrc": "shellscript",
".wgetrc": "shellscript",
".yarnrc": "shellscript",
".zsh": "shellscript",
".zlogin": "shellscript"
},
// Editor
"editor.fontFamily": "Hasklig, Cousine, Menlo, Monaco, monospace",
"editor.cursorStyle": "line-thin",
// - 'off' (disable wrapping),
// - 'on' (viewport wrapping),
// - 'wordWrapColumn' (wrap at `editor.wordWrapColumn`) or
// - 'bounded' (wrap at minimum of viewport and `editor.wordWrapColumn`).
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 80,
"editor.wrappingIndent": "indent",
"editor.minimap.enabled": true,
"editor.snippetSuggestions": "top", // top
"editor.tabCompletion": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.fontSize": 14,
// Controls the delay in ms after which quick suggestions will show up
"editor.quickSuggestionsDelay": 1,
// Controls if suggestions should automatically show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
// Window
"window.zoomLevel": 0,
"window.restoreWindows": "all",
"css.lint.duplicateProperties": "warning",
"html.format.endWithNewline": true,
// NewFile
// Default file extension to be used when no file is open.
"newFile.defaultFileExtension": ".js",
// SCSS
// Allows to display errors.
"scss.showErrors": false,
// VersionLens
// Token for making basic read only github api requests.
// When no token is provided then access to the github api is
// rate limited to 60 requests every 10 minutes or so.
"versionlens.github.accessToken":
"d4037e82a63e54cbf660062e342c47bfb6a702e9",
// Search
// Configure glob patterns for excluding files and folders in searches. Inherits all glob patterns from the files.exclude setting.
"search.exclude": {
"**/.git": true,
"**/coverage": true,
"**/node_modules": true,
"**/bower_components": true,
"**/tmp": true,
"**/build": true
},
// Workbench
"workbench.commandPalette.history": 0,
"workbench.fontAliasing": "default",
"workbench.startupEditor": "newUntitledFile",
"workbench.commandPalette.preserveInput": true,
"workbench.settings.openDefaultSettings": true,
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Blackboard",
"workbench.statusBar.visible": true,
"workbench.colorCustomizations": {
"activityBarBadge.background": "#FF7042",
"list.activeSelectionForeground": "#FF7042",
"list.inactiveSelectionForeground": "#FF7042",
"list.highlightForeground": "#FF7042",
"scrollbarSlider.activeBackground": "#FF704250",
"editorSuggestWidget.highlightForeground": "#FF7042",
"textLink.foreground": "#FF7042",
"progressBar.background": "#FF7042",
"pickerGroup.foreground": "#FF7042",
"tab.activeBorder": "#FF7042"
},
// Prettier
// Use 'prettier-Tint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from eslint rules.
"prettier.eslintIntegration": true,
"prettier.printWidth": 80,
"prettier.tabWidth": 4,
"prettier.singleQuote": true,
"prettier.useTabs": false,
"prettier.jsxBracketSameLine": true,
// "prettier.jsonEnable": ["json", "javascript", "sass", "css", "html"],
// JavaScript React
"[javascriptreact]": {},
// eslint
"eslint.enable": true,
"eslint.autoFixOnSave": false,
"eslint.packageManager": "yarn",
// Emmet
"emmet.showExpandedAbbreviation": "never",
"emmet.showAbbreviationSuggestions": false,
// Bracket pair colorizer
// Define paired characters and their shared color group
"bracketPairColorizer.forceUniqueOpeningColor": true,
"bracketPairColorizer.forceIterationColorCycle": true,
"bracketPairColorizer.consecutivePairColors": [
"()",
"[]",
"{}",
["Gold", "Orchid", "LightSkyBlue"],
"Red"
],
// Define paired characters and their color groups
"bracketPairColorizer.independentPairColors": [
["()", ["Gold", "Orchid", "LightSkyBlue"], "Red"],
["[]", ["Gold", "Orchid", "LightSkyBlue"], "Red"],
["{}", ["Gold", "Orchid", "LightSkyBlue"], "Red"]
],
// VSCode Exports Autocomplete
"vscode-exports-autocomplete.enable": "enable",
// set this to a higher value if 'on paste' is too aggressive for you
"vscode-exports-autocomplete.minimumWordLengthToImportOnPaste": 1,
// set this to false when you're annoyed by the stuff you get from your npm modules*
"vscode-exports-autocomplete.enableNpmDependencies": true,
// set this to true when you prefer spaces around curly braces
"vscode-exports-autocomplete.addSpacingAroundCurlyBraces": true,
// string to be used when indenting, default is two spaces
"vscode-exports-autocomplete.indentationOverride": "",
// Node module intellisense
// Scans builtin modules as well
"node-module-intellisense.scanBuiltinModules": true,
// Scans devDependencies as well
"node-module-intellisense.scanDevDependencies": true,
// Scans file modules as well
"node-module-intellisense.scanFileModules": true,
/**
* Scans alternative module paths (eg. Search on ${workspcaceRoot}/lib).
* Useful when using packages like (https://www.npmjs.com/package/app-module-path)
* to manage require paths folder.
*/
"node-module-intellisense.modulePaths": [],
// File module extensions
"node-module-intellisense.fileModuleExtensions": [
".js",
".jsx",
".vue",
".json"
],
// Git project manager
"gitProjectManager.baseProjectsFolders": [
"/Users/jaredw/Sites/_play/react/webernote",
"/Users/jaredw/Sites/_play/react/playground"
],
// TODO Highlight
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
"todohighlight.keywords": [
"DEBUG:",
"REVIEW:",
{
"text": "NOTE:",
"backgroundColor": "#dafa0c",
"color": "#000",
"overviewRulerColor": "grey"
},
{
"text": "FIXME:",
"backgroundColor": "#ff62be",
"color": "#fff",
"isWholeLine": false
},
{
"text": "HACK:",
"backgroundColor": "#ffab00",
"color": "#000",
"isWholeLine": false
},
{
"text": "TODO:",
"backgroundColor": "rgba(0, 0, 0, 1)",
"border": "1px solid #000",
"color": "red",
//NOTE: using borderRadius along with `border` or you will see nothing change
"borderRadius": "2px"
}
],
// highlight `TODO:`,`FIXME:` or content between parentheses
// "todohighlight.keywordsPattern": "TODO:|FIXME:|\\(([^)]+)\\)",
"todohighlight.defaultStyle": {
"color": "#000",
"backgroundColor": "#E91E63",
"border": "1px solid #000",
"borderRadius": "2px",
"cursor": "pointer",
"isWholeLine": false
},
"todohighlight.include": ["**/*.js", "**/*.json", "**/*.html", "**/*.scss"],
"todohighlight.exclude": [
"**/node_modules/**",
"**/bower_components/**",
"**/dist/**",
"**/build/**",
"**/.vscode/**",
"**/.github/**",
"**/_output/**",
"**/*.min.*",
"**/*.map",
"**/.next/**"
],
// Indent rainbow
// Defining custom colors instead of default "Rainbow" for dark backgrounds.
"indentRainbow.colors": [
"rgba(64, 64, 16, 0.3)",
"rgba(32, 64, 32, 0.3)",
"rgba(64, 32, 64, 0.3)",
"rgba(16, 48, 48, 0.3)",
"rgba(128, 32, 32, 0.3)"
],
// The delay in ms until the editor gets updated.
"indentRainbow.updateDelay": 10,
// The indent color if the number of spaces is not a multiple of "tabSize".
"indentRainbow.errorColor": "rgba(128,32,32,0.3)",
"indentRainbow.ignoreErrorLanguages": ["markdown", "plaintext"],
// Example of regular expression in JSON (note double backslash to escape characters)
"indentRainbow.ignoreLinePatterns": [
"/.*\\*.*/mg", // lines begining wit *
"/.*\\/\\/.*/g" // lines begininning with //
],
// Explorer
"explorer.confirmDragAndDrop": false,
// Material Theme
"materialTheme.cache.workbench.settings": {
"accent": "Orange",
"accentPrevious": "Acid Lime",
"themeColours": "Darker High Contrast"
},
// Sync settings
"sync.gist": "4c4c165c21db4069b58962bb95dc6910",
"sync.lastUpload": "2017-12-22T17:14:30.934Z",
"sync.autoDownload": false,
"sync.autoUpload": true,
"sync.lastDownload": "",
"sync.forceDownload": false,
"sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"[shellscript]": {},
/**
* JavaScript Settings
*/
// Always include all words from the current document.
"javascript.suggest.alwaysAllWords": true,
// Complete functions with their parameter signature.
"javascript.suggest.useCodeSnippetsOnMethodSuggest": true,
// JS Validation
"javascript.validate.enable": false,
// JS Format
"javascript.format.enable": true,
// JavaScript Project Config
// including unique names from the file in JavaScript suggestion lists.
"javascript.nameSuggestions": false,
// JS Doc
"jsDocCompletion.enabled": true,
// PHP
"php.suggest.basic": false,
// TypeScript
// Complete functions with their parameter signature.
"typescript.useCodeSnippetsOnMethodSuggest": false,
// Enable/disable quick suggestions when typing out an import path.
"typescript.quickSuggestionsForPaths": false,
// Enable/disable auto import suggestions. Requires TypeScript >=2.6.1
"typescript.autoImportSuggestions.enabled": false,
"workbench.sideBar.location": "left"
}
{
"editorconfig": {
"prefix": ".ed",
"body": [
"# EditorConfig is awesome: http://EditorConfig.org",
"",
"# top-most EditorConfig file",
"root = true",
"",
"# Matches multiple files with brace expansion notation",
"# Set default charset",
"[*]",
"charset = utf-8",
"",
"# Unix-style newlines with a newline ending every file",
"[*]",
"end_of_line = lf",
"insert_final_newline = true",
"trim_trailing_whitespace = false",
"",
"# Trim or not trim",
"[*.{js,json,css}]",
"trim_trailing_whitespace = true",
"",
"# 4 space indentation",
"[*.json]",
"indent_style = space",
"indent_size = 4",
"",
"# Indentation override for all JS under lib directory",
"[*.{js,jsx,css,html}]",
"indent_style = space",
"indent_size = 4",
"",
"# 2 space indentation for yml",
"[*.yml]",
"indent_style = space",
"indent_size = 2",
""
],
"description": ".editorconfig file configuration that i like and think works good"
}
}
{
/*
// Place your snippets for Java 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"
}
*/
}
{
"Print to console": {
"prefix": "l",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"require": {
"prefix": "require",
"body": [
"const $1 = require('$1');"
],
"description": "require package when import is not available"
},
"module.exports": {
"prefix": "mod",
"body": [
"module.exports = {",
"",
"};"
],
"description": "module.exports object"
}
}
{
"Import React": {
"prefix": "irr",
"body": [
"import React from 'react';",
"$1"
],
"description": "Import React from react"
},
"Import Link": {
"prefix": "link",
"body": [
"import { Link, $1, $2 } from 'react-router-dom';",
"$3"
],
"description": "Import Link from react-router-dom"
},
"PropTypes": {
"prefix": "pt",
"body": [
"import PropTypes from 'prop-types';",
"",
"$1.propTypes = {",
" $2: PropTypes.$3,",
"};",
"$4"
],
"description": "Add the PropTypes block"
},
"React functional component": {
"prefix": "rfc",
"body": [
"import React from 'react';",
"",
"const $1 = ($2) => {",
" return (",
" <div>",
" $3",
" </div>",
" );",
"};",
"",
"export default $1;",
""
],
"description": "React function component the way I like it written"
},
"React functional component with PropTypes": {
"prefix": "rfcpt",
"body": [
"import React from 'react';",
"import PropTypes from 'prop-types';",
"",
"const $1 = ($2) => {",
" return (",
" <div>",
" $3",
" </div>",
" );",
"};",
"",
"$1.propTypes = {",
"",
"};",
"",
"export default $1;",
""
],
"description": "React function component with PropTypes the way I like it written"
},
"HOC_boilerplate": {
"prefix": "hoc",
"body": [
"import React from 'react';",
"",
"export default function(ComposedComponent) {",
" return class $1 extends React.Component {",
" render() {",
" return <ComposedComponent {...this.props} />;",
" };",
" };",
"}",
"$2",
""
],
"description": "Higher order component boilerplate"
},
"Action Creator": {
"prefix": "action",
"body": [
"export const $1 = $2 => dispatch => {",
" dispatch($3());",
"",
" $4",
"};",
"$5",
""
],
"description": "Action creator function definition"
},
"console.log": {
"prefix": "ll",
"body": [
"console.log($1);",
"$2",
""
],
"description": "Quick shortcut to console.log - double L"
},
"debugger;": {
"prefix": "dd",
"body": [
"debugger;",
"$1",
""
],
"description": "Quick shortcut to debugger - double D"
},
"connect": {
"prefix": "connect",
"body": [
"import { connect } from 'react-redux';"
],
"description": "import connect from react-redux"
},
"mapStateToProps": {
"prefix": "msp",
"body": [
"function mapStateToProps(state) {",
" return {",
" $1: state.$1",
" };",
"}",
"$2"
],
"description": "mapStateToProps function"
},
"export default function": {
"prefix": "exdf",
"body": [
"export default function($1) {",
" $2",
"}",
"$3"
],
"description": "export default function"
},
"sstate": {
"prefix": "sstate",
"body": [
"this.state = {",
" $1",
"};",
"$2"
],
"description": "this.state = {}"
}
}
{
"Functional Spread": {
"prefix": "fs",
"body": [
"import React from 'react';",
"",
"const VerticalSplitLayout = ({ ...props }) => {",
" return (",
" <HorizontalSplit",
" colLeft={<SomeSmartComponent />}",
" rightSide={<AnotherSmartComponent />}",
" />",
" );",
"};",
"",
"export default VerticalSplitLayout;",
""
],
"description": "functional spread props destructured paramerters component "
}
}
{
"token": "8c19f849cb508c2bf5d479f568edaf0b9fd6cd4b",
"id": "4fe702ad17b04106241a9237b6dff85e"
}
{"version":"7.18.1","status":2,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment