Go to Window->Preferences->Java->Code Style->Formatter. Create new formatter. Set Maximum Length = 400 + click on edit and then pick tab Line Wrapping and set Line Wrapping policy to Do not wrap.
origin - http://www.pipiscrew.com/?p=4344 eclipse-disable-word-wrap