1、快捷键 Ctrl+Alt+s或者选择File | Settings ,进入idea设置页面;

2、选择 Appearance & Behavior | File Colors  ,选择+号 选择Project  file就,开始自己定制颜色,我的保护色是"#CCE8CF";