文档介绍:eclipse 护眼颜色和字体大小设置
eclipse 护眼颜色和字体大小设置 window->preferences -> General ->Editors->Test Editors ->
Background color
勾掉 System Default, 点击 'color', 弹出颜色选择面板 ,选择喜好的颜色
背景颜色向你推荐 :色调 :85。饱和度 :1 2 3。亮度 :2 0 5
文档都不再是刺眼的白底黑字 ,而是非常柔和的豆沙绿色 ,这个色调是眼科专家配置的 ,长时
间使用会很有效的缓解眼睛疲劳保护眼睛。
最后 ,设置关键字颜色 ,这一步随意要不要设置 ,关键字颜色 :
windows->Preferences->Java->Editor->Syntax Coloring
设置参数 :
Annotations( 注释 ): 107, 147, 186 浅蓝色
Deprecated members(不建议使用的成员):0, 0, 0
Fields(字段):128, 0,128 紫色
KeyWord 'return'( 关键字 'return'): 255, 0, 0 红色
Keyword excluding 'return'( 除了关键字以外的 return): 255, 128 ,0 橙色
Local variable declarations( 局部变量声明 ): 128, 128, 128 灰色
Method declarations( 方法声明 ): 255, 128, 64 橙色
Method( 方法 ):0, 48, 96 暗浅蓝色
Operators and brackets(运算符与方括号):255, 128, 0 橙色
Others(其他):96 153, 0 深绿色
Static fields( 静态字段 ): 33, 0, 189 深蓝色
Static Method invocations( 静态方法调用 ): 77, 166 255 天蓝色
Strings(字符串):132, 26, 238 中天蓝色
Type variables(类型变量):128, 0, 25 红罗色
最后效果 :