option + enter快速提示错误
control+enter 插入getter,setter等方法
option+command+v快速补全代码,添加返回值和类型。
command+shift + enter快速补全代码(加分号,括号)并格式化这一行代码
option+command +L 格式化代码
option+command+B查看接口实现类
control+h类的继承关系
option+F7 find in usage
command + d 复制选中代码
command + shift + 上下方向键,移动选中代码
shift+F2 快速定位错误
command + shift + r 替换
command +shift+U切换大小写
command + option + t 环绕代码,比如加try/catch等
option+command + m抽取方法
option+command +shift 列编辑模式,按住快捷键之后鼠标拖动选择列
option+enter 插入所有set属性方法,选中某个对象名,按住快捷键(先安装GenerateAllSetter插件)
按住option,鼠标可直接选取多列的值(包括选取之后复制粘贴)
mac idea快捷键
最新推荐文章于 2024-01-10 11:46:01 发布