1、将根据文件自动配置关闭 2、设置制表符为4. { "editor.detectIndentation": false, "editor.tabSize": 4, } 转载于:https://www.cnblogs.com/gwj1314/p/10200080.html