eclipse 中#ifdef.....#endif块不置灰显示

我在使用eclipse编辑c++文本时,已经作了以下设置      Window->Preferences->C/C++->Editor并选中“突出显示非活动代码”框 且inactive code highligt颜色已经选为灰色     可是在代码较多的cpp文件,#ifdef...#endif块的代码仍是没有置灰显示,最后发现要把Window->Preferences->C/C++->Editor->Content Assist->Scalability 中Scalability mode detection模块中的Enable scalability mode when the number of lines in the file is more than:5000 中的数字(我这里为5000)设置为比你最大的cpp文件的行数大的值c++