myeclipse修改主题色、背景色

来源:互联网 发布:note express for mac 编辑:程序博客网 时间:2024/05/22 12:31

方法1:你可以从Eclipse Marketplace中下载
Please visit here: http://eclipsecolorthemes.org/?view=plugin

http://eclipsecolorthemes.org/ 这个网站上提供了很多已经配置好的颜色主题,有xml和epf两种格式,你喜欢哪个就下载下来。
我下载的是.epf文件,下载下来后File->Import->General->Preferences->找到你的.epf文件->Finish。你会发现,Eclipse的编辑环境变成了你要的那种。但是问题也来了,你要如何恢复成原来的样子呢?
参考了下博文:
http://stackoverflow.com/questions/186118/eclipse-fonts-and-background-color
(更新)http://stackoverflow.com/questions/5053834/eclipse-ide-for-java-full-dark-theme
发现有插件可以下载。
通过方法2站点更新之后Window->Preferences->General->Apperance->Color Theme->default,便可恢复默认的主题。

方法2:通过站点更新
eclipse:Help->Install New Software->Work with:Update Site - http://eclipse-color-theme.github.com/update
MyEclipse:Help->MyEclipse Confrontation Center->Software->add site->输入name:ColorTheme,URL:http://eclipse-color-theme.github.com/update->点击OK->在Personal Sites下的Eclipse Color Theme下的Eclipse Color Theme右键Add to Profile->等待五分钟安装插件的时间->点击右下角的apply changes

安装的过程中发生了错误,不过貌似没事,顺利安装好了,有点奇怪。
安装后需要重启Eclipse。重启后打开Window->Preferences->General->Apperance->Color Theme(未安装插件前是没有这个选项的)
界面如下:

这里面有多个主题可以供你选择,也可以导入自己的主题文件,也可以恢复默认的样子,我觉得sublime text2最适合编程。

最后

我从http://eclipsecolorthemes.org/ 这个网站上下载的是.epf文件,下载下来后File->Import->General->Preferences->找到你的.epf文件->Finish。你会发现,Eclipse的编辑环境变成了你要的那种(亲测)。

转自:http://blog.csdn.net/wusuopubupt/article/details/9130653

原创粉丝点击