js格式化prettier配置_vscode的配置tting.json⽂件
我们vscode的格式化配置⽂件:
{
"git.ignoreMissingGitWarning": true,
"dererType": "dom",
"plate": fal,
"javascript.format.inrtSpaceBeforeFunctionParenthesis": true,
// "vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.js": "prettier-eslint",
"prettier.mi": fal,
"prettier.singleQuote": true,
九年级英语上册教案"ailingComma": "all",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// force-aligned | force-expand-multilinenea
"wrap_attributes": "force-aligned",
"prettier": {
"mi": fal,
长春托福bowler"singleQuote": true
minute怎么读音}
},
strikeforce"prettyhtml": {
"printWidth": 100, //使⽤不同的最⼤⾏长度
"singleQuote": fal,
"wrapAttributes": fal, //强制换⾏属性(当它有多个时,默认值为fal)
dong a"sortAttributes": true //按字母顺序排序属性(默认值:fal)
},
"prettier": {
"mi": fal, //代码⾏后⾯需不需要⽣成分号
"singleQuote": true, //需不需要把双引号格式化成单引号
"trailingComma": "all" //在任何可能的多⾏中输⼊尾逗号。
}
},美容护肤课程
/
/⽂本⾃动换⾏
"editor.wordWrap": "on",
"derWhitespace": "all",
"abled": "always",
"arch.followSymlinks": fal,
"Level": 0,
"editor.detectIndentation": fal,careertimes
"editor.tabSize": 2,
"wWindowDimensions": "inherit",
"window.openFoldersInNewWindow": "on",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
安娜与国王主题曲"firmDelete": fal,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.fontSize": 16
//代码格式化快捷键及保存时⾃动格式化
// "editor.formatOnType": true,
// "editor.formatOnSave": true,
}