{
“workbench.startupEditor”: “newUntitledFile”,
“beautify.config”: {
“brace_style”: “collapse,preserve-inline”
},
“vetur.format.defaultFormatterOptions”: {
“js-beautify-html”: {
“wrap_line_length”: 300, // 最多容纳多少个字符,开始换行
“wrap_attributes”: “auto”, // html 标签属性 换行设置[auto|force|force-aligned|force-expand-multiline] [“auto”]
“end_with_newline”: false // 在文件结尾添加新行
},
“prettyhtml”: {
“printWidth”: 500,
“singleQuote”: false,
“wrapAttributes”: false,
“sortAttributes”: false
},
“prettier”: {
“semi”: true, //要不要分号
“singleQuote”: true //单引号
}
},
//格式化html的插件
“vetur.format.defaultFormatter.html”: “js-beautify-html”,
//格式化js的插件
“vetur.format.defaultFormatter.js”: “vscode-typescript”,
“workbench.editorAssociations”: {
“.ipynb": “jupyter.notebook.ipynb”,
".dat”: “default”
},
“git.autofetch”: true,
“editor.suggestSelection”: “first”,
“vsintellicode.modify.editor.suggestSelection”: “automaticallyOverrodeDefaultValue”,
“security.workspace.trust.untrustedFiles”: “open”,
“workbench.editor.untitled.hint”: “hidden”,
“editor.largeFileOptimizations”: false,
“terminal.integrated.commandsToSkipShell”: [
“psl.stepIn”,
“psl.stepOut”,
“psl.stepOver”,
“psl.sendToHostTerminal”
],
“files.associations”: {
“*.yml”: “dockerfile”
},
“tabnine.experimentalAutoImports”: true,
“editor.formatOnSave”: false, // 保存后是否启用格式化
“files.exclude”: {
“/.classpath": true,
"/.project”: true,
“/.settings": true,
"/.factorypath”: true
},
“editor.fontWeight”: “normal”,
“vetur.completion.scaffoldSnippetSources”: {
"workspace": "💼",
"user": "🗒️",
"vetur": "✌"
}
}