1.eclipse编码
Window->Preferences->General ->Content Type->Text->JSP 设置为UTF-8
Window->Preferences->General->Workspace -Text file encoding 设置为UTF-8
Window->Preferences->Web->JSP Files 设置为 ISO 10646/Unicode(UTF-8)
2.eclipse代码格式化
Window->Preferences->Java->Code Style->Formatter先new一个然后Line Wrapping->Maximum line width设置为800
Window->Preferences->MyEclipse->Files and Editors->Html->Html Source->Line width设置为800
3.eclipse字体
Window->Preferences->Appearance->Colors and Fonts->Basic->Text Font设置为小四
4.eclipse使用技巧
ctrl + shift + o 去掉多余导入包和增加需要导入的包
ctrl + shift + f 格式化代码
ctrl + f 在本页查找
ctrl + shift +h 全局高级搜索
本文出自 “zhanglunc” 博客,请务必保留此出处http://zhanglunc.blog.51cto.com/11144997/1750229
原文:http://zhanglunc.blog.51cto.com/11144997/1750229