点击设置->编辑器->文件类型->忽略的文件和文件夹->点击+号->新增需要忽略显示的文件类型 如:.idea .mvn 英文版对应:settings->editor->file type->Ingore files and folders