由于您未使用任何格式程序类型扩展名
您可以通过在状态栏中选择缩进选项来轻松设置缩进。
,然后选择所需的尺寸。
如果要全局设置相同的设置。
将这些值添加到您的settings.json
"editor.tabSize": 4, //4 = 4 spaces
"editor.detectIndentation": true, // this will auto detect whether your file is using spaces or tabs to indent.
"editor.insertSpaces": true, // Insert spaces when pressing Tab. This setting is overridden based on the file contents when #editor.detectIndentation# is on.