当前位置: 代码迷 >> 综合 >> vscode settings.json 默认配置
  详细解决方案

vscode settings.json 默认配置

热度:50   发布时间:2023-11-17 07:21:44.0
{"vetur.format.defaultFormatterOptions": {"js-beautify-html": {// "wrap_attributes": "force-expand-multiline","wrap_line_length": 150, // 换行字符串阈值"wrap_attributes": "auto","end_with_newline": false  // html 属性是否换行},"prettyhtml": {"printWidth": 100,"singleQuote": false, // //去掉末尾分号"wrapAttributes": false,"sortAttributes": false},"prettier": {"semi": false, //去掉末尾分号"singleQuote": true  //将所有双引号改为单引号}},"editor.tabSize": 2,  //缩进2个空格"javascript.format.insertSpaceBeforeFunctionParenthesis": true,  //在方括号之间插入空格"vetur.format.defaultFormatter.js": "vscode-typescript",//iview组件eslint报告Col闭合标签问题"vetur.validation.template": false,"[vue]": {"editor.defaultFormatter": "octref.vetur"},"workbench.iconTheme": "vscode-icons","extensions.ignoreRecommendations": true,"window.zoomLevel": -1,"editor.fontSize": 18,"explorer.confirmDelete": false,"vetur.format.defaultFormatter.html": "js-beautify-html"
}

 

  相关解决方案