File—>Settings —>Editor —>Color Scheme—>General —>Errors and Warning—>Error
Unused symbol 未使用方法,属性等
error 错误的属性
IDEA修改错误提示颜色

相关文章: