vscode常⽤配置的json⽂件{
"editor.parameterHints": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"Level": 0,
"abled": true,
"files.autoSave": "onWindowChange",
"editor.suggest.snippetsPreventQuickSuggestions": fal,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "pescript-language-features"
},
"ludeLanguages": [
"markdown"
],
"diffEditor.ignoreTrimWhitespace": fal,
"workbench.iconTheme": "vscode-icons",
"beautify.ignore": "",
"fig": "",
"editor.formatOnType": true,
"editor.formatOnSave": true,// #每次保存的时候⾃动格式化
"editor.formatOnPaste": true,
"quireConfig": true,
// vscode默认启⽤了根据⽂件类型⾃动设置tabsize的选项
公寓的英语
广告安装"editor.detectIndentation": fal,
// 重新设定tabsize
"editor.tabSize": 2,
// #每次保存的时候将代码按eslint格式进⾏修复
"eslint.autoFixOnSave": true,
星兜// 添加 vue ⽀持
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
}
],
民工工资
// #让prettier使⽤eslint的代码格式进⾏校验
"prettier.eslintIntegration": true,
// #去掉代码结尾的分号香蕉牛奶布丁
"prettier.mi": fal,
// #使⽤带引号替代双引号
雪梨是什么梨"prettier.singleQuote": true,
// #让函数(名)和后⾯的括号之间加个空格一年级新学期目标
"javascript.format.inrtSpaceBeforeFunctionParenthesis": true,
//#这个按⽤户⾃⾝习惯选择
"vetur.format.defaultFormatter.html": "js-beautify-html",
// #让vue中的js按编辑器⾃带的ts格式进⾏格式化
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
// #vue组件中html代码格式化样式
}
},
// 格式化stylus, 需安装Manta's Stylus Supremacy插件
"stylusSupremacy.inrtColons": fal, // 是否插⼊冒号
"stylusSupremacy.inrtSemicolons": fal, // 是否插⼊分好五年级的日记
"stylusSupremacy.inrtBraces": fal, // 是否插⼊⼤括号
"stylusSupremacy.inrtNewLineAroundImports": fal, // import之后是否换⾏
"stylusSupremacy.inrtNewLineAroundBlocks": fal, // 两个选择器中是否换⾏
"[html]": {