一、设置Eclipse代码编辑背景色(保护自己从这里开始)
1、打开window / Preference,弹出Preference面板 2、展开General标签,选中Editors选项,展开。 3、选中 Text Editors,右边出现TestEditors面板。 面板中有这样一个选项:Appearance color options ;其中是各种板块颜色的设置,其中有一项是background color,勾掉System Default,点击’color’,弹出 颜色选择面板,选择喜好的颜色,单击确定。 注:背景颜色眼科专家推荐:色调85,饱和度,123,亮度205。文档都不再是刺眼的白底黑字,而是非常柔 和的豆沙绿色,这个色调是眼科专家配置的,长时间使用会很有效的缓解眼睛疲劳保护眼睛。 二、设置Eclipse字体大小
Java文件字体大小设置
Window / Preferences / General / Appearance / ColorsAnd Fonts ,在右边的对话框里选择Java – Java Editor Text Font,点击出现的编辑(Edit)按钮,可以设置显示在在主窗体中程序的字体大小,设置 完之后点击右下角的应用(Apply),最后点击确定(OK)即可。 XML文件字体大小 window / preferences / General / appearance / colors and fonts / Basic / “Text font ” ,然后点 击Edit,可以设置字体的大小
设置同样单词自动选中
Window”-“preferences”-“Java”-“Editor”-“Mark Occurrences”