json Visual Studio代码设置同步要点

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Visual Studio代码设置同步要点相关的知识,希望对你有一定的参考价值。

{"contents":{"editor":{"tabSize":2,"snippetSuggestions":"top","tabCompletion":true,"formatOnSave":true},"typescript":{"suggest":{"completeFunctionCalls":true},"preferences":{"importModuleSpecifier":"non-relative"}},"files":{"eol":"\n"}},"overrides":[],"keys":["editor.tabSize","typescript.suggest.completeFunctionCalls","editor.snippetSuggestions","editor.tabCompletion","editor.formatOnSave","files.eol","typescript.preferences.importModuleSpecifier"]}
{"lastUpload":"2019-05-07T12:20:45.697Z","extensionVersion":"v3.2.9"}
[
  {
    "metadata": {
      "id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
      "publisherId": "Shan.code-settings-sync",
      "publisherDisplayName": "Shan"
    },
    "name": "code-settings-sync",
    "publisher": "Shan",
    "version": "3.2.9"
  },
  {
    "metadata": {
      "id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
      "publisherId": "streetsidesoftware.code-spell-checker",
      "publisherDisplayName": "streetsidesoftware"
    },
    "name": "code-spell-checker",
    "publisher": "streetsidesoftware",
    "version": "1.7.9"
  },
  {
    "metadata": {
      "id": "4de763bd-505d-4978-9575-2b7696ecf94e",
      "publisherId": "eamodio.gitlens",
      "publisherDisplayName": "eamodio"
    },
    "name": "gitlens",
    "publisher": "eamodio",
    "version": "9.7.1"
  },
  {
    "metadata": {
      "id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b",
      "publisherId": "oderwat.indent-rainbow",
      "publisherDisplayName": "oderwat"
    },
    "name": "indent-rainbow",
    "publisher": "oderwat",
    "version": "7.4.0"
  },
  {
    "metadata": {
      "id": "2e4a6a59-8d62-4ea6-99ba-09ca1fb20dca",
      "publisherId": "MariusAlchimavicius.json-to-ts",
      "publisherDisplayName": "MariusAlchimavicius"
    },
    "name": "json-to-ts",
    "publisher": "MariusAlchimavicius",
    "version": "1.5.5"
  },
  {
    "metadata": {
      "id": "236ff452-49f5-47a4-8928-ab18f5b9c7bf",
      "publisherId": "eriklynd.json-tools",
      "publisherDisplayName": "eriklynd"
    },
    "name": "json-tools",
    "publisher": "eriklynd",
    "version": "1.0.2"
  },
  {
    "metadata": {
      "id": "98790d67-10fa-497c-9113-f6c7489207b2",
      "publisherId": "yzhang.markdown-all-in-one",
      "publisherDisplayName": "yzhang"
    },
    "name": "markdown-all-in-one",
    "publisher": "yzhang",
    "version": "2.3.1"
  },
  {
    "metadata": {
      "id": "4bf45e86-a448-4531-8c01-ef33f4536306",
      "publisherId": "ms-mssql.mssql",
      "publisherDisplayName": "ms-mssql"
    },
    "name": "mssql",
    "publisher": "ms-mssql",
    "version": "1.6.0"
  },
  {
    "metadata": {
      "id": "a92d457e-6f3f-4167-8087-1a54e1b6e00e",
      "publisherId": "Angular.ng-template",
      "publisherDisplayName": "Angular"
    },
    "name": "ng-template",
    "publisher": "Angular",
    "version": "0.1.11"
  },
  {
    "metadata": {
      "id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
      "publisherId": "ms-python.python",
      "publisherDisplayName": "ms-python"
    },
    "name": "python",
    "publisher": "ms-python",
    "version": "2019.4.12954"
  },
  {
    "metadata": {
      "id": "797a79de-a0fd-4349-9034-bec47be9a941",
      "publisherId": "2gua.rainbow-brackets",
      "publisherDisplayName": "2gua"
    },
    "name": "rainbow-brackets",
    "publisher": "2gua",
    "version": "0.0.6"
  },
  {
    "metadata": {
      "id": "5b51ff58-96bf-410c-8919-ed69958606fa",
      "publisherId": "zengxingxin.sort-js-object-keys",
      "publisherDisplayName": "zengxingxin"
    },
    "name": "sort-js-object-keys",
    "publisher": "zengxingxin",
    "version": "1.0.6"
  },
  {
    "metadata": {
      "id": "f458266d-2636-454c-86ba-1df8d80ed929",
      "publisherId": "marclipovsky.string-manipulation",
      "publisherDisplayName": "marclipovsky"
    },
    "name": "string-manipulation",
    "publisher": "marclipovsky",
    "version": "0.3.1"
  },
  {
    "metadata": {
      "id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
      "publisherId": "Equinusocio.vsc-material-theme",
      "publisherDisplayName": "Equinusocio"
    },
    "name": "vsc-material-theme",
    "publisher": "Equinusocio",
    "version": "2.8.2"
  },
  {
    "metadata": {
      "id": "0b8f8d63-11a2-4194-969c-ca7488b3413a",
      "publisherId": "pranaygp.vscode-css-peek",
      "publisherDisplayName": "pranaygp"
    },
    "name": "vscode-css-peek",
    "publisher": "pranaygp",
    "version": "2.2.0"
  },
  {
    "metadata": {
      "id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
      "publisherId": "PeterJausovec.vscode-docker",
      "publisherDisplayName": "PeterJausovec"
    },
    "name": "vscode-docker",
    "publisher": "PeterJausovec",
    "version": "0.6.2"
  },
  {
    "metadata": {
      "id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
      "publisherId": "vscode-icons-team.vscode-icons",
      "publisherDisplayName": "vscode-icons-team"
    },
    "name": "vscode-icons",
    "publisher": "vscode-icons-team",
    "version": "8.6.0"
  },
  {
    "metadata": {
      "id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
      "publisherId": "GitHub.vscode-pull-request-github",
      "publisherDisplayName": "GitHub"
    },
    "name": "vscode-pull-request-github",
    "publisher": "GitHub",
    "version": "0.6.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.0.0"
  },
  {
    "metadata": {
      "id": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8",
      "publisherId": "pflannery.vscode-versionlens",
      "publisherDisplayName": "pflannery"
    },
    "name": "vscode-versionlens",
    "publisher": "pflannery",
    "version": "0.23.0"
  },
  {
    "metadata": {
      "id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
      "publisherId": "VisualStudioExptTeam.vscodeintellicode",
      "publisherDisplayName": "VisualStudioExptTeam"
    },
    "name": "vscodeintellicode",
    "publisher": "VisualStudioExptTeam",
    "version": "1.1.6"
  },
  {
    "metadata": {
      "id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
      "publisherId": "ms-vsliveshare.vsliveshare",
      "publisherDisplayName": "ms-vsliveshare"
    },
    "name": "vsliveshare",
    "publisher": "ms-vsliveshare",
    "version": "1.0.125"
  }
]
// Empty
// Place your key bindings in this file to overwrite the defaults
[
  {
    "key": "ctrl+shift+u",
    "command": "editor.action.transformToUppercase"
  }
]
{

    "mssql.connections": [
        {
            "server": "localhost",
            "database": "",
            "authenticationType": "SqlLogin",
            "user": "SA",
            "password": "",
            "emptyPasswordInput": false,
            "savePassword": true,
            "profileName": "DockerDB"
        },
        {
            "server": "192.168.101.15",
            "database": "agr-slot-8",
            "authenticationType": "SqlLogin",
            "user": "sqluser",
            "password": "",
            "emptyPasswordInput": false,
            "savePassword": true,
            "profileName": "Vagrant"
        },
        {
            "server": "bowser",
            "database": "agr5-birkir_prod",
            "authenticationType": "SqlLogin",
            "user": "boxadmin",
            "password": "",
            "emptyPasswordInput": false,
            "savePassword": true,
            "profileName": "bowser"
        },
        {
            "server": "bowser.reynd.local",
            "database": "agr5-birkir_prod",
            "authenticationType": "SqlLogin",
            "user": "boxadmin",
            "password": "",
            "emptyPasswordInput": false,
            "savePassword": true,
            "profileName": "bowser.reynd.local"
        }
    ],
    "window.restoreWindows": "none",
    "emmet.triggerExpansionOnTab": true,
    "typescript.updateImportsOnFileMove.enabled": "always",
    "window.zoomLevel": 0,
    "python.jediEnabled": false,
    "cSpell.userWords": [
        "Injectable",
        "Popout",
        "Struct",
        "Validators",
        "birkir",
        "borderless",
        "countings",
        "crosshairs",
        "cyclomatic",
        "datetime",
        "highcharts",
        "serie",
        "truthy"
    ],
    "breadcrumbs.enabled": false,
    "sync.gist": "8b47741d950a86e46222eb8bfc293a9a",
    "terminal.integrated.fontFamily": "MesloLGS Nerd Font",
    "zenMode.hideTabs": false,
    "zenMode.hideStatusBar": false,
    "workbench.sideBar.location": "left",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue"
}
{
	// 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"
	// }
	"Print string to console": {
		"prefix": "logs",
		"body": [
			"console.log('$1');"
		],
		"description": "Log output to console - name + var"
	},
	"Print to console + var": {
		"prefix": "logg",
		"body": [
			"console.log('$1: ', $1);"
		],
		"description": "Log output to console - name + var"
	},
	"Debugger": {
		"prefix": "d",
		"body": [
			"debugger"
		],
		"description": "Log output to console"
	},
	"Import Lodash": {
		"prefix": "import_",
		"body": "import * as _ from 'lodash';"
	},
	// Testing snippets
	"Element by css": {
		"prefix": "elcss",
		"body": "element(by.css('${1:selector}')),"
	},
	"Element by id": {
		"prefix": "elid",
		"body": "element(by.id('${1:selector}')),"
	},
	"Element by css containing text": {
		"prefix": "elcon",
		"body": "element(by.cssContainingText('${1:selector}', '${2:text}')),"
	},
	"Elements array": {
		"prefix": "elall",
		"body": "element.all(by.css('${1:selector}')),"
	},
	"Wait for Angular": {
		"prefix": "zz",
		"body": "browser.waitForAngular();"
	},
	"Browser Sleep": {
		"prefix": "zzz",
		"body": "browser.sleep(${1:seconds} * 1000);"
	}
}
{
	// 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"
	// }
	"Print string to console": {
		"prefix": "logs",
		"body": [
			"console.log('$1');"
		],
		"description": "Log output to console - name + var"
	},
	"Print to console + var": {
		"prefix": "logg",
		"body": [
			"console.log('$1: ', $1);"
		],
		"description": "Log output to console - name + var"
	},
	"Debugger": {
		"prefix": "d",
		"body": [
			"debugger"
		],
		"description": "Log output to console"
	},
	"Import Lodash": {
		"prefix": "import_",
		"body": "import * as _ from 'lodash';"
	},
	// Testing snippets
	"Element by css": {
		"prefix": "elcss",
		"body": "element(by.css('${1:selector}')),"
	},
	"Element by id": {
		"prefix": "elid",
		"body": "element(by.id('${1:selector}')),"
	},
	"Element by css containing text": {
		"prefix": "elcon",
		"body": "element(by.cssContainingText('${1:selector}', '${2:text}')),"
	},
	"Elements array": {
		"prefix": "elall",
		"body": "element.all(by.css('${1:selector}')),"
	},
	"Wait for Angular": {
		"prefix": "zz",
		"body": "browser.waitForAngular();"
	},
	"Browser Sleep": {
		"prefix": "zzz",
		"body": "browser.sleep(${1:seconds} * 1000);"
	},
	"Unit tests triple A's": {
		"prefix": "aaa",
		"body": [
			"// Arrange",
			"${1}",
			"// Act",
			"${2}",
			"// Assert",
			"${3}"
		]
	},
	"E2E tests async it": {
		"prefix": "ita",
		"body": "it('${1}', async () => {${2}});"
	}
}

以上是关于json Visual Studio代码设置同步要点的主要内容,如果未能解决你的问题,请参考以下文章

json Visual Studio代码设置同步要点

json Visual Studio代码设置同步要点

json Visual Studio代码设置同步要点

json Visual Studio代码设置同步要点

json Visual Studio代码设置同步要点

json Visual Studio代码同步设置要点