Skip to content

Instantly share code, notes, and snippets.

@avinashsivaraman
Created January 14, 2019 22:53
Show Gist options
  • Save avinashsivaraman/e8aac0ebfad253882e16500d88d88360 to your computer and use it in GitHub Desktop.
Save avinashsivaraman/e8aac0ebfad253882e16500d88d88360 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-14T22:53:28.865Z","extensionVersion":"v3.2.4"}
[
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.6"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.0.15"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.4.7"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.4"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "1.9.5"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "9.4.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.6.2"
},
{
"metadata": {
"id": "04414593-b135-430a-b0ef-5d9e3599de59",
"publisherId": "simsim0709.over-night-owl",
"publisherDisplayName": "simsim0709"
},
"name": "over-night-owl",
"publisher": "simsim0709",
"version": "0.1.1"
},
{
"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": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2018.12.1"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.176"
},
{
"metadata": {
"id": "7d236dd4-6af6-48f4-9464-6bf82ad36aaa",
"publisherId": "ban.spellright",
"publisherDisplayName": "ban"
},
"name": "spellright",
"publisher": "ban",
"version": "3.0.22"
},
{
"metadata": {
"id": "fb374ce1-5343-46c8-a425-900fdad15523",
"publisherId": "wesbos.theme-cobalt2",
"publisherDisplayName": "wesbos"
},
"name": "theme-cobalt2",
"publisher": "wesbos",
"version": "2.1.6"
},
{
"metadata": {
"id": "2d803fdd-31e6-4d11-a864-be81823ba991",
"publisherId": "ms-vscode.vs-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "vs-keybindings",
"publisher": "ms-vscode",
"version": "0.2.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.8.0"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.5"
},
{
"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": "beb68b20-7c55-471c-9b63-3486f9423566",
"publisherId": "mrmlnc.vscode-scss",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-scss",
"publisher": "mrmlnc",
"version": "0.6.2"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.1.2"
},
{
"metadata": {
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
"publisherId": "ms-vsliveshare.vsliveshare",
"publisherDisplayName": "ms-vsliveshare"
},
"name": "vsliveshare",
"publisher": "ms-vsliveshare",
"version": "0.3.1100"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+cmd+t",
"command": "workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "shift+space",
"command": "toggleSuggestionDetails",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+space",
"command": "-toggleSuggestionDetails",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "shift+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+up",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+down",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus"
},
{
"key": "alt+cmd+i",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+u",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
}
]
{
"name": "material-icon-theme",
"version": "2.1.0"
}
{
// Place your settings in this file to overwrite the default settings
"editor.detectIndentation": true,
"editor.fontSize": 16,
"editor.parameterHints.enabled": false,
"editor.fontFamily": "Fira Code, Monaco, 'Courier New', monospace",
"editor.rulers": [80],
"editor.snippetSuggestions": "top",
"editor.tabSize": 2,
"editor.renderWhitespace": "boundary",
"editor.glyphMargin": false,
"editor.folding": false,
"files.exclude": {
"USE_GITIGNORE": true
},
"javascript.suggest.autoImports": false,
"javascript.validate.enable": false,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/coverage": true,
"**/dist": true,
"**/build": true,
"**/.build": true,
"**/.gh-pages": true
},
"eslint.autoFixOnSave": false,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.options": {
"env": {
"browser": true,
"jest/globals": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-debugger": "off"
}
},
"terminal.integrated.experimentalBufferImpl": "TypedArray",
"terminal.integrated.shellArgs.osx": ["-l"],
"files.associations": {
"*.md": "mdx"
},
"explorer.openEditors.visible": 0,
"editor.lineNumbers": "on",
"workbench.colorTheme": "Cobalt2",
"breadcrumbs.enabled": true,
"local-history.absolute": true,
"local-history.path": "/Users/kdodds/.vscode-history",
"grunt.autoDetect": "off",
"npm.runSilent": true,
"gulp.autoDetect": "off",
"workbench.iconTheme": "material-icon-theme",
"explorer.confirmDragAndDrop": false,
"workbench.sideBar.location": "left",
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": false,
"workbench.startupEditor": "none",
"window.zoomLevel": 0,
"editor.minimap.enabled": false,
"spellright.language": ["en"],
"spellright.documentTypes": ["markdown", "plaintext"],
"javascript.updateImportsOnFileMove.enabled": "never",
"typescript.updateImportsOnFileMove.enabled": "never",
"editor.cursorSmoothCaretAnimation": true,
"editor.smoothScrolling": true,
"editor.fontLigatures": true
// egghead
/*
"editor.fontSize": 22,
"terminal.integrated.fontSize": 16,
"scm.diffDecorations": "none",
"editor.lineNumbers": "off",
"workbench.editor.showTabs": false,
"workbench.statusBar.visible": false,
"editor.cursorBlinking": "solid",
"breadcrumbs.enabled": false
/**/
// workshop
/*
"editor.fontSize": 22,
"terminal.integrated.fontSize": 16,
"scm.diffDecorations": "none",
"editor.lineNumbers": "off",
"workbench.statusBar.visible": false,
"editor.cursorBlinking": "solid"
/**/
// livestream
/*
"window.zoomLevel": 2,
"editor.fontSize": 22,
"terminal.integrated.fontSize": 16,
"scm.diffDecorations": "none",
"editor.lineNumbers": "off",
"workbench.statusBar.visible": false,
"editor.cursorBlinking": "solid"
/**/
}
{
/*
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"console.log": {
"prefix": "cl",
"body": "console.log(${1:'here'})$0"
},
"console.log('var', var)": {
"prefix": "vl",
"body": "console.log('$1', $1)$0"
},
"console.log({var})": {
"prefix": "ol",
"body": "console.log({$1})$0"
},
"import x from 'x'": {
"prefix": "imp",
"body": "import ${2:*} from '$1'$3"
},
"eslint rule": {
"prefix": "esl",
"body": "/* eslint $1:0 */"
},
"eslint disable next line": {
"prefix": "eslnl",
"body": "// eslint-disable-next-line $1"
},
"eslint disable line": {
"prefix": "esll",
"body": "// eslint-disable-line $1"
},
"constructor": {
"prefix": "ctor",
"body": [
"constructor(...args) {",
" super(...args)",
" $0",
"}"
]
},
"try/catch": {
"prefix": "try",
"body": [
"try {",
" $1",
"} catch (error) {",
" $0",
"}"
]
},
"async function": {
"prefix": "afun",
"body": [
"async function $1($2) {",
" $0",
"}"
]
},
"throw log": {
"prefix": "tl",
"body": "throw new Error(JSON.stringify({$0}, null, 2))"
},
"spaced console.log": {
"prefix": "scl",
"body": [
"console.log('**************************************************************************\\\\n\\\\n\\\\n')",
"console.log($0)",
"console.log('\\\\n\\\\n\\\\n**************************************************************************')"
]
},
"React Component": {
"prefix": "rc",
"body": [
"class $1 extends React.Component {",
" render() {",
" $0",
" }",
"}"
]
},
"React: componentWillMount": {
"prefix": "cwm",
"body": [
"componentWillMount() {",
" $0",
"}"
]
},
"React: componentDidMount": {
"prefix": "cdm",
"body": [
"componentDidMount() {",
" $0",
"}"
]
},
"React: componentWillReceiveProps": {
"prefix": "cwrp",
"body": [
"componentWillReceiveProps(nextProps) {",
" $0",
"}"
]
},
"React: componentWillUpdate": {
"prefix": "cwu",
"body": [
"componentWillUpdate(nextProps, nextState) {",
" $0",
"}"
]
},
"React: componentDidUpdate": {
"prefix": "cdu",
"body": [
"componentDidUpdate(prevProps, prevState) {",
" $0",
"}"
]
},
"React: componentWillUnmount": {
"prefix": "cwu",
"body": [
"componentWillUnmount() {",
" $0",
"}"
]
},
"Jest test": {
"prefix": "test",
"body": [
"test('$1', () => {",
" $0",
"})"
]
},
"Jest async test": {
"prefix": "atest",
"body": [
"test('$1', async () => {",
" $0",
"})"
]
},
"Mocha it block": {
"prefix": "it",
"body": [
"it('should $1', () => {",
" $2",
"})"
]
},
"Mocha describe block": {
"prefix": "desc",
"body": [
"describe('$1', () => {",
" $2",
"})"
]
},
"split-guide final": {
"prefix": "sgf",
"body": [
"// FINAL_START",
"$1",
"// FINAL_END"
]
},
"split-guide workshop": {
"prefix": "sgw",
"body": [
"// WORKSHOP_START",
"$1",
"// WORKSHOP_END"
]
},
"split-guide comment": {
"prefix": "sgc",
"body": [
"// COMMENT_START",
"$1",
"// COMMENT_END"
]
}
}
{
/*
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"console.log": {
"prefix": "cl",
"body": "console.log(${1:'here'})$0"
},
"console.log('var', var)": {
"prefix": "vl",
"body": "console.log('$1', $1)$0"
},
"console.log({var})": {
"prefix": "ol",
"body": "console.log({$1})$0"
},
"import x from 'x'": {
"prefix": "imp",
"body": "import ${2:*} from '$1'$3"
},
"eslint rule": {
"prefix": "esl",
"body": "/* eslint $1:0 */"
},
"eslint disable next line": {
"prefix": "eslnl",
"body": "// eslint-disable-next-line $1"
},
"eslint disable line": {
"prefix": "esll",
"body": "// eslint-disable-line $1"
},
"constructor": {
"prefix": "ctor",
"body": [
"constructor(...args) {",
" super(...args)",
" $0",
"}"
]
},
"try/catch": {
"prefix": "try",
"body": [
"try {",
" $1",
"} catch (error) {",
" $0",
"}"
]
},
"async function": {
"prefix": "afun",
"body": [
"async function $1($2) {",
" $0",
"}"
]
},
"throw log": {
"prefix": "tl",
"body": "throw new Error(JSON.stringify({$0}, null, 2))"
},
"spaced console.log": {
"prefix": "scl",
"body": [
"console.log('**************************************************************************\\\\n\\\\n\\\\n')",
"console.log($0)",
"console.log('\\\\n\\\\n\\\\n**************************************************************************')"
]
},
"React Component": {
"prefix": "rc",
"body": [
"class $1 extends React.Component {",
" render() {",
" $0",
" }",
"}"
]
},
"React: componentWillMount": {
"prefix": "cwm",
"body": [
"componentWillMount() {",
" $0",
"}"
]
},
"React: componentDidMount": {
"prefix": "cdm",
"body": [
"componentDidMount() {",
" $0",
"}"
]
},
"React: componentWillReceiveProps": {
"prefix": "cwrp",
"body": [
"componentWillReceiveProps(nextProps) {",
" $0",
"}"
]
},
"React: componentWillUpdate": {
"prefix": "cwu",
"body": [
"componentWillUpdate(nextProps, nextState) {",
" $0",
"}"
]
},
"React: componentDidUpdate": {
"prefix": "cdu",
"body": [
"componentDidUpdate(prevProps, prevState) {",
" $0",
"}"
]
},
"React: componentWillUnmount": {
"prefix": "cwu",
"body": [
"componentWillUnmount() {",
" $0",
"}"
]
},
"Jest test": {
"prefix": "test",
"body": [
"test('$1', () => {",
" $0",
"})"
]
},
"Jest async test": {
"prefix": "atest",
"body": [
"test('$1', async () => {",
" $0",
"})"
]
},
"Mocha it block": {
"prefix": "it",
"body": [
"it('should $1', () => {",
" $2",
"})"
]
},
"Mocha describe block": {
"prefix": "desc",
"body": [
"describe('$1', () => {",
" $2",
"})"
]
},
"split-guide final": {
"prefix": "sgf",
"body": [
"// FINAL_START",
"$1",
"// FINAL_END"
]
},
"split-guide workshop": {
"prefix": "sgw",
"body": [
"// WORKSHOP_START",
"$1",
"// WORKSHOP_END"
]
},
"split-guide comment": {
"prefix": "sgc",
"body": [
"// COMMENT_START",
"$1",
"// COMMENT_END"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment