♣eclipse护眼颜色和关键字颜色设置

eclipse护眼颜色和字体大小设置

 

♣eclipse护眼颜色和关键字颜色设置

♣eclipse字体大小设置(包括jsp , .xml ,.java)

1.Eclipse字体大小调整: 
窗口(Window)-首选项(Preferences)-> General)->  Appearence  ->  Colors And Fonts -> Java ->  Java Editor Text Font  ->  Change :

2.Eclipse  xml和jsp文件字体大小调整:

window -> preferences ->  General -> appearance -> colors and fonts -> Basic -> Text font :

3.我把字体都设置为:

4.接下来设置护眼颜色:

window -> preferences ->  General -> Editors -> Test Editors -> Background color

勾掉System Default,点击'color',弹出颜色选择面板,选择喜好的颜色

背景颜色向你推荐:色调:85。饱和度:1 2 3。亮度:2 0 5 

文档都不再是刺眼的白底黑字,而是非常柔和的豆沙绿色,这个色调是眼科专家配置的,长时间使用会很有效的缓解眼睛疲劳保护眼睛。 

 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   红罗色

最后效果:


原文地址:https://www.cnblogs.com/it-tsz/p/10745793.html