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

本文介绍如何在Eclipse中自定义代码颜色,并分享了一种有效的方法来迁移这些设置到另一台计算机上,使得代码编辑器界面更加美观。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

       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


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值