1、java
Window--->Preferences(首选项)--->Java--->Code Style--->Formatter--->Edit
进入格式编辑界面
(换行)Line Wrapping--->(最大行宽)Maximum line width
修改后需修改Profle name
2.html/jsp标记语言
Window--->Preferences(首选项)--->MyEclipse--->Files and Editors--->Html--->Html Source