我的Vscode配置


{
"editor.mouseWheelZoom": true, //可以按着ctrl 加滚轮 缩放窗口字体大小
"workbench.colorTheme": "Monokai Dimmed",
"editor.wordWrap": "on", //软换行
"explorer.openEditors.visible": 1,
"window.zoomLevel": 0,
"diffEditor.ignoreTrimWhitespace": false,
"editor.renderLineHighlight": "gutter", // 在“打开的编辑器”窗格中显示的编辑器数量。
// eslint相关 start--------
"editor.formatOnSave": false, // 必须关闭vs code 的默认保存格式化
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true // 用项目的eslint规则 格式化代码
},
"eslint.validate": [
"javascript",
"vue",
"html",
"css"
],
"editor.detectIndentation": false,
"vetur.format.defaultFormatter.html": "none",
"vetur.format.defaultFormatter.js": "none",
"vetur.format.options.tabSize": 4,
// eslint相关结束 end------
}


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM