效果图如下:
配置生效方式:
找到CDT的workspace目录中如下文件
X:\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs
在其中填写如下内容:
1 content_assist_autoactivation_delay=200 2 content_assist_disabled_computers=org.eclipse.cdt.ui.parserProposalCategory\u0000org.eclipse.cdt.ui.textProposalCategory\u0000 3 content_assist_proposals_timeout=5000 4 5 semanticHighlighting.class.bold=true 6 semanticHighlighting.class.color=0,0,255 7 semanticHighlighting.enum.color=0,0,255 8 semanticHighlighting.enum.enabled=true 9 semanticHighlighting.enumerator.color=255,0,0 10 semanticHighlighting.function.color=0,0,255 11 semanticHighlighting.function.enabled=true 12 semanticHighlighting.functionDeclaration.color=128,0,255 13 semanticHighlighting.globalVariable.color=0,0,255 14 semanticHighlighting.globalVariable.enabled=true 15 semanticHighlighting.localVariable.color=128,0,0 16 semanticHighlighting.localVariable.enabled=true 17 semanticHighlighting.localVariableDeclaration.enabled=true 18 semanticHighlighting.macroDefinition.color=255,0,0 19 semanticHighlighting.macroDefinition.enabled=true 20 semanticHighlighting.macroSubstitution.color=255,0,0 21 semanticHighlighting.macroSubstitution.enabled=true 22 semanticHighlighting.method.bold=true 23 semanticHighlighting.method.color=128,0,255 24 semanticHighlighting.method.enabled=true 25 semanticHighlighting.methodDeclaration.color=128,0,255 26 semanticHighlighting.namespace.color=0,0,255 27 semanticHighlighting.namespace.enabled=true 28 semanticHighlighting.overloadedOperator.color=255,0,0 29 semanticHighlighting.overloadedOperator.enabled=true 30 semanticHighlighting.parameterVariable.color=0,0,174 31 semanticHighlighting.parameterVariable.enabled=true 32 semanticHighlighting.staticMethod.bold=true 33 semanticHighlighting.staticMethod.color=128,0,255 34 semanticHighlighting.typedef.bold=true 35 semanticHighlighting.typedef.color=128,64,0 36 sourceHoverBackgroundColor=255,255,225
---恢复内容结束---
效果图如下:
配置生效方式:
找到CDT的workspace目录中如下文件
X:\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs
在其中填写如下内容:
1 content_assist_autoactivation_delay=200 2 content_assist_disabled_computers=org.eclipse.cdt.ui.parserProposalCategory\u0000org.eclipse.cdt.ui.textProposalCategory\u0000 3 content_assist_proposals_timeout=5000 4 5 semanticHighlighting.class.bold=true 6 semanticHighlighting.class.color=0,0,255 7 semanticHighlighting.enum.color=0,0,255 8 semanticHighlighting.enum.enabled=true 9 semanticHighlighting.enumerator.color=255,0,0 10 semanticHighlighting.function.color=0,0,255 11 semanticHighlighting.function.enabled=true 12 semanticHighlighting.functionDeclaration.color=128,0,255 13 semanticHighlighting.globalVariable.color=0,0,255 14 semanticHighlighting.globalVariable.enabled=true 15 semanticHighlighting.localVariable.color=128,0,0 16 semanticHighlighting.localVariable.enabled=true 17 semanticHighlighting.localVariableDeclaration.enabled=true 18 semanticHighlighting.macroDefinition.color=255,0,0 19 semanticHighlighting.macroDefinition.enabled=true 20 semanticHighlighting.macroSubstitution.color=255,0,0 21 semanticHighlighting.macroSubstitution.enabled=true 22 semanticHighlighting.method.bold=true 23 semanticHighlighting.method.color=128,0,255 24 semanticHighlighting.method.enabled=true 25 semanticHighlighting.methodDeclaration.color=128,0,255 26 semanticHighlighting.namespace.color=0,0,255 27 semanticHighlighting.namespace.enabled=true 28 semanticHighlighting.overloadedOperator.color=255,0,0 29 semanticHighlighting.overloadedOperator.enabled=true 30 semanticHighlighting.parameterVariable.color=0,0,174 31 semanticHighlighting.parameterVariable.enabled=true 32 semanticHighlighting.staticMethod.bold=true 33 semanticHighlighting.staticMethod.color=128,0,255 34 semanticHighlighting.typedef.bold=true 35 semanticHighlighting.typedef.color=128,64,0 36 sourceHoverBackgroundColor=255,255,225