因為vscode默認啟用了"editor.detectIndentation": true”根據文件類型自動設置tabsize的選項。
在配置中加上
"editor.detectIndentation": false,
因為vscode默認啟用了"editor.detectIndentation": true”根據文件類型自動設置tabsize的選項。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。