{
"workbench.colorTheme": "Quiet Light",
"workbench.sideBar.location": "left",
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
"workbench.list.horizontalScrolling": true,
"breadcrumbs.enabled": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"window.zoomLevel": 1,
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"git.enableSmartCommit": true,
"diffEditor.renderSideBySide": false,
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.wpy": "vue",
"*.vue": "vue",
"*.wxml": "html",
},
"emmet.includeLanguages": {
"wxml": "html"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"minapp-vscode.disableAutoConfig": true,
"editor.formatOnType": true, //是否在键入后自动设置行样式
"editor.formatOnSaveTimeout": 500,
"editor.formatOnPaste": true,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}, //自动设置粘贴内容的格式
"eslint.enable": false
}
{
"workbench.colorTheme": "Quiet Light",
"workbench.sideBar.location": "left",
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
"workbench.list.horizontalScrolling": true,
"breadcrumbs.enabled": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"window.zoomLevel": 1,
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"editor.tabSize": 2,
"editor.formatOnSave": true,
"git.enableSmartCommit": true,
"diffEditor.renderSideBySide": false,
"files.associations": {
".cjson": "jsonc",
".wxss": "css",
".wxs": "javascript",
".wpy": "vue",
".vue": "vue",
".wxml": "html",
},
"emmet.includeLanguages": {
"wxml": "html"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"minapp-vscode.disableAutoConfig": true,
"editor.formatOnType": true, //是否在键入后自动设置行样式
"editor.formatOnSaveTimeout": 500,
"editor.formatOnPaste": true,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}, //自动设置粘贴内容的格式
"eslint.enable": false
}
打开vscode 左下角小齿轮点击设置在搜索框内输入格式化,点开setting 直接复制粘就可以看到如下风格了
位置 小清新
网友评论