Open amenzai opened 6 years ago
// 将设置放入此文件中以覆盖默认设置
{
"window.zoomLevel": 0,
"editor.tabSize": 2,
"workbench.colorTheme": "Atom One Dark",
"editor.snippetSuggestions": "top",
"explorer.confirmDragAndDrop": false,
"editor.formatOnSave": false,
// 控制字体系列。
"editor.fontFamily": "Consolas, 'Courier New', monospace, Dengxian",
"editor.multiCursorModifier": "ctrlCmd",
"files.associations": {
"*.inc": "html",
"*.ejs": "html",
"*.wxss": "css",
"*.wpy": "vue",
"*.wxs": "javascript"
},
"explorer.confirmDelete": false,
"vsicons.dontShowNewVersionMessage": true,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": false,
"wrapAttributes": false,
"sortAttributes": false
},
// "wrap_attributes": "force-aligned",
// "prettier.singleQuote": true,
// "prettier.semi": false
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html",
"wpy": "html"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.autoFixOnSave": true,
"beautify.language": {
"js": {
"type": ["javascript", "json"],
"filename": [".jshintrc", ".jsbeautify"]
},
"css": ["css", "less", "scss"],
"html": ["htm", "html"]
},
"git.autofetch": true,
"git.enableSmartCommit": true,
"javascript.validate.enable": false,
"javascript.implicitProjectConfig.experimentalDecorators": true,
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"git.confirmSync": false,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
// "python.pythonPath": "D:\\Python\\Python37\\python.exe",
// "python.linting.pylintEnabled": false,
// "python.linting.flake8Enabled": true,
// "python.linting.enabled": true,
// "python.formatting.provider": "yapf",
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[python]": {},
"[less]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
// "python.linting.flake8Path": "C:\\Users\\ASUS\\AppData\\Roaming\\Python\\Python37\\Scripts"
}
扩展
个人设置
参考文章