Skip to content

Instantly share code, notes, and snippets.

@keizure
Last active December 2, 2022 10:45
Show Gist options
  • Save keizure/4e21cf9ffd87ecfa7a0d834b26380ee6 to your computer and use it in GitHub Desktop.
Save keizure/4e21cf9ffd87ecfa7a0d834b26380ee6 to your computer and use it in GitHub Desktop.
Visual Studio Code Sync Settings Gist
{"lastUpload":"2022-11-09T03:15:39.615Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.14"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.10"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "13.3.1"
},
{
"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": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "2.11.0"
},
{
"metadata": {
"id": "485e8574-a825-4190-9589-bb6837b4eebe",
"publisherId": "unbug.codelf",
"publisherDisplayName": "unbug"
},
"name": "codelf",
"publisher": "unbug",
"version": "11.7.0"
},
{
"metadata": {
"id": "e55376f2-3b3e-4916-8dbf-34df2fce687b",
"publisherId": "drKnoxy.eslint-disable-snippets",
"publisherDisplayName": "drKnoxy"
},
"name": "eslint-disable-snippets",
"publisher": "drKnoxy",
"version": "1.3.0"
},
{
"metadata": {
"id": "1b625615-bded-4797-9806-079abcacfcc1",
"publisherId": "letrieu.expand-region",
"publisherDisplayName": "letrieu"
},
"name": "expand-region",
"publisher": "letrieu",
"version": "0.1.4"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.19"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "13.0.4"
},
{
"metadata": {
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a",
"publisherId": "Zignd.html-css-class-completion",
"publisherDisplayName": "Zignd"
},
"name": "html-css-class-completion",
"publisher": "Zignd",
"version": "1.20.0"
},
{
"metadata": {
"id": "9fa2a00e-3bfa-4c2a-abc4-a865bb2b5cf3",
"publisherId": "VisualStudioExptTeam.intellicode-api-usage-examples",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "intellicode-api-usage-examples",
"publisher": "VisualStudioExptTeam",
"version": "0.2.6"
},
{
"metadata": {
"id": "999bb671-8926-48a4-a2b3-95b3b6fedc9d",
"publisherId": "jmsv.JavaScriptSnippetsStandard",
"publisherDisplayName": "jmsv"
},
"name": "JavaScriptSnippetsStandard",
"publisher": "jmsv",
"version": "1.8.0"
},
{
"metadata": {
"id": "0398f8a5-da8e-4c21-ae4d-12a40652a517",
"publisherId": "OBKoro1.korofileheader",
"publisherDisplayName": "OBKoro1"
},
"name": "korofileheader",
"publisher": "OBKoro1",
"version": "4.9.1"
},
{
"metadata": {
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c",
"publisherId": "sysoev.language-stylus",
"publisherDisplayName": "sysoev"
},
"name": "language-stylus",
"publisher": "sysoev",
"version": "1.16.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "3.4.3"
},
{
"metadata": {
"id": "4f63037e-3a44-436f-a483-4c65a77f15f6",
"publisherId": "FallenMax.mithril-emmet",
"publisherDisplayName": "FallenMax"
},
"name": "mithril-emmet",
"publisher": "FallenMax",
"version": "0.7.7"
},
{
"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.4.2"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.5.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.8.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "9.9.0"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "12.7.0"
},
{
"metadata": {
"id": "c807e072-5951-4a01-9542-450f946c7ec1",
"publisherId": "xabikos.ReactSnippets",
"publisherDisplayName": "xabikos"
},
"name": "ReactSnippets",
"publisher": "xabikos",
"version": "2.4.0"
},
{
"metadata": {
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4",
"publisherId": "ms-vscode.sublime-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "sublime-keybindings",
"publisher": "ms-vscode",
"version": "4.0.10"
},
{
"metadata": {
"id": "94b0c3aa-2a11-4179-bf8b-0a991fb4858b",
"publisherId": "ribragimov.tabster",
"publisherDisplayName": "ribragimov"
},
"name": "tabster",
"publisher": "ribragimov",
"version": "0.0.6"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.220"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.36.1"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.24.3"
},
{
"metadata": {
"id": "7169523d-80f6-4cb7-87f9-cb8d96cbd2be",
"publisherId": "suhay.vscode-editor-group-minimizer",
"publisherDisplayName": "suhay"
},
"name": "vscode-editor-group-minimizer",
"publisher": "suhay",
"version": "1.3.2"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.2.6"
},
{
"metadata": {
"id": "829a192d-496c-44ac-87f3-0a84ce36a853",
"publisherId": "emmanuelbeziat.vscode-great-icons",
"publisherDisplayName": "emmanuelbeziat"
},
"name": "vscode-great-icons",
"publisher": "emmanuelbeziat",
"version": "2.1.86"
},
{
"metadata": {
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3",
"publisherId": "msjsdiag.vscode-react-native",
"publisherDisplayName": "msjsdiag"
},
"name": "vscode-react-native",
"publisher": "msjsdiag",
"version": "1.10.0"
},
{
"metadata": {
"id": "532fb6dc-7318-4d96-b934-93757161d55a",
"publisherId": "jingkaizhao.vscode-redux-devtools",
"publisherDisplayName": "jingkaizhao"
},
"name": "vscode-redux-devtools",
"publisher": "jingkaizhao",
"version": "1.0.2"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.29"
}
]
// 将键绑定放入此文件中以覆盖默认值1
[{
"key": "ctrl+w",
"command": "expand_region",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "undo_expand_region",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "alt+f2",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "f2",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "shift+f2",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+j",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+0",
"command": "-editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+p",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+j",
"command": "-editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.switchWindow"
}
]
[
{
"key": "cmd+w",
"command": "expand_region",
"when": "editorTextFocus"
},
{
"key": "cmd+shift+w",
"command": "undo_expand_region",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "alt+f2",
"command": "bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "f2",
"command": "bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "shift+f2",
"command": "bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "ctrl+tab",
"command": "workbench.action.switchWindow"
},
{
"key": "alt+q",
"command": "editor.action.referenceSearch.trigger"
}
]
{
// Defines VS Code's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
"locale":"zh-cn" // Changes will not take effect until VS Code has been restarted.
}
{
"workbench.colorTheme": "One Monokai",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/node_modules": true
},
"workbench.iconTheme": "vscode-great-icons",
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"sync.gist": "4e21cf9ffd87ecfa7a0d834b26380ee6",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"editor.fontSize": 16,
"editor.wordWrap": "on",
//失焦自动保存
"files.autoSave": "onWindowChange",
"editor.renderWhitespace": "all",
// "typescript.check.npmIsInstalled": false,
"sync.quietSync": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"gitlens.keymap": "alternate",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false
},
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"gitlens.historyExplorer.enabled": true,
// "breadcrumbs.enabled": true,
"explorer.confirmDelete": false,
"terminal.integrated.rendererType": "dom",
// vscode默认启用了根据文件类型自动设置tabsize的选项
"editor.detectIndentation": false,
// 重新设定tabsize
"editor.tabSize": 2,
"javascript.validate.enable": true,
"stylusSupremacy.insertColons": true, // 是否插入冒号
"stylusSupremacy.insertSemicolons": false, // 是否插入分好
"stylusSupremacy.insertBraces": false, // 是否插入大括号
"stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false,
"workbench.editor.highlightModifiedTabs": true,
"terminal.integrated.macOptionIsMeta": true,
"terminal.integrated.macOptionClickForcesSelection": true,
"emmet.preferences": {
"css.valueSeparator": ":",
"stylus.valueSeparator": ": ",
"css.floatUnit": "px",
"css.intUnit": "px"
},
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2,
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
// "editor.formatOnSave": true
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
// "editor.formatOnSave": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"editor.codeActionsOnSave": {
// For ESLint
// "source.fixAll.eslint": true,
// "source.fixAll.prettier": true,
// For TSLint
// "source.fixAll.tslint": true,
// For Stylelint
// "source.fixAll.stylelint": true
},
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["H"],
"after": ["^"]
},
{
"before": ["L"],
"after": ["$"]
}
],
"path-intellisense.mappings": {
"@src": "${workspaceFolder}/src"
},
"editor.foldingStrategy": "indentation",
"workbench.editor.untitled.hint": "hidden",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"vetur.languageFeatures.semanticTokens": false,
"vetur.validation.interpolation": false,
"files.associations": {
"*.js": "javascript",
"*.page": "javascriptreact"
},
"leetcode.endpoint": "leetcode-cn",
"leetcode.workspaceFolder": "/Users/rico/fe_interview/leetcode",
"leetcode.hint.commentDescription": false,
"leetcode.defaultLanguage": "javascript",
"leetcode.hint.commandShortcut": false,
"leetcode.hint.configWebviewMarkdown": false,
"terminal.integrated.fontFamily": "Menlo for Powerline",
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": ""
}
],
"js/ts.implicitProjectConfig.strictFunctionTypes": false,
"js/ts.implicitProjectConfig.checkJs": true,
"typescript.disableAutomaticTypeAcquisition": true,
"npm-intellisense.packageSubfoldersIntellisense": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"security.workspace.trust.untrustedFiles": "open",
"editor.unicodeHighlight.ambiguousCharacters": false,
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"typescriptreact"
],
"javascript.referencesCodeLens.enabled": true,
"javascript.referencesCodeLens.showOnAllFunctions": true,
"typescript.referencesCodeLens.enabled": true,
"typescript.referencesCodeLens.showOnAllFunctions": true,
"explorer.confirmDragAndDrop": false,
"fileheader.configObj": {
"language": {
"js/jsx/ts/tsx/page": {
"head": "/**",
"middle": " * @",
"end": " */"
}
},
"autoAdd": false, // 检测文件没有头部注释,自动添加文件头部注释
"autoAddLine": 0, // 文件超过多少行数 不再自动添加头部注释
"autoAlready": true, // 只添加插件支持的语言以及用户通过`language`选项自定义的注释
"supportAutoLanguage": [], // 设置之后,在数组内的文件才支持自动添加
// 自动添加头部注释黑名单
"prohibitAutoAdd": ["json", "md"],
"prohibitItemAutoAdd": [
"项目的全称禁止项目自动添加头部注释, 使用快捷键自行添加"
],
"folderBlacklist": ["node_modules"], // 文件夹或文件名禁止自动添加头部注释
"wideSame": false, // 头部注释等宽设置
"wideNum": 13, // 头部注释字段长度 默认为13
"functionWideNum": 0, // 函数注释等宽设置 设为0 即为关闭
// 头部注释第几行插入
"headInsertLine": {
"php": 2 // php文件 插入到第二行
},
"beforeAnnotation": {}, // 头部注释之前插入内容
"afterAnnotation": {}, // 头部注释之后插入内容
"specialOptions": {}, // 特殊字段自定义 比如: Author、LastEditTime、LastEditors、FilePath、Description、Date等
"switch": {
"newlineAddAnnotation": true // 默认遇到换行符(\r\n \n \r)添加注释符号
},
"moveCursor": true, // 自动移动光标到Description所在行
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"atSymbol": ["@", "@"], // 更改所有文件的自定义注释中的@符号
"atSymbolObj": {}, // 更改单独语言/文件的@
"colon": [": ", ": "], // 更改所有文件的注释冒号
"colonObj": {}, // 更改单独语言/文件的冒号
"filePathColon": "/", // 默认值: mac: / window是: \
"showErrorMessage": false, // 是否显示插件错误通知 用于debugger
"writeLog": false, // 错误日志生成
"CheckFileChange": false, // 单个文件保存时进行diff检查
"createHeader": false, // 新建文件自动添加头部注释
"useWorker": false, // 是否使用工作区设置
"designAddHead": false, // 添加注释图案时添加头部注释
"headDesignName": "random", // 图案注释使用哪个图案
"headDesign": false, // 是否使用图案注释替换头部注释
// 自定义配置是否在函数内生成注释 不同文件类型和语言类型
"cursorModeInternalAll": {}, // 默认为false 在函数外生成函数注释
"openFunctionParamsCheck": true, // 开启关闭自动提取添加函数参数
"functionParamsShape": ["{", "}"], // 函数参数外形自定义
// "functionParamsShape": "no type" 函数参数不需要类型
"functionBlankSpaceAll": {}, // 函数注释空格缩进 默认为空对象 默认值为0 不缩进
"functionTypeSymbol": "*", // 参数没有类型时的默认值
"typeParamOrder": "type param", // 参数类型 和 参数的位置自定义
// 自定义语言注释,自定义取消 head、end 部分
// 不设置自定义配置language无效 默认都有head、end
"customHasHeadEnd": {}, // "cancel head and function" | "cancel head" | "cancel function"
"throttleTime": 60000, // 对同一个文件 需要过1分钟再次修改文件并保存才会更新注释
// 自定义语言注释符号,覆盖插件的注释格式
// 默认注释 没有匹配到注释符号的时候使用。
"annotationStr": {
"head": "/**",
"middle": " * @",
"end": " */",
"use": true
}
},
"fileheader.customMade": {
"Author": "git config user.name && git config user.email",
"Date": "Do not edit",
"LastEditors": "git config user.name && git config user.email",
"LastEditTime": "Do not edit",
"Description": "Do not edit"
}
}
{
// Place your snippets for vue 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"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment