在Eclipse中更改背景颜色文本

时间:2022-11-20 23:10:46

I'm working with PHP in Eclipse (PDT), but when there is code of HTML and PHP, the HTML color is with a black background and this is very annoying and difficult to read. Is there a way to change that background color?

我在Eclipse(PDT)中使用PHP,但是当存在HTML和PHP的代码时,HTML颜色是黑色背景,这非常烦人且难以阅读。有没有办法改变背景颜色?

在Eclipse中更改背景颜色文本

2 个解决方案

#1


4  

Go to Window -> Preferences -> PHP -> Editor -> Syntax Coloring and then navigate through the list and find the ones that have the black background and change it back to white.

转到窗口 - >首选项 - > PHP - >编辑器 - >语法着色,然后浏览列表并找到具有黑色背景并将其更改回白色的列表。

If the color preference isn't in there, search for Syntax Coloring and see if you have something else overriding it.

如果颜色首选项不在那里,请搜索“语法着色”并查看是否还有其他内容覆盖它。

#2


0  

I was typing something similar to what jprofitt said, but less complete.

我输入类似于jprofitt所说的东西,但不太完整。

Another option would be to install the Eclipse Color Theme plugin and use those settings.

另一种选择是安装Eclipse Color Theme插件并使用这些设置。

#1


4  

Go to Window -> Preferences -> PHP -> Editor -> Syntax Coloring and then navigate through the list and find the ones that have the black background and change it back to white.

转到窗口 - >首选项 - > PHP - >编辑器 - >语法着色,然后浏览列表并找到具有黑色背景并将其更改回白色的列表。

If the color preference isn't in there, search for Syntax Coloring and see if you have something else overriding it.

如果颜色首选项不在那里,请搜索“语法着色”并查看是否还有其他内容覆盖它。

#2


0  

I was typing something similar to what jprofitt said, but less complete.

我输入类似于jprofitt所说的东西,但不太完整。

Another option would be to install the Eclipse Color Theme plugin and use those settings.

另一种选择是安装Eclipse Color Theme插件并使用这些设置。