vscode setting
Posted lezuw
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vscode setting相关的知识,希望对你有一定的参考价值。
{
"php.validate.executablePath": "D:/phpstudy_pro/Extensions/php/php7.3.4nts/php.exe",
"files.autoSave": "afterDelay",
"git.ignoreMissingGitWarning": true,
"workbench.colorTheme": "Webstorm IntelliJ Darcula Theme",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_line_length": 1200,
"wrap_attributes": "auto"
},
"prettyhtml": {
"printWidth": 100,
"singleQuote": true,
"wrapAttributes": true,
"sortAttributes": true
},
"prettier": {
"singleQuote": true,
"semi": false
},
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "always",
"asyncArrow": "always"
}],
"vue/html-self-closing": ["error", {
"html": {
"void": "never",
"normal": "always",
"component": "never"
},
"svg": "always",
"math": "always"
}],
},
"javascript.format.insertSpaceBeforeFunctionParenthesis": false,
}
以上是关于vscode setting的主要内容,如果未能解决你的问题,请参考以下文章