用惯了java eclipse的四个空格的首行缩进,scala的IDE的默认的2个空格很不习惯缩进 强行改成四个 window->preferences->scala->editor->formatter 下载地址scala IDE 相关文章: