sublime 默认是tab 缩进,修改成4个空格缩进 "首选项" --->"设置--更多" --->'"特定的语法--用户" 添加如下内容 { "tab_size": 4, "translate_tabs_to_spaces": true