vscode的settings.json配置样例

{
“prettier.eslintIntegration”: true,
“window.zoomLevel”: 1,
“search.followSymlinks”: false,
“editor.formatOnSave”: true,
“eslint.autoFixOnSave”: true,
“eslint.validate”: [
“javascript”,
“javascriptreact”,
“html”,
“vue”,
{
“language”: “vue”,
“autoFix”: true
},
{
“language”: “typescript”,
“autoFix”: true
},
{
“language”: “typescriptreact”,
“autoFix”: true
}
],
“emmet.syntaxProfiles”: {
“javascript”: “jsx”,
“vue”: “html”,
“vue-html”: “html”
},
“editor.tabSize”: 2,
“files.associations”: {
“*.vue”: “vue”
},
“eslint.options”: {
“extensions”: [
“.js”,
“.vue”
]
},
“search.exclude”: {
/node_modules": true,
"
/bower_components”: true,
“**/dist”: true
},
“git.confirmSync”: false,
“javascript.implicitProjectConfig.experimentalDecorators”: true,
“editor.renderWhitespace”: “boundary”,
“editor.cursorBlinking”: “smooth”,
“editor.minimap.enabled”: true,
“editor.minimap.renderCharacters”: false,
//“editor.fontFamily”: “‘Droid Sans Mono’, ‘Courier New’, monospace, ‘Droid Sans Fallback’”,
“window.title”: “ d i r t y {dirty} dirty{activeEditorMedium} s e p a r a t o r {separator} separator{rootName}”,
“editor.codeLens”: true,
“editor.snippetSuggestions”: “top”,
“editor.fontWeight”: “normal”,
“stylelint.enable”: true,
“editor.fontSize”: 20,
“editor.rulers”: [ //代码长度
120
],
“workbench.colorTheme”: “One Dark Pro”, //主题
“workbench.iconTheme”: “vscode-icons”, //图标
}

你可能感兴趣的:(#,VS,Code)