解决办法很简单,依次点击:窗口 -》 首选项 -》 c/c++ -》 Editor -》 Scalability,在右边的Enable scalability mode when thr number of lines in the file is more than: 栏后填上20000或者50000,具体根据自己的代码来调整就好。