text Visual Studio代码设置同步要点
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Visual Studio代码设置同步要点相关的知识,希望对你有一定的参考价值。
{
/*
// 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"
}
*/
}
{
/*
// Place your snippets for HTML 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"
}
*/
}
{
/*
// Place your snippets for Diff 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"
}
*/
}
{
/*
// Place your snippets for CSS 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"
}
*/
}
{
"editor.wordWrap": "on",
"editor.wordWrapColumn": 100,
"open-in-browser.default": "safari",
"workbench.iconTheme": "material-icon-theme",
"editor.fontFamily": "Source Code Pro, Monaco, 'Courier New'",
"files.autoSave": "onWindowChange",
"auto-close-tag.SublimeText3Mode": true,
"markdown.preview.fontSize": 12,
"fileheader.Author": "leomYili",
"fileheader.tpl": "/*\r\n * @File: '' \r\n * @Author: {author} \r\n * @Date: {createTime} \r\n * @Last Modified by: {lastModifiedBy} \r\n * @Last Modified time: {updateTime} \r\n */\r\n",
"fileheader.LastModifiedBy": "leomy@outlook.com",
"workbench.colorCustomizations": {},
"materialTheme.cache.workbench.settings": {
"accentPrevious": "Acid Lime",
"themeColours": "Light"
},
"workbench.colorTheme": "Panda Syntax",
"material-icon-theme.folders.icons": "specific",
"window.zoomLevel": 0,
"prettier.tabWidth": 4,
"editor.fontSize": 14,
"liveServer.settings.donotVerifyTags": true,
"sync.gist": "7b3124e777e105b31a9a00b8b268af14",
"sync.lastUpload": "2018-08-23T06:29:21.710Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": false,
"sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
"sync.askGistName": false,
"workbench.panel.location": "bottom",
"[javascriptreact]": {},
"files.associations": {
"*.jsx": "javascriptreact",
".babelrc": "json"
},
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": true,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": false
},
"cSpell.language": ",en-GB,en-US,en",
"cSpell.userWords": [
"antd",
"appstore",
"artboard",
"backend",
"cell",
"component",
"contextmenu",
"dropdown",
"jsplumb",
"jssdk",
"leom",
"leomy",
"memberof",
"mockjs",
"portlet",
"positioner",
"resizable",
"sourcealiasname",
"struct",
"targetaliasname",
"unmount",
"webplus",
"will",
"yili"
],
"editor.renderLineHighlight": "gutter",
"liveServer.settings.donotShowInfoMsg": true,
"javascript.implicitProjectConfig.experimentalDecorators": true,
"git.autofetch": true,
"gitlens.keymap": "alternate",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"explorer.confirmDelete": false,
"terminal.integrated.fontSize": 14,
"gitlens.historyExplorer.enabled": true,
"scss.lint.hexColorLength": "ignore",
"css.lint.hexColorLength": "ignore",
"[xml]": {
},
"gitlens.gitExplorer.files.layout": "tree",
"javascript.updateImportsOnFileMove.enabled": "always",
"sync.removeExtensions": true,
"sync.syncExtensions": true
}
// 将键绑定放入此文件中以覆盖默认值
[
{
"key": "alt+cmd+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+`",
"command": "workbench.action.quickOpenTerm"
},
{
"key": "alt+1",
"command": "workbench.action.terminal.focusAtIndex1"
},
{
"key": "alt+2",
"command": "workbench.action.terminal.focusAtIndex2"
},
{
"key": "alt+3",
"command": "workbench.action.terminal.focusAtIndex3"
},
{
"key": "alt+4",
"command": "workbench.action.terminal.focusAtIndex4"
},
{
"key": "alt+5",
"command": "workbench.action.terminal.focusAtIndex5"
},
{
"key": "alt+6",
"command": "workbench.action.terminal.focusAtIndex6"
},
{
"key": "alt+7",
"command": "workbench.action.terminal.focusAtIndex7"
},
{
"key": "alt+8",
"command": "workbench.action.terminal.focusAtIndex8"
},
{
"key": "alt+9",
"command": "workbench.action.terminal.focusAtIndex9"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "cmd+k",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "cmd+k",
"command": "-workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "shift+alt+f",
"command": "toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "-toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
}
]
// Empty
[
{
"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": "5178733e-4b02-4829-95c5-1ce970847c23",
"publisherId": "teabyii.ayu",
"publisherDisplayName": "teabyii"
},
"name": "ayu",
"publisher": "teabyii",
"version": "0.15.0"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.4"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.0.0"
},
{
"metadata": {
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.6.10"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.8.2"
},
{
"metadata": {
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce",
"publisherId": "joelday.docthis",
"publisherDisplayName": "joelday"
},
"name": "docthis",
"publisher": "joelday",
"version": "0.7.1"
},
{
"metadata": {
"id": "b3917e4f-5086-4def-a82b-2ae6b708db16",
"publisherId": "flowtype.flow-for-vscode",
"publisherDisplayName": "flowtype"
},
"name": "flow-for-vscode",
"publisher": "flowtype",
"version": "0.8.2"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.2"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "8.5.6"
},
{
"metadata": {
"id": "f015bc3c-a098-4245-8765-615e002e09ab",
"publisherId": "yzane.markdown-pdf",
"publisherDisplayName": "yzane"
},
"name": "markdown-pdf",
"publisher": "yzane",
"version": "1.2.0"
},
{
"metadata": {
"id": "a4f91432-1b7d-4acd-b906-76d8ac8ad7e7",
"publisherId": "mdickin.markdown-shortcuts",
"publisherDisplayName": "mdickin"
},
"name": "markdown-shortcuts",
"publisher": "mdickin",
"version": "0.8.1"
},
{
"metadata": {
"id": "2fb9491e-d250-48e4-b23e-cdbb81d655cf",
"publisherId": "AlanWalk.markdown-toc",
"publisherDisplayName": "AlanWalk"
},
"name": "markdown-toc",
"publisher": "AlanWalk",
"version": "1.5.6"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.5.3"
},
{
"metadata": {
"id": "1bb92b2c-526c-4bfd-bb38-5bae1b278c89",
"publisherId": "leizongmin.node-module-intellisense",
"publisherDisplayName": "leizongmin"
},
"name": "node-module-intellisense",
"publisher": "leizongmin",
"version": "1.5.0"
},
{
"metadata": {
"id": "6f35c257-7fd5-4bc2-9cd1-01976589c17a",
"publisherId": "arcticicestudio.nord-visual-studio-code",
"publisherDisplayName": "arcticicestudio"
},
"name": "nord-visual-studio-code",
"publisher": "arcticicestudio",
"version": "0.6.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": "fef63133-dae3-40fb-b81d-6da7617b4b1e",
"publisherId": "techer.open-in-browser",
"publisherDisplayName": "techer"
},
"name": "open-in-browser",
"publisher": "techer",
"version": "2.0.0"
},
{
"metadata": {
"id": "113b22c8-8125-42ec-8c6b-80c3f5d5fa5f",
"publisherId": "IBM.output-colorizer",
"publisherDisplayName": "IBM"
},
"name": "output-colorizer",
"publisher": "IBM",
"version": "0.1.2"
},
{
"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": "044b4b31-2969-4af3-895d-855433b8b46d",
"publisherId": "felixfbecker.php-debug",
"publisherDisplayName": "felixfbecker"
},
"name": "php-debug",
"publisher": "felixfbecker",
"version": "1.12.4"
},
{
"metadata": {
"id": "5e69f001-f945-4c97-baf0-320d82a153b3",
"publisherId": "felixfbecker.php-intellisense",
"publisherDisplayName": "felixfbecker"
},
"name": "php-intellisense",
"publisher": "felixfbecker",
"version": "2.3.4"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.6.1"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2018.7.1"
},
{
"metadata": {
"id": "7f7e0e9c-b5ad-4e21-a425-f63bd56cb13f",
"publisherId": "EQuimper.react-native-react-redux",
"publisherDisplayName": "EQuimper"
},
"name": "react-native-react-redux",
"publisher": "EQuimper",
"version": "1.9.1"
},
{
"metadata": {
"id": "e52bce95-a629-455f-8626-e7301b9e372a",
"publisherId": "robinbentley.sass-indented",
"publisherDisplayName": "robinbentley"
},
"name": "sass-indented",
"publisher": "robinbentley",
"version": "1.4.9"
},
{
"metadata": {
"id": "f458266d-2636-454c-86ba-1df8d80ed929",
"publisherId": "marclipovsky.string-manipulation",
"publisherDisplayName": "marclipovsky"
},
"name": "string-manipulation",
"publisher": "marclipovsky",
"version": "0.2.0"
},
{
"metadata": {
"id": "e96f7482-8e97-4155-8a7c-ad5fab4d8b2d",
"publisherId": "jprestidge.theme-material-theme",
"publisherDisplayName": "jprestidge"
},
"name": "theme-material-theme",
"publisher": "jprestidge",
"version": "1.0.1"
},
{
"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.8"
},
{
"metadata": {
"id": "9764fb1f-aa45-4e65-a18e-705b3b00761c",
"publisherId": "tinkertrain.theme-panda",
"publisherDisplayName": "tinkertrain"
},
"name": "theme-panda",
"publisher": "tinkertrain",
"version": "1.3.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.12.6"
},
{
"metadata": {
"id": "cba79045-6f59-4f86-8c80-af78d566d8cf",
"publisherId": "deerawan.vscode-dash",
"publisherDisplayName": "deerawan"
},
"name": "vscode-dash",
"publisher": "deerawan",
"version": "1.10.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.4.14"
},
{
"metadata": {
"id": "447845d1-2206-4012-be63-d87445860fd2",
"publisherId": "abierbaum.vscode-file-peek",
"publisherDisplayName": "abierbaum"
},
"name": "vscode-file-peek",
"publisher": "abierbaum",
"version": "1.0.1"
},
{
"metadata": {
"id": "b3abc059-1ff4-4741-b367-1c9fe6c15855",
"publisherId": "mikey.vscode-fileheader",
"publisherDisplayName": "mikey"
},
"name": "vscode-fileheader",
"publisher": "mikey",
"version": "0.0.2"
},
{
"metadata": {
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b",
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-zh-hans",
"publisher": "MS-CEINTL",
"version": "1.26.3"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.20.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": "128aec08-5c3d-473f-a233-67d15cbd42ee",
"publisherId": "infeng.vscode-react-typescript",
"publisherDisplayName": "infeng"
},
"name": "vscode-react-typescript",
"publisher": "infeng",
"version": "1.0.17"
},
{
"metadata": {
"id": "e8f08043-9121-4d44-bf6e-f941fc3a95c3",
"publisherId": "Braver.vscode-solarized",
"publisherDisplayName": "Braver"
},
"name": "vscode-solarized",
"publisher": "Braver",
"version": "2.0.2"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "1.2.3"
},
{
"metadata": {
"id": "37f65113-9520-4561-86e6-7342505a3942",
"publisherId": "jeremyrajan.webpack",
"publisherDisplayName": "jeremyrajan"
},
"name": "webpack",
"publisher": "jeremyrajan",
"version": "2.1.0"
}
]
{"lastUpload":"2018-08-23T06:30:18.730Z","extensionVersion":"v3.0.0"}
以上是关于text Visual Studio代码设置同步要点的主要内容,如果未能解决你的问题,请参考以下文章