简体   繁体   English

如何在 Eclipse 包资源管理器中更改修改后的文件/包的颜色?

[英]How to change the color of modified files/packages in the Eclipse Package Explorer?

In Eclipse's Package Explorer I would like to change the color of the font of files and packages that were modified (managed by the Git plugin, these files are preceded by > ).在 Eclipse 的包资源管理器中,我想更改已修改的文件和包的字体颜色(由 Git 插件管理,这些文件以>开头)。

I went to Preferences > General > Appearance > Colors and Fonts , but I was not able to find which option (if any) controls this case.我去了Preferences > General > Appearance > Colors and Fonts ,但我无法找到哪个选项(如果有)控制这种情况。

Alternatively, is there any dark theme for Eclipse that does not show dark text over dark background?或者,Eclipse 是否有任何深色主题不会在深色背景上显示深色文本?

You can change the foreground color, background color, and font for Uncommitted files.您可以更改未提交文件的前景色、背景色和字体。 Go to General > _Appearance > Colors and Fonts and open the Git category.转到General > _Appearance > Colors and Fonts并打开Git类别。 At its end, you'll find the Uncommitted entries.最后,您将找到未提交的条目。

In this example screenshot, the foreground color is changed to red:在此示例屏幕截图中,前景色更改为红色:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM