vscode 设置tab为4个空格,并且打开显示空格

xuekui-jin / 2023-09-06 / 原文

1、关闭自动检测文件功能

设置搜索detect Indentation,取消

image

2、设置Tab Size为4

image

3、开启显示空格

设置搜索Whitespace,设置为all

image