eclipse 部分颜色及部分字体设置

时间:2021-01-31 20:04:17

eclipse整体代码的颜色风格可以用插件 eclipse color theme 更改。

但尽管如此,有些颜色仍不是最满意的,还需自己设计。

1. 光标选中字体的颜色,如图

eclipse 部分颜色及部分字体设置

一个openItem被选中了,其他的openItem就会有改变背景色。

设置方法:Windows -> Preferences -> General -> Editors -> Text Editors -> Annotations

光标所在单词背景色 -> Wirte Occurrences

而其他相同单词的背景色 -> Occurrences

2. 类名,方法颜色的改变

Windows -> Preferences -> Java -> Editors -> Syntax Coloring

可以修改类名,方法的名字的颜色

3. java的字体

在 Windows -> Preferences -> General -> Appearance -> Colors and Fonts  -> Java -> Java Editor Text Font 设置

与 Windows -> Preferences -> General -> Appearance -> Colors and Fonts  -> Basic -> Text Font 要区别开