让Eclipse使用Vibrant Ink等配色方案

开发 后端
创建自己的配置文件。将第1步备份的文件内容复制到一个新的文件中;搜索文件内容删除文件中类似以下的配置。

备份自己原有的配置,file->export->preferences->export all 。

创建自己的配置文件。将第1步备份的文件内容复制到一个新的文件中;搜索文件内容删除文件中类似以下的配置:

  1. /instance/org.eclipse.jdt.ui/semantichighlighting.staticfield.enabled=false/instance/org.eclipse.ui.editors/abstracttexteditor.color.background.systemdefault=false/instance/org.eclipse.ui.editors/currentlinecolor=45,45,68 

在文件中新增以下主题配置:

  1. file_export_version=3.0/instance/org.eclipse.jdt.ui/semantichighlighting.parametervariable.color=64,128,0 
  2. /instance/org.eclipse.jdt.ui/java_comment_task_tag=128,0,128 
  3. /instance/org.eclipse.jdt.ui/semantichighlighting.parametervariable.enabled=true/instance/org.eclipse.jdt.ui/java_operator=255,255,255 
  4. /instance/org.eclipse.jdt.ui/semantichighlighting.localvariabledeclaration.color=53,122,146 
  5. /instance/org.eclipse.jdt.ui/java_string=71,116,136 
  6. /instance/org.eclipse.jdt.ui/pf_coloring_assignment=255,255,255 
  7. /instance/org.eclipse.jdt.ui/semantichighlighting.inheritedmethodinvocation.enabled=true/instance/org.eclipse.jdt.ui/pf_coloring_value=255,255,255 
  8. /instance/org.eclipse.jdt.ui/semantichighlighting.class.color=156,248,40 
  9. /instance/org.eclipse.jdt.ui/semantichighlighting.typeparameter.color=205,177,173 
  10. /instance/org.eclipse.jdt.ui/pf_coloring_argument=128,255,0 
  11. /instance/org.eclipse.jdt.ui/semantichighlighting.interface.color=135,240,37 
  12. /instance/org.eclipse.ui.editors/currentlinecolor=34,34,32 
  13. /instance/org.eclipse.jdt.ui/java_doc_link=129,69,162 
  14. /instance/org.eclipse.jdt.ui/java_keyword_return=236,108,30 
  15. /instance/org.eclipse.ui.editors/printmargincolor=76,76,76 
  16. /instance/org.eclipse.jdt.ui/semantichighlighting.methoddeclarationname.enabled=true/instance/org.eclipse.jdt.ui/java_single_line_comment=129,70,162 
  17. /instance/org.eclipse.jdt.ui/semantichighlighting.localvariable.color=60,117,141 
  18. /instance/org.eclipse.jdt.ui/semantichighlighting.abstractmethodinvocation.enabled=true/instance/org.eclipse.jdt.ui/java_default=255,255,255 
  19. /instance/org.eclipse.jdt.ui/java_doc_keyword=128,0,128 
  20. /instance/org.eclipse.jdt.ui/semantichighlighting.class.enabled=true/instance/org.eclipse.jdt.ui/semantichighlighting.enum.enabled=true/instance/org.eclipse.ui.editors/abstracttexteditor.color.selectionbackground=65,76,59 
  21. /instance/org.eclipse.jdt.ui/semantichighlighting.abstractmethodinvocation.color=241,196,54/instance/org.eclipse.ui.editors/abstracttexteditor.color.background=25,25,25 
  22. /instance/org.eclipse.jdt.ui/semantichighlighting.field.color=53,122,143 
  23. /instance/org.eclipse.jdt.ui/java_multi_line_comment=140,63,200 
  24. /instance/org.eclipse.jdt.ui/java_bracket=255,255,255 
  25. /instance/org.eclipse.jdt.ui/semantichighlighting.staticmethodinvocation.color=255,255,255 
  26. /instance/org.eclipse.jdt.ui/semantichighlighting.inheritedmethodinvocation.color=227,183,53 
  27. /instance/org.eclipse.ui.editors/abstracttexteditor.color.findscope=25,25,25 
  28. /instance/org.eclipse.jdt.ui/semantichighlighting.deprecatedmember.color=255,255,255 
  29. /instance/org.eclipse.jdt.ui/java_doc_tag=128,0,128 
  30. /instance/org.eclipse.ui.editors/abstracttexteditor.color.foreground=128,255,0 
  31. /instance/org.eclipse.jdt.ui/semantichighlighting.interface.enabled=true/instance/org.eclipse.jdt.ui/semantichighlighting.typeargument.enabled=true/instance/org.eclipse.jdt.ui/semantichighlighting.method.enabled=true/instance/org.eclipse.ui.editors/deletionindicationcolor=255,0,0 
  32. /instance/org.eclipse.jdt.ui/content_assist_proposals_foreground=255,146,66 
  33. /instance/org.eclipse.ui.editors/abstracttexteditor.color.selectionbackground.systemdefault=false/instance/org.eclipse.ant.ui/org.eclipse.ant.ui.tagscolor=255,255,255 
  34. /instance/org.eclipse.jdt.ui/semantichighlighting.staticfinalfield.color=128,255,0 
  35. /instance/org.eclipse.jdt.ui/semantichighlighting.typeargument.color=217,176,172 
  36. /instance/org.eclipse.jdt.ui/content_assist_parameters_background=0,0,0 
  37. /instance/org.eclipse.jdt.ui/semantichighlighting.staticfinalfield.enabled=true/instance/org.eclipse.jdt.ui/java_doc_default=140,63,200 
  38. /instance/org.eclipse.ui.editors/abstracttexteditor.color.background.systemdefault=false/instance/org.eclipse.jdt.ui/semantichighlighting.typeparameter.enabled=true/instance/org.eclipse.jdt.ui/pf_coloring_key=255,200,0 
  39. /instance/org.eclipse.jdt.ui/semantichighlighting.localvariabledeclaration.enabled=true/instance/org.eclipse.jdt.ui/semantichighlighting.staticfield.color=255,255,255 
  40. /instance/org.eclipse.jdt.ui/java_keyword=236,105,30/instance/org.eclipse.jdt.ui/semantichighlighting.enum.color=64,128,0 
  41. /instance/org.eclipse.ui.editors/abstracttexteditor.color.foreground.systemdefault=false/instance/org.eclipse.jdt.ui/content_assist_parameters_foreground=230,230,230 
  42. /instance/org.eclipse.ant.ui/org.eclipse.ant.ui.textcolor=255,255,255 
  43. /instance/org.eclipse.jdt.ui/semantichighlighting.method.color=247,197,39 
  44. /instance/org.eclipse.jdt.ui/semantichighlighting.methoddeclarationname.color=241,196,56 

将以上文件保存为eclipse_vibrant_ink.epf(以.epf为后缀即可)

导入主题配置文件,file->import->preferences->import all。

以上简单的基本操作就可以完成对eclipse主题的设置,经过我的测试上面的方法在eclipse3.4-3.6都可以成功配置。

【编辑推荐】

  1. 介绍一款Eclipse的插件,MyBatis Editor
  2. Eclipse新版发布,全面支持Java 7
  3. 如何在Hibernate中使用union
  4. Servlet初始化:随服务器启动而运行
责任编辑:艾婧 来源: 我的java空间
相关推荐

2013-09-22 16:17:59

扁平化UI设计

2022-11-08 08:43:25

vimLinux

2009-10-27 09:09:06

Eclipse技巧

2021-10-03 15:17:57

Plasma配色方案应用程序

2009-08-13 15:16:00

Eclipse建立We

2009-06-18 15:33:40

2009-06-10 16:19:33

Eclipse开发PH

2009-06-17 17:44:41

Eclipse插件Sp

2010-05-20 18:52:06

Eclipse使用SV

2009-06-04 20:45:11

Eclipse插件安装Eclipse插件使用

2009-06-10 16:41:51

Links安装Ecli

2009-06-10 16:35:25

HibernateEclipse安装

2013-03-26 11:20:08

Eclipse无法显示

2011-09-13 17:03:16

Eclipse And

2009-06-01 15:32:30

EclipseJPA入门

2022-02-10 19:15:18

React监听系统模式

2024-11-01 09:28:02

2022-07-06 20:01:59

配色方案CSS

2009-06-09 12:38:12

NetBeanseclipse

2010-05-20 18:30:08

Eclipse下使用S
点赞
收藏

51CTO技术栈公众号