vscode Setting.json

{
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "One Dark Pro",
"bracket-pair-colorizer-2.colors": [
"Gold",
"Orchid",
"LightSkyBlue"
],
"easysass.formats": [
{
"format": "compressed", // 压缩
"extension": ".css"
}
],
"easysass.targetDir": "./",
// tab size is 2 spaces
"editor.tabSize": 2,
Wrap // Editor
"editor.wordWrap": "off",
// format when you save
"editor.formatOnSave": true,
// open vscode file path navigation
"breadcrumbs.enabled": true,
// prettier setting the end of the statement without a semicolon
"prettier.semi": false,
// prettier setting mandatory single quotes
"prettier.singleQuote": true,
// Select the formatting tools in the template file vue
"vetur.format.defaultFormatter.html": "js-beautify-html",
// method name pressure sky-rated
"vetur.format.defaultFormatter.js": "vscode-typescript",
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// vetur custom settings
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "aligned-multiple"
},
"prettier": {
"singleQuote": true,
"semi": false,
"printWidth": 100,
"wrapAttributes": false,
"SortAttributes": false
}
}
}

Guess you like

Origin www.cnblogs.com/xy1996/p/11454265.html