颜色配置步骤:Window->Preferences->General->Editors->Text Editors->Annotations
eclipse编译器错误、警告设置
原文:https://www.cnblogs.com/jpfss/p/9406823.html