IDEA 默认的代码提示是区分大小写的. 设置忽略大小写: File => Settings, 进入设置. 快捷键 Ctrl + Alt + S Editor => General => Code Completion, 去掉勾选 Match case