1.字体
默认状态的中文字体显示很小,所以解决办法是修改一下字体.
菜单->windows-->prefereces,General-->Appearance-->Colors and Fonts,Base->base font->Edit.
选择一个喜欢的字体,如 中文字体(Consolas 脚本:中欧字符)
2.编码 将编码统一成utf-8
菜单->windows-->prefereces,General-->workspace,Types->Other->UTF-8->OK
3.java代码自动补全
java->Editor->Contant Assist
._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
4.java Templete
5.java Comment.类注释等
Window->Preference->Java->Code Style->Code Template
参考:http://www.cnblogs.com/senzjx/archive/2009/09/21/1570950.html
6.插件
color theme 颜色主题 ,用来控制显示的UI
color theme - http://eclipse-color-theme.github.io/update
我用的sublime Text2
7.检索高亮色,debug高亮色等
菜单->windows-->prefereces,General-->Editors->Text Editors->Annotations
8.代码每行允许的长度(格式化用)
引用window->preferences->java->code style->formatter->edit->line wrapping->maximum line width 修改后保存就可以了
长度提示线: General--->Editors--->TestEditors,在这里面,把show print margin选上, Print margi column处填写长度。
9.显示空白字符
windows ->Preferences->General->Editors->Text Editors->Show whitespace characters