Eclipse 字体和背景颜色
我一直在尝试将 Eclipse 窗口的背景颜色更改为黑色并自定义字体颜色。 似乎没有办法做到这一点,至少不是以明显的方式。 我使用的是3.3版本。
我该如何执行此操作,或者是否有任何插件可以帮助执行此操作?
I have been trying to change the background color of Eclipse's windows to black and customize the font colors. There doesn't seem to be a way to do this, at least not in an obvious way. I am using version 3.3.
How do I do this or are there any plugin's that might be able to assist in doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(11)
更改背景颜色
要更改文本颜色
要更改 Java 编辑器字体
To change background colour
To change text colours
To change Java editor font
我刚刚遇到这个: Eclipse Color Themes
安装插件并从预定义主题中进行选择,或者写你自己的。
正是我所需要的!
I just came across this: Eclipse Colour Themes
Install the plugin and choose from a selection of pre-defined themes, or write your own.
Just what I needed!
在 Windows → 首选项 → 常规 → 外观下,您可以找到深色主题。
Under Windows → Preferences → General → Apperance you can find a dark theme.
视图(导航器、控制台、任务等)的背景颜色根据桌面(系统)设置进行设置。 在 Linux/GNome 上,我更改了系统/首选项/外观来更改此颜色。
编辑器颜色由不同的编辑器设置得很混乱,在 Eclipse 首选项中搜索背景以查找不同的选项。 获得漂亮的深色(而不仅仅是深色)主题的一种简单方法是安装 Afae 插件,然后在其首选项中选择主题(例如,暮光之城主题很漂亮) - 再次,Eclipse首选项,Afae组。 当然,这仅适用于使用 Afae 进行编辑的情况。
Background color of views (navigator, console, tasks etc) is set according to the desktop (system) settings. On Linux/GNome I changed System/Preferences/Appeareance to change this color.
Editor colors are set chaotically by different editors, search for background in eclipse preferences to find different options. One easy way to get beautiful dark (and not only dark) themes is to install Afae plugin, and then pick theme within its preferences (twilight theme is beautiful, for example) - again, eclipse prefs, Afae group. Of course this applies only when you edit with Afae.
如果您在使用 Eclipse 2019 时遇到问题,并且使用深色主题并设置背景但不更改:似乎有最近的 Eclipse 错误。 我建议您查看此处或此处获取解决方法。
If you are having trouble with Eclipse 2019 and using a dark theme and setting the background and having it not change: There seems to be a recent Eclipse bug. I suggest you look here or here for workarounds.
您可以安装 eclipse 主题插件然后选择默认。
请访问此处:http://eclipsecolorthemes.org/?view=plugin
You can install eclipse theme plugin then select default.
Please visit here: http://eclipsecolorthemes.org/?view=plugin
如果您转到 Windows、首选项,然后选择常规、编辑器、文本编辑器,您可以在该属性页上设置颜色(并且有一个用于设置更多颜色的链接 - 常规、外观、颜色和字体)。
无论如何,这是使用 Eclipse 3.3 构建的。
If you go to Windows, Preferences then select General, Editors, Text editors, you can set colors on that property page (and there's a link for setting MORE colors - General, Appearance, Colors and fonts).
That's with an Eclipse 3.3 build anyway.
最简单的方法是从 Eclipse Marketplace 安装该插件。 转到Help→Eclipse Marketplace,然后搜索Eclipse Color Theme并安装它。
The easiest way is to install the plugin is from the Eclipse Marketplace. Go to Help→Eclipse Marketplace, then search for Eclipse Color Theme and install it.
...在 Mac 上,首选项位于主“Aptana Studio 3”菜单下,而不是如上所述的“Windows”菜单下。
... on a Mac, Preferences' is under the main 'Aptana Studio 3' menu rather than the 'Windows' menu as mentioned above.
在 Windows 或 Mac 上,您可以在常规→编辑器→文本编辑器菜单下找到此设置。
On Windows or Mac, you can find this setting under the General → Editors → Text Editors menu.
切换到主题...也是一个选项
Switch to Theme... is also an option