vscode 缩进改为2空格

 

 

 

 因为vscode默认启用了"editor.detectIndentation": true根据文件类型自动设置tabsize的选项。

在配置中加上
"editor.detectIndentation": false,
"editor.tabSize": 2,
posted @ 2018-10-27 23:16  零度从容  阅读(3331)  评论(0编辑  收藏  举报