---
title: "EclipseCDT之配色"
author: "EricGe"
date: "2011-10-10T11:37:50Z"
tags: []
categories: ["编程语言"]
slug: "eclipsecdt"
draft: false
lastmod: "2011-10-10T11:52:55Z"
id: 1188506
url: "https://ericge.iteye.com/blog/1188506"
---

代码配色现在有了一个好工具[Eclipse Color Themes](http://www.eclipsecolorthemes.org/) ，完全满足要求，不用在自己找配色了。RecognEye主题不错。

如果选择黑底色的话，CDT中的inactive code和当前选择类型名的背景是高亮的，会看不到代码，可以按下图调整：

1、inactive code

C/C++-&gt;Editor: Inactive code highlight

![](http://dl.iteye.com/upload/attachment/566757/54d51c32-fbec-354f-8659-29c23f84f88c.jpg)

2、Occurrences

General-&gt;Editors-&gt;Text Editors-&gt;Annotations: C/C++ Occurrences

![](http://dl.iteye.com/upload/attachment/566728/ce3920ff-1adc-3ee5-aefb-cbc95d3cf028.jpg)