您的位置:首页 > 编程语言 > Java开发

Eclipse配色方案导入另外一台电脑

2015-01-09 11:13 295 查看
Eclipse默认Android代码配色方案非常搓,代码写多了Editor界面一片黑白色,相当碍眼。

可以通过菜单Window/Preference对代码进行着色。花了半天把代码着色得很漂亮了,然后有个需求要把着色方案移到另外一台电脑的Eclipse项目去,网上搜索了半天也没找到什么好方法,最后研究发现着色配置保存在项目文件夹下的\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.jdt.ui.prefs里,把里面配色部分直接拷贝保存到另外电脑的org.eclipse.jdt.ui.prefs文件里就欧了。



哦也。

嘿嘿,漂亮吧。



以下是配置,网络备份一份,^_^



org.eclipse.jface.textfont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
proposalOrderMigrated=true
semanticHighlighting.annotation.color=88,88,88
semanticHighlighting.class.bold=true
semanticHighlighting.class.color=0,0,255
semanticHighlighting.class.enabled=true
semanticHighlighting.deprecatedMember.color=0,0,255
semanticHighlighting.deprecatedMember.strikethrough=false
semanticHighlighting.enum.color=0,0,255
semanticHighlighting.enum.enabled=true
semanticHighlighting.field.color=88,88,88
semanticHighlighting.inheritedMethodInvocation.color=136,0,0
semanticHighlighting.inheritedMethodInvocation.enabled=true
semanticHighlighting.interface.color=0,0,255
semanticHighlighting.interface.enabled=true
semanticHighlighting.localVariable.color=88,88,88
semanticHighlighting.localVariable.enabled=true
semanticHighlighting.localVariableDeclaration.color=88,88,88
semanticHighlighting.localVariableDeclaration.enabled=true
semanticHighlighting.method.color=136,0,0
semanticHighlighting.method.enabled=true
semanticHighlighting.methodDeclarationName.color=136,0,0
semanticHighlighting.methodDeclarationName.enabled=true
semanticHighlighting.number.color=0,0,0
semanticHighlighting.number.enabled=true
semanticHighlighting.parameterVariable.color=88,88,88
semanticHighlighting.parameterVariable.enabled=true
semanticHighlighting.staticField.color=150,0,150
semanticHighlighting.staticField.italic=false
semanticHighlighting.staticMethodInvocation.color=136,0,0
semanticHighlighting.staticMethodInvocation.italic=false
semanticHighlighting.typeArgument.color=128,128,128
semanticHighlighting.typeArgument.enabled=true
semanticHighlighting.typeParameter.bold=false
semanticHighlighting.typeParameter.enabled=true
sourceHoverBackgroundColor=255,255,225
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: