蓝牙键盘: ctrl--command、win--control、alt--option
- 修改类名
shift + F6
mac下的idea快捷键
mac os 添加代码块(try catch)
option/alt + command + T快速实现所继承接口的方法
win图标 + i
- 重写父类的方法
ctrl/alt + n
生成getter 和setter方法
command + n生成构造器
command + n抛异常快捷键
alt + enter同时也是生成序列化id的快捷键mac和windows下相同光标要放在类名上
弹出所有的父类的方法
win图标 + o快速找到接口的实现类
ctrl+alt +B快速实现接口添加的方法
Alt+EnterMacoption + Enter整理代码格式快捷键
win:默认ctrl + alt + L,qqkj:ctrl + alt + RMac:ctrl + option + Lidea进入某个类后回退到之前的位置
ctrl + shift + 方向左键这不是默认的,是因为有冲突我自己重新自定义的全局检索
ctrl + alt + 0查看一个类的所有方法
windows:alt+7mac:command+7自动补全变量类型和变量名称
我修改后的Mac键位:ctrl+option+V
windows键位:ctrl+alt+V


idea调试


idea折叠代码
command + shift + -