MacOS这idea快捷键
Control + Space基本的代码补全(补全任何类、方法、变量)Control + Shift + Space智能代码补全(过滤器方法列表和变量的预期类型)Command + Shift + Enter自动结束代码,行末自动添加分号Command + P显示方法的参数信息Control + J快速查看文档
Command + N, Control + Enter, Control + N生成代码(getter、setter、构造函数、hashCode/equals,toString)Control + O覆盖方法(重写父类方法)
Command + /注释/取消注释与行注释Command + Option + /注释/取消注释与块注释
Command + Option + L格式化代码Control + Option + O优化importCommand + O查找类文件
Command + F12弹出当前文件结构层,可以在弹出的层上直接输入进行筛选(可用于搜索类中的方法)Control + H显示当前类的层次结构
参考来源:https://wiki.jikexueyuan.com/project/intellij-idea-tutorial/keymap-mac-introduce.html

浙公网安备 33010602011771号