作者:手机用户2502886741 | 来源:互联网 | 2023-07-19 15:28
{px2rem.isNeedNotes:false,px2rem.rootFontSize:153.6,workbench.editorAssociations:{.gif:cwe
{
"px2rem.isNeedNotes": false,
"px2rem.rootFontSize": 153.6,
"workbench.editorAssociations": {
".gif": "cweijan.officeViewer",
".ico": "cweijan.officeViewer",
".png": "cweijan.officeViewer",
".jpg": "cweijan.officeViewer"
},
"editor.mouseWheelZoom": true,
"liveServer.settings.donotShowInfoMsg": true,
"diffEditor.ignoreTrimWhitespace": false,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"files.autoSave": "afterDelay",
"workbench.iconTheme": "vscode-great-icons",
// ................................................各种校验配置区...........................................................
// 保存时自动格式化代码
"editor.formatOnSave": true,
// eslint配置项,保存时自动修复错误
"editor.codeActionsOnSave": {
"source.fixAll": true
},
// 将vetur的js格式化工具指定为vscode自带的
"vetur.format.defaultFormatter.js": "vscode-typescript",
// 移除js语句的分号
"Javascript.format.semicolons": "remove",
// 在函数名后面加上括号,类似这种形式 foo () {}
"Javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// 指定 *.vue 文件的格式化工具为vetur,防止和prettier冲突
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
// 指定 *.js 文件的格式化工具为vscode自带,以符合ESLint规范
"[Javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.tabSize": 2,
}