我的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