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

摘自:https://www.cnblogs.com/xiezhidong/p/6048256.html

♣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/yuwentims/articles/9303684.html

  • 2
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值