Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Eclipse 中,当单击一个标识符(函数名或变量等)时,该标识符的背景和该标识符的所有其他出现都被赋予不同的背景颜色。
谁能告诉我,为此更改背景颜色的首选项是什么。
(最后一次在我的暗日食设置中保留)。
有一个名为Annotations的部分允许您配置Occurrences的背景颜色。您可以在General -> Editors -> Text Editors -> Annotations下的 Preferences 中找到它。
我必须重新启动 Eclipse 才能看到我的更改——在 Preferences 窗口中简单的Apply是不够的(使用 Eclipse SDK 3.4.1)。