eclipse设置字体颜色

  • Post author:
  • Post category:其他

先附上效果图:

步骤

首先,设置背景色的方式,打开Eclipse以后,依次点击 Windows -> Preference->General->Editors->Text Editor

Blackground Color设置为:色调:85。饱和度:120。亮度:208



然后,设置字体颜色,Windows -> Preference->Java->Editor->Syntax Coloring->java,依次修改成以下(颜色依次为RGB):

1、注释 Annotations : 107 147186 浅蓝色

2、符号 Brackets : 255 128 0 橙色

3、类名 Classes : 0 80 50 加粗 深绿色

4、常量 Constant : 202 0 202 加粗 玫瑰红

5、弃用的成员 Deprecated members :123 23 43 中划线 加粗 咖啡色

6、枚举 Enums : 128 0 255 紫色

7、变量 Fields : 128 0 128 深紫色

8、return关键字 Keyword ‘return’ :255 0 85  红色 加粗

9、其他关键字 Keyword excluding ‘return’ :207 46 125 玫瑰红 加粗

10、方法定义 Method declarations :255 128 64 橙色加粗

11、方法 Methods : 0 48 96 深蓝

12、数字 Numbers :42 0 255 蓝色

13、运算符 Operators : 255 128 0橙色

14、其他 Others :78 123 0  绿色

15、静态变量 Static fields :33 0 189 蓝色 加粗

16、字符串 Strings :  132 26 138 紫色

改好以后点击Apply应用。


版权声明:本文为qq_30656761原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。