有时不清楚类名或变量名的大小写,智能提示不会出来,默认是区分大小写的,可改为不区分,方面提示,
打开设置(CTRL+ALT+S)搜索editor,找到“Code Completion”->点击Case sensitive completion后面的选择框,选中None,然后一路确定即可。如下图:
IntelliJ IDEA 2018.3 以上版本:
另外
自动代码完成(任意类名、方法名、变量名) 默认为 Ctrl + Space,一般windows 输入法都占用了,可以改为其他快捷键,例如 Alt + .
智能代码完成(所期望类型的变量和方法列表供选择),默认为 Ctrl + Shift + Space,可以改为 Ctrl + Alt + .
还可以调整windows快捷键,来适应IDEA:
控制面板——语言——高级设置:
更改热键,或者直接不启用按键顺序(不过有可能会因为系统或输入法的原因,导致更改失败)。