標籤:eclipse android
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=truesemanticHighlighting.annotation.color=88,88,88semanticHighlighting.class.bold=truesemanticHighlighting.class.color=0,0,255semanticHighlighting.class.enabled=truesemanticHighlighting.deprecatedMember.color=0,0,255semanticHighlighting.deprecatedMember.strikethrough=falsesemanticHighlighting.enum.color=0,0,255semanticHighlighting.enum.enabled=truesemanticHighlighting.field.color=88,88,88semanticHighlighting.inheritedMethodInvocation.color=136,0,0semanticHighlighting.inheritedMethodInvocation.enabled=truesemanticHighlighting.interface.color=0,0,255semanticHighlighting.interface.enabled=truesemanticHighlighting.localVariable.color=88,88,88semanticHighlighting.localVariable.enabled=truesemanticHighlighting.localVariableDeclaration.color=88,88,88semanticHighlighting.localVariableDeclaration.enabled=truesemanticHighlighting.method.color=136,0,0semanticHighlighting.method.enabled=truesemanticHighlighting.methodDeclarationName.color=136,0,0semanticHighlighting.methodDeclarationName.enabled=truesemanticHighlighting.number.color=0,0,0semanticHighlighting.number.enabled=truesemanticHighlighting.parameterVariable.color=88,88,88semanticHighlighting.parameterVariable.enabled=truesemanticHighlighting.staticField.color=150,0,150semanticHighlighting.staticField.italic=falsesemanticHighlighting.staticMethodInvocation.color=136,0,0semanticHighlighting.staticMethodInvocation.italic=falsesemanticHighlighting.typeArgument.color=128,128,128semanticHighlighting.typeArgument.enabled=truesemanticHighlighting.typeParameter.bold=falsesemanticHighlighting.typeParameter.enabled=truesourceHoverBackgroundColor=255,255,225
Eclipse色彩配置匯入另外一台電腦