window -> Preference -> java-->code style-->Formatter-->edid-->Line Wrapping 下边的Set line width for preview window