window->preferences->java->code style->formatter->edit->line wrapping->maximum line width 修改后保存就可以了.