C:\Users\Admin\AppData\Roaming\Code\User\settings.json

更新于:2019年06月26日

{
"editor.fontSize": 18,
"editor.lineHeight": 24,
"workbench.colorTheme": "Monokai",
"editor.wordWrap": "on",
"editor.detectIndentation": false,
"workbench.colorCustomizations": {
"editor.selectionBackground": "#135564"
},
"workbench.sideBar.location": "left",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": true
},
"background.enabled": true,
"background.useDefault": false,
"background.customImages": [
"file:///C:/Users/xiabing/Pictures/photo/huaji.png"
],
"background.style": {
"position": "absolute",
"bottom": 0,
"right": 0,
"z-index": "999",
"width": "150px",
"height": "150px",
// "width": "100%",
// "height": "100%",
"background-position": "center",
"background-repeat": "no-repeat",
"background-size": "65%",
"opacity": 0.8
},

//.vue文件代码缩进以及格式化代码
"vetur.validation.template": false,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript", //让vue中的js按编辑器自带的ts格式进行格式化
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned" //vue组件中html代码格式化样式
}
},
"beautify.config": {
"brace_style": "none,preserve-inline",
"indent_size": 4,
"indent_char": " ",
"jslint_happy": true,
},
// Specifies the location of snippets in the suggestion widget
"editor.snippetSuggestions": "top",
// Controls whether format on paste is on or off
"editor.formatOnPaste": true,
"window.zoomLevel": 0,
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.includeLanguages": {
"wxml": "html"
},
"editor.minimap.showSlider": "always",
//stylus
"stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行
"stylusSupremacy.insertNewLineAroundBlocks": false, // 两个选择器中是否换行
"stylusSupremacy.insertSemicolons": false, //去掉分号
"stylusSupremacy.insertBraces": false, //去掉大括号
"stylusSupremacy.insertColons": false, //去掉冒号
"vetur.format.options.useTabs": true,
"vetur.format.options.tabSize": 4, //去掉冒号
"fileheader.customMade": {
"Description": "",
"Author": "xiabing",
"Date": "Do not edit",
"LastEditors": "xiabing",
"LastEditTime": "Do not edit"
},
// 是否开启eslint检测
"eslint.enable": true,
// 文件保存时,是否自动根据eslint进行格式化
"eslint.autoFixOnSave": false,
"eslint.options": {
"plugins": [
"vue"
]
},
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
},
{
"language": "html",
"autoFix": true
}
],
"editor.mouseWheelZoom": true,
"files.autoSaveDelay": 3000,
"search.followSymlinks": false,
"workbench.iconTheme": "vscode-icons",
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[jsonc]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
}
}