jon-thompson
1/17/2018 - 5:10 PM

Visual Studio Code Settings Sync Gist

Visual Studio Code Settings Sync Gist

{
/*
	// Place your snippets for 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"
	}
*/
	"describe": {
		"prefix": "desc",
		"body": [
			"describe('${1:something}', () => {",
			"  $2",
			"});"
		]
	},
	"it": {
		"prefix": "it",
		"body": [
			"it('${1:does something}', () => {",
			"  $2",
			"});"
		]
	},
	"expect": {
		"prefix": "ex",
		"body": [
			"expect(${1:something}).${2:toBe}(${3:something else});"
		]
	},
	"import React": {
		"prefix": "r",
		"body": [
			"import React from 'react';"
		]
	},
	"import PropTypes": {
		"prefix": "pt",
		"body": [
			"import PropTypes from 'prop-types';"
		]
	},
	"import shallow": {
		"prefix": "sh",
		"body": [
			"import { shallow } from 'enzyme';"
		]
	},
	"import ramda": {
		"prefix": "ra",
		"body": [
			"import { $ } from 'ramda';"
		]
	},
	"import connect": {
		"prefix": "con",
		"body": [
			"import { connect } from 'react-redux';"
		]
	},
	"spy": {
		"prefix": "spy",
		"body": [
			"const ${1:spy} = jasmine.createSpy();"
		]
	},
	"beforeEach": {
		"prefix": "be",
		"body": [
			"beforeEach(() => {",
			"  $1",
			"});"
		]
	},
	"component test": {
		"prefix": "ct",
		"body": [
			"import React from 'react';",
			"import { shallow } from 'enzyme';",
			"",
			"import ${1:MyComponent} from '../$1';",
			"",
			"describe('$1', () => {",
			"  it('${2:renders as expected}', () => {",
			"    const component = shallow(<$1 $3/>);",
			"",
			"    expect(component).toMatchSnapshot();",
			"  });",
			"});",
			""
		]
	},
	"connected component test": {
		"prefix": "cct",
		"body": [
			"import React from 'react';",
			"import { shallow } from 'enzyme';",
			"",
			"import ${1:MyComponent} from '../$1';",
			"",
			"describe('$1', () => {",
			"  describe('WrappedComponent', () => {",
			"    it('${2:renders as expected}', () => {",
			"      const component = shallow(<$1.WrappedComponent $3/>);",
			"",
			"      expect(component).toMatchSnapshot();",
			"    });",
			"  });",
			"});",
			""
		]
	},
	"component function": {
		"prefix": "cf",
		"body": [
			"import React from 'react';",
			"import PropTypes from 'prop-types';",
			"",
			"const ${1:MyComponent} = ($2) => (",
			"  $4",
			");",
			"",
			"$1.propTypes = {",
			"  $3",
			"};",
			"",
			"export default $1;",
			""
		]
	},
	"component class": {
		"prefix": "cc",
		"body": [
			"import React from 'react';",
			"import PropTypes from 'prop-types';",
			"",
			"class ${1:MyComponent} extends React.Component {",
			"  constructor(props) {",
			"    super(props);",
			"  }",
			"",
			"  render() {",
			"    return ${4:<p />};",
			"  }",
			"}",
			"",
			"$1.propTypes = {",
			"  $3",
			"};",
			"",
			"export default $1;",
			""
		]
	},
	"connected component function": {
		"prefix": "ccf",
		"body": [
			"import React from 'react';",
			"import PropTypes from 'prop-types';",
			"import { connect } from 'react-redux';",
			"",
			"const ${1:MyComponent}Unwrapped = ($2) => (",
			"  $4",
			");",
			"",
			"$1Unwrapped.propTypes = {",
			"  $3",
			"};",
			"",
			"const mapStateToProps = () => ({",
			"  $4",
			"});",
			"",
			"const $1 = connect(mapStateToProps)($1Unwrapped);",
			"",
			"$1.propTypes = {",
			"  $3",
			"};",
			"",
			"export default $1;",
			""
		]
	},
	"reducer initial test": {
		"prefix": "rit",
		"body": [
			"describe('${1:reducer}', () => {",
			"  it('should be ${2:value} initially', () => {",
			"    expect($1).toReturnInitialState($2);",
			"  });",
			"});"
		]
	},
	"reducer test": {
		"prefix": "rt",
		"body": [
			"it('should be ${1:something}', () => {",
			"  const state = ${2:''};",
			"  const action = ${3:{}};",
			"",
			"  expect(${4:reducer}(state, action)).${5:toBe}(${6:something});",
			"});"
		]
	}
}
// Place your settings in this file to overwrite the default settings
{
    "workbench.iconTheme": "seti",
    "workbench.colorTheme": "One Dark Pro",
    "editor.minimap.enabled": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "extensions.ignoreRecommendations": false,
    "window.zoomLevel": 0,
    "gitlens.annotations.file.gutter.heatmap.location": "left",
    "gitlens.blame.file.annotationType": "hover",
    "gitlens.blame.line.enabled": false,
    "git.confirmSync": false,
    "sync.gist": "49d4ec4e094f1e2a6591421f8b2793db",
    "sync.lastUpload": "2018-02-26T20:20:08.884Z",
    "sync.autoDownload": false,
    "sync.autoUpload": false,
    "sync.lastDownload": "2018-02-19T22:48:28.618Z",
    "sync.forceDownload": false,
    "sync.anonymousGist": false,
    "sync.host": "",
    "sync.pathPrefix": "",
    "sync.quietSync": false,
    "editor.snippetSuggestions": "top",
    "editor.tabSize": 2,
    "sync.askGistName": false,
    "gitlens.advanced.messages": {
        "suppressCommitHasNoPreviousCommitWarning": false,
        "suppressCommitNotFoundWarning": false,
        "suppressFileNotUnderSourceControlWarning": false,
        "suppressGitVersionWarning": false,
        "suppressLineUncommittedWarning": false,
        "suppressNoRepositoryWarning": false,
        "suppressResultsExplorerNotice": false,
        "suppressUpdateNotice": false,
        "suppressWelcomeNotice": true
    }
}
// Place your key bindings in this file to overwrite the defaults
[
    {
        "key": "ctrl+shift+1",
        "command": "workbench.action.terminal.focusAtIndex1"
    },
    {
        "key": "ctrl+shift+2",
        "command": "workbench.action.terminal.openNativeConsole",
        "when": "!terminalFocus"
    },
    {
        "key": "shift+cmd+c",
        "command": "-workbench.action.terminal.openNativeConsole",
        "when": "!terminalFocus"
    },
    {
        "key": "ctrl+shift+2",
        "command": "workbench.action.terminal.focusAtIndex2"
    },
    {
        "key": "ctrl+shift+3",
        "command": "workbench.action.terminal.focusAtIndex3"
    },
    {
        "key": "ctrl+shift+4",
        "command": "workbench.action.terminal.focusAtIndex4"
    }
]
[
  {
    "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": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
      "publisherId": "EditorConfig.EditorConfig",
      "publisherDisplayName": "EditorConfig"
    },
    "name": "EditorConfig",
    "publisher": "EditorConfig",
    "version": "0.12.1"
  },
  {
    "metadata": {
      "id": "4de763bd-505d-4978-9575-2b7696ecf94e",
      "publisherId": "eamodio.gitlens",
      "publisherDisplayName": "eamodio"
    },
    "name": "gitlens",
    "publisher": "eamodio",
    "version": "8.0.2"
  },
  {
    "metadata": {
      "id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
      "publisherId": "zhuangtongfa.Material-theme",
      "publisherDisplayName": "zhuangtongfa"
    },
    "name": "Material-theme",
    "publisher": "zhuangtongfa",
    "version": "2.12.4"
  },
  {
    "metadata": {
      "id": "113823f9-5297-490d-b919-4edf0e1ac48f",
      "publisherId": "asvetliakov.move-imports",
      "publisherDisplayName": "asvetliakov"
    },
    "name": "move-imports",
    "publisher": "asvetliakov",
    "version": "0.0.9"
  },
  {
    "metadata": {
      "id": "c7ccccce-e272-43df-883f-91f3de932890",
      "publisherId": "freebroccolo.reasonml",
      "publisherDisplayName": "freebroccolo"
    },
    "name": "reasonml",
    "publisher": "freebroccolo",
    "version": "1.0.26"
  },
  {
    "metadata": {
      "id": "85e57fc6-8e21-4402-8e66-af4155fbb5d2",
      "publisherId": "qinjia.seti-icons",
      "publisherDisplayName": "qinjia"
    },
    "name": "seti-icons",
    "publisher": "qinjia",
    "version": "0.1.3"
  },
  {
    "metadata": {
      "id": "f15d6127-5ea1-42c9-b6ac-b10e914370cf",
      "publisherId": "TsumiNa.Seti-theme",
      "publisherDisplayName": "TsumiNa"
    },
    "name": "Seti-theme",
    "publisher": "TsumiNa",
    "version": "0.0.1"
  },
  {
    "metadata": {
      "id": "b80129ef-d190-4ffd-80bf-7ebd643d53d1",
      "publisherId": "asvetliakov.snapshot-tools",
      "publisherDisplayName": "asvetliakov"
    },
    "name": "snapshot-tools",
    "publisher": "asvetliakov",
    "version": "0.0.7"
  },
  {
    "metadata": {
      "id": "5377d680-e3f1-43bc-a2a8-0386b693b58b",
      "publisherId": "cometeer.spacemacs",
      "publisherDisplayName": "cometeer"
    },
    "name": "spacemacs",
    "publisher": "cometeer",
    "version": "1.1.1"
  },
  {
    "metadata": {
      "id": "615094af-b033-4268-b1ad-964181f8eefa",
      "publisherId": "leizongmin.theme-lei",
      "publisherDisplayName": "leizongmin"
    },
    "name": "theme-lei",
    "publisher": "leizongmin",
    "version": "1.6.4"
  },
  {
    "metadata": {
      "id": "d960eabf-f421-4568-8be0-2633af2c37b0",
      "publisherId": "patrys.vscode-code-outline",
      "publisherDisplayName": "patrys"
    },
    "name": "vscode-code-outline",
    "publisher": "patrys",
    "version": "0.0.13"
  },
  {
    "metadata": {
      "id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
      "publisherId": "dbaeumer.vscode-eslint",
      "publisherDisplayName": "dbaeumer"
    },
    "name": "vscode-eslint",
    "publisher": "dbaeumer",
    "version": "1.4.6"
  },
  {
    "metadata": {
      "id": "6aef71bc-661a-4042-ad05-d2e190b39082",
      "publisherId": "moppitz.vscode-extension-auto-import",
      "publisherDisplayName": "moppitz"
    },
    "name": "vscode-extension-auto-import",
    "publisher": "moppitz",
    "version": "1.3.3"
  },
  {
    "metadata": {
      "id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
      "publisherId": "eg2.vscode-npm-script",
      "publisherDisplayName": "eg2"
    },
    "name": "vscode-npm-script",
    "publisher": "eg2",
    "version": "0.3.3"
  }
]
{"lastUpload":"2018-02-26T20:23:05.027Z","extensionVersion":"v2.8.7"}