先貼上setting文件里面的代碼{"editor.formatOnSave":true,"eslint.autoFixOnSave":true,"eslint.validate":["javascript","javascriptreact",{"language":"vue","autoFix":true}],"editor.detectIndentation":true,"vetur.format.defaultFormatter.js":"none","workbench.colorTheme":"PalenightTheme","window.zoomLevel":2,"editor.lineHeight":30,"editor.tabSize":4,"prettier.tabWidth":4,"vetur.format.defaultFormatter.html":"js-beautify-html","vetur.format.defaultFormatterOptions":{"wrap_attributes":"force-aligned"}}在"editor.tabSize":4,"prettier.tabWidth":4,這兩個(gè)設(shè)置里我都設(shè)置的4,但是頁(yè)面格式化代碼的時(shí)候還是按照2個(gè)空格在縮進(jìn),這個(gè)問(wèn)題該怎么解決呢?
為什么在設(shè)置了4個(gè)空格縮進(jìn)但還是不管用
開(kāi)心每一天1111
2019-08-21 13:14:42