Skip to content

Instantly share code, notes, and snippets.

@jiangtao
Last active July 14, 2020 06:25
Show Gist options
  • Save jiangtao/7df9a9284ce92e9cede4444264127b36 to your computer and use it in GitHub Desktop.
Save jiangtao/7df9a9284ce92e9cede4444264127b36 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-30T15:00:17.026Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "70378119-1d85-4935-9733-0298c7a369a2",
"publisherId": "steoates.autoimport",
"publisherDisplayName": "steoates"
},
"name": "autoimport",
"publisher": "steoates",
"version": "1.5.3"
},
{
"metadata": {
"id": "9f81b6aa-5ef8-4279-ae1f-65f3d7c64919",
"publisherId": "idleberg.badges",
"publisherDisplayName": "idleberg"
},
"name": "badges",
"publisher": "idleberg",
"version": "1.0.11"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "10.7.0"
},
{
"metadata": {
"id": "f35c86ba-03f0-4259-9eb9-326e33e39f90",
"publisherId": "ericadamski.carbon-now-sh",
"publisherDisplayName": "ericadamski"
},
"name": "carbon-now-sh",
"publisher": "ericadamski",
"version": "1.2.0"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.15"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "946b6c3e-cb86-4b44-b716-30bcb64ca9f1",
"publisherId": "hars.CppSnippets",
"publisherDisplayName": "hars"
},
"name": "CppSnippets",
"publisher": "hars",
"version": "0.0.14"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.26.3"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.4"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.14.2"
},
{
"metadata": {
"id": "290c5f3f-fc96-451e-ba22-0b17cb2dac8a",
"publisherId": "QassimFarid.ejs-language-support",
"publisherDisplayName": "QassimFarid"
},
"name": "ejs-language-support",
"publisher": "QassimFarid",
"version": "0.0.1"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.13"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "0.54.2"
},
{
"metadata": {
"id": "236ff452-49f5-47a4-8928-ab18f5b9c7bf",
"publisherId": "eriklynd.json-tools",
"publisherDisplayName": "eriklynd"
},
"name": "json-tools",
"publisher": "eriklynd",
"version": "1.0.2"
},
{
"metadata": {
"id": "0b0e4305-3ab6-4928-bce6-081b5f146df7",
"publisherId": "GregorBiswanger.json2ts",
"publisherDisplayName": "GregorBiswanger"
},
"name": "json2ts",
"publisher": "GregorBiswanger",
"version": "0.0.6"
},
{
"metadata": {
"id": "d4d8d0a4-54f0-4f10-b8fb-b53f1575c53c",
"publisherId": "keyring.Lua",
"publisherDisplayName": "keyring"
},
"name": "Lua",
"publisher": "keyring",
"version": "0.0.9"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.1"
},
{
"metadata": {
"id": "9f47c6a1-da06-41ce-ba18-5e281296aa0a",
"publisherId": "stringham.move-ts",
"publisherDisplayName": "stringham"
},
"name": "move-ts",
"publisher": "stringham",
"version": "1.11.5"
},
{
"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": "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": "2a3e1925-d174-4cd7-baa7-3e13824d68c7",
"publisherId": "ronnidc.nunjucks",
"publisherDisplayName": "ronnidc"
},
"name": "nunjucks",
"publisher": "ronnidc",
"version": "0.2.3"
},
{
"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": "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": "d95cb424-7a5a-4e08-9698-107d6fd590cf",
"publisherId": "jebbs.plantuml",
"publisherDisplayName": "jebbs"
},
"name": "plantuml",
"publisher": "jebbs",
"version": "2.13.6"
},
{
"metadata": {
"id": "d80b9a94-f4a6-4e39-bc42-62212e365682",
"publisherId": "pnp.polacode",
"publisherDisplayName": "pnp"
},
"name": "polacode",
"publisher": "pnp",
"version": "0.3.4"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "3.20.0"
},
{
"metadata": {
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc",
"publisherId": "mohsen1.prettify-json",
"publisherDisplayName": "mohsen1"
},
"name": "prettify-json",
"publisher": "mohsen1",
"version": "0.0.3"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.1.58038"
},
{
"metadata": {
"id": "b6f833d6-8b13-4480-aedb-af907c4125c7",
"publisherId": "jakob101.relativepathrefactor",
"publisherDisplayName": "jakob101"
},
"name": "relativepathrefactor",
"publisher": "jakob101",
"version": "0.9.0"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.23.1"
},
{
"metadata": {
"id": "ee108066-df8b-43ae-9a83-e6c11400a759",
"publisherId": "jasonnutter.search-node-modules",
"publisherDisplayName": "jasonnutter"
},
"name": "search-node-modules",
"publisher": "jasonnutter",
"version": "1.3.0"
},
{
"metadata": {
"id": "07e1dd03-92c5-45ef-ab1c-e74986aa3e95",
"publisherId": "zhutian.swig",
"publisherDisplayName": "zhutian"
},
"name": "swig",
"publisher": "zhutian",
"version": "0.0.5"
},
{
"metadata": {
"id": "75da638c-c45a-44ea-aa3b-8570a3559810",
"publisherId": "TabNine.tabnine-vscode",
"publisherDisplayName": "TabNine"
},
"name": "tabnine-vscode",
"publisher": "TabNine",
"version": "2.1.22"
},
{
"metadata": {
"id": "c62f9345-3742-4644-bbe5-0ceffc00c775",
"publisherId": "loiane.ts-extension-pack",
"publisherDisplayName": "loiane"
},
"name": "ts-extension-pack",
"publisher": "loiane",
"version": "0.2.0"
},
{
"metadata": {
"id": "6bc1e3ad-c0e2-46b6-bbad-246c5f59215b",
"publisherId": "pmneo.tsimporter",
"publisherDisplayName": "pmneo"
},
"name": "tsimporter",
"publisher": "pmneo",
"version": "2.0.1"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.44"
},
{
"metadata": {
"id": "38583aca-2ba1-417f-80fc-68ca8d717fb4",
"publisherId": "rbbit.typescript-hero",
"publisherDisplayName": "rbbit"
},
"name": "typescript-hero",
"publisher": "rbbit",
"version": "3.0.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.23.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.12.4"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.9.1"
},
{
"metadata": {
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281",
"publisherId": "vscjava.vscode-java-debug",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-debug",
"publisher": "vscjava",
"version": "0.24.0"
},
{
"metadata": {
"id": "7865e561-1c83-410e-9b99-aabada597a7e",
"publisherId": "vscjava.vscode-java-dependency",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-dependency",
"publisher": "vscjava",
"version": "0.8.0"
},
{
"metadata": {
"id": "96f11e1f-1a46-4592-b084-f025b2c2a81f",
"publisherId": "vscjava.vscode-java-pack",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-pack",
"publisher": "vscjava",
"version": "0.8.1"
},
{
"metadata": {
"id": "67c06b0d-1891-42ca-b2a8-113e79bff069",
"publisherId": "vscjava.vscode-java-test",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-test",
"publisher": "vscjava",
"version": "0.21.0"
},
{
"metadata": {
"id": "8bd907de-999c-4f06-9be1-f74a06da52fb",
"publisherId": "georgewfraser.vscode-javac",
"publisherDisplayName": "georgewfraser"
},
"name": "vscode-javac",
"publisher": "georgewfraser",
"version": "0.2.31"
},
{
"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.40.2"
},
{
"metadata": {
"id": "66682185-9f80-4b70-8b8c-9e492935c105",
"publisherId": "shengchen.vscode-leetcode",
"publisherDisplayName": "shengchen"
},
"name": "vscode-leetcode",
"publisher": "shengchen",
"version": "0.16.0"
},
{
"metadata": {
"id": "b0f06c6b-24fb-4d7b-bd79-bc5e2fa17312",
"publisherId": "vscjava.vscode-maven",
"publisherDisplayName": "vscjava"
},
"name": "vscode-maven",
"publisher": "vscjava",
"version": "0.20.2"
},
{
"metadata": {
"id": "6d1e8c91-0d60-4635-a01e-d2b5b510e91c",
"publisherId": "Souche.vscode-mindmap",
"publisherDisplayName": "Souche"
},
"name": "vscode-mindmap",
"publisher": "Souche",
"version": "0.0.5"
},
{
"metadata": {
"id": "a205ad34-542b-4c67-a9ed-f645103ad9c0",
"publisherId": "vscjava.vscode-spring-initializr",
"publisherDisplayName": "vscjava"
},
"name": "vscode-spring-initializr",
"publisher": "vscjava",
"version": "0.4.6"
},
{
"metadata": {
"id": "6afc37b9-362f-4bd8-9a0d-9d24eade270d",
"publisherId": "chenxsan.vscode-standardjs",
"publisherDisplayName": "chenxsan"
},
"name": "vscode-standardjs",
"publisher": "chenxsan",
"version": "1.2.3"
},
{
"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.2.3"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "2.2.1"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.4"
}
]
// 将按键绑定配置放入此文件中即可覆盖默认值
[
{
"key": "ctrl+cmd+f",
"command": "editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+l",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "-toggleFindInSelection",
"when": "editorFocus"
},
{
"key": "alt+cmd+l",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "cmd+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "shift+cmd+u",
"command": "editor.action.transformToLowercase"
},
{
"key": "ctrl+shift+cmd+p",
"command": "markdown.showPreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "cmd+k v",
"command": "-markdown.showPreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+cmd+y",
"command": "extension.align",
"when": "editorTextFocus"
},
{
"key": "ctrl+cmd+a",
"command": "-extension.align",
"when": "editorTextFocus"
}
]
{
"workbench.colorTheme": "Visual Studio Light",
"sync.gist": "7df9a9284ce92e9cede4444264127b36",
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": true,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.lastUpload": "2018-07-23T07:02:23.444Z",
"sync.lastDownload": "",
"sync.forceDownload": false,
"editor.fontSize": 14,
"git.enableSmartCommit": true,
"git.autofetch": true,
"files.associations": {
"*.html": "html",
"*.css": "less"
},
"window.zoomLevel": 0,
"editor.wordWrap": "on",
"gitlens.historyExplorer.enabled": false,
"search.exclude": {
"**/hexdo/running/web": true
},
"gitlens.views.fileHistory.enabled": false,
"gitlens.views.lineHistory.enabled": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"workbench.panel.defaultLocation": "right",
"editor.renderWhitespace": "all",
"markdown-preview-enhanced.scrollSync": true,
"gitlens.mode.active": "review",
"standard.autoFixOnSave": true,
"standard.semistandard": true,
"eslint.alwaysShowStatus": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"leetcode.workspaceFolder": "/Users/jt/places/personal/one-algorithm/jike",
"leetcode.endpoint": "leetcode-cn",
"leetcode.hint.commandShortcut": false,
"leetcode.hint.configWebviewMarkdown": false,
"eslint.lintTask.enable": true,
"files.defaultLanguage": "vue",
// vscode默认启用了根据文件类型自动设置tabsize的选项
"editor.detectIndentation": false,
// 重新设定tabsize
"editor.tabSize": 2,
// #每次保存的时候自动格式化
// "editor.formatOnSave": true,
// #每次保存的时候将代码按eslint格式进行修复
"eslint.autoFixOnSave": true,
// 添加 vue 支持
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
// #去掉代码结尾的分号
"prettier.semi": false,
// #让函数(名)和后面的括号之间加个空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// #这个按用户自身习惯选择
"vetur.format.defaultFormatter.html": "js-beautify-html",
// #让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
// #vue组件中html代码格式化样式
}
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"explorer.confirmDelete": false,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"liveServer.settings.donotShowInfoMsg": true,
"diffEditor.ignoreTrimWhitespace": false,
"vsicons.dontShowNewVersionMessage": true,
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"path-intellisense.autoSlashAfterDirectory": true,
"path-intellisense.extensionOnImport": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"path-intellisense.mappings": {
"$_": "${workspaceRoot}/src",
"$views": "${workspaceRoot}/src/views",
"$editor": "${workspaceRoot}/src/views/editor",
"$locales": "${workspaceRoot}/src/locales",
"$model": "${workspaceRoot}/src/model",
"$store": "${workspaceRoot}/src/store",
"$mixins": "${workspaceRoot}/src/mixins",
"$utils": "${workspaceRoot}/src/util",
"@src": "${workspaceRoot}/src"
},
"sync.forceUpload": true,
"vim.startInInsertMode": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment