文件-首选项-设置 搜索“tab size” 1、Editor: Tab Size 输入需要缩进的空格数 2、点击“Editor:Delete Indentation” 3、取消“Detect Indentation”的勾选