1.设置背景色:
找到windows下的prefernces 点击左侧的小三角展开后Editors,再点击editors左侧的小三角,点击text editors,
在右侧窗口的 Appearance color option里面单击background,并取消勾选右侧的system default钩子,然后选择一个颜色即可.
R 204 G232 U207
2.选中行背景颜色:
Current line hightlight : R153 G204 U204
3.变量的高亮显示
Local variables是变量的高亮显示
windows-> preferences-> java-> Editor-> Mark Occurences
4.让eclipse中选中的变量以指定颜色高亮显示
Window->Preferences->General->Editors->TextEditors -> Annotations->Occurrences
5.设置编码格式
1、windows->Preferences……打开"首选项"对话框,左侧导航树,导航到general->Workspace,
右侧Text file encoding,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8.
2、 windows->Preferences……打开"首选项"对话框,左侧导航树,导航到general->Content Types,右侧Context Types树,点开Text中每一颗子项,并在中输入"UTF-8",点update! 其他java应用开发相关的文件如:properties、XML等已经由Eclipse缺省指定,分别为ISO8859-1,UTF-8,如开发中确需 改变编码格式则可以在此指定。
3、window——>preference——>MyEclipse——>Files and Editors,将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8)",点Apply!
6.eclipse设置字体大小
window——>preferences,在左边的菜单栏中找到general,appearance在general展开后的第一行,点击展开appearance.
找到colors and fonts,点击这样就快找到我们要的了
看到右边字体一列有很多的选项,我们只需要修改basic里面的
点击展开Basic,最下面有 Text Font 这个选项,点击
然后右边的Edit被激活了,点击Edit 14号字体
7.MyEclipse注释模板设置
http://blog.csdn.net/luckly_p/article/details/46984969
配置完Eclipse之后可以把刚刚配置的选项导出,这样就可以在新的Eclipse中直接导入就可以使用了
导出:File>Export>General>Preferences,点击next,选择文件存放路径
导入:File>Import>General>Preferences,选择配置文件导入即可