别看看别看看

{
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": -2,
"editor.fontSize": 18,
"editor.tabSize": 2, //#代码缩进修改成2个空格
"editor.formatOnSave": true, // #每次保存的时候自动格式化
"eslint.autoFixOnSave": false, //#每次保存的时候将代码按eslint格式进行修复
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"vetur.format.defaultFormatterOptions": {
"prettier": {
// 格式化不加分号
"semi": false,
// 格式化为单引号
"singleQuote": true,
"printWidth": 180,
"wrapAttributes": false,
"sortAttributes": true,
"useTabs": true,
"proseWrap": "preserve",
"eslintIntegration": true, // #让prettier使用eslint的代码格式进行校验
},
"js-beautify-html": {
"wrap_line_length": 180,
"wrap_attributes": "auto",
"end_with_newline": false
}
},
"open-in-browser.default": "Coogle Chrome",
"explorer.confirmDelete": false,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"html.format.wrapLineLength": 180,
"workbench.sideBar.location": "left",
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "One Monokai",
"vsicons.dontShowNewVersionMessage": true,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"javascript.updateImportsOnFileMove.enabled": "always",
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"explorer.confirmDragAndDrop": false,
"editor.minimap.enabled": true,
"breadcrumbs.enabled": false,
}

猜你喜欢

转载自www.cnblogs.com/will-up2018/p/11839302.html