{
“typescript.locale”: “zh-CN”, // 语言
// “terminal.integrated.shell.windows”: “D:\Develop\Git\bin\bash.exe”, // 默认的终端程序位置
“workbench.colorTheme”: “One Dark Pro”, // 主题,需安装
“git.autofetch”: true, // 自动git fetch
“editor.fontSize”: 16, // 编辑区域字体大小
“editor.renderWhitespace”: “all”, // 在空白字符上显示符号, 空格: “.”, 缩进: “->”
“editor.multiCursorModifier”: “ctrlCmd”, // 多光标按键
“editor.snippetSuggestions”: “top”, // 控制代码片段是否与其他建议一起显示及其排列的位置, 最上面
“editor.detectIndentation”: false, // 打开文件时不自动检测缩进方式
“editor.tabSize”: 2, // 缩进使用两个空格
“editor.foldingStrategy”: “indentation”, // 使用基于缩进的折叠策略
“emmet.triggerExpansionOnTab”: true, // 按下 TAB 键,将展开 Emmet 缩写
“emmet.includeLanguages”: { // 添加该语言与受emmet支持的语言间的映射
“vue-html”: “html”,
“javascript”: “javascriptreact”
},
“javascript.implicitProjectConfig.experimentalDecorators”: true, // 开启支持(实验性)装饰器,如果有jsconfig,tsconfig将覆盖设置
“files.associations”: { // 配置语言的文件关联
“*.wpy”: “vue”
},
“vetur.format.styleInitialIndent”: true, // vue style标签内是否缩进
“vetur.format.scriptInitialIndent”: true, // vue template部分使用prettier进行格式化
// “breadcrumbs.enabled”: true, // 开启面包屑
“editor.mouseWheelZoom”: true, // 开启按住 Ctrl | Command 键并滚动鼠标滚轮时对编辑器字体大小进行缩放。
“eslint.autoFixOnSave”: true,
“files.autoSave”:“off”,
“eslint.validate”: [
“javascript”,
“javascriptreact”,
“html”,
{
“language”: “vue”, “autoFix”: true
}
],
“eslint.options”: {
“plugins”: [“html”]
},
“editor.codeActionsOnSave”: {
“source.fixAll.eslint”: true
},
“git.confirmSync”: false,
“[vue]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“editor.fontLigatures”: null,
“[javascript]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“[jsonc]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“settingsSync.ignoredExtensions”: [
],
}