Intellij idea兼容 Eclipse 快捷键 (仅个人学习回顾,防止遗忘)

尚硅谷视频教程链接

学习资料获取

  • 执行(run) alt + r
  • 提示补全(Class Name Completion) alt + /
  • 单行注释 ctrl + /
  • 多行注释 ctrl + shift + /
  • 向下复制一行 (Duplicate Lines) ctrl + alt + down
  • 删除一行或选中行(Delete Line) ctrl + d
  • 向上、下移动行 (Move StateMent Up/Down) alt + up/down
  • 向下开始新的一行(Start New Line) shift + enter
  • 向上开始新的一行(Start New Line Before Current) ctrl + shift + enter
  • 查看源码(Class) ctrl + 选中结构 或者 ctrl + shift + t
  • 万能查错/生产返回值变量 alt + enter
  • 退出前一个编辑页面(back)、进入下一个编辑页(forward) alt + left/right
  • 查看继承关系(type hierarchy) F4
  • 格式化化(reformat code) ctrl + shift + F
  • 提示方法参数类型(parameter info) ctrl + alt + /
  • 选中数行前移 sghift + tab
  • 选中数行后移 tab
  • 查看类的结构:类似于eclipse的outline ctrl + o
  • 重构:修改变量名或方法名(rename) alt + shift +r
  • 大、小写转换(toggle case) ctrl + shift + y
  • 生成构造、getter、setter、toString alt + shift + s
  • 查看文档说明(quick documentation) F2
  • 收起、打开所有方法(collapse/expand all) alt + shift + c/x
  • 打开代码所在磁盘文件夹(show in explorer) ctrl + shift + x
  • 生成try-catch等(surround with) alt + shift + z
  • 查找替换()当前 ctrl + f
  • 查找(全局) ctrl + h
  • 查找文件 double shift
  • 查看类的继承结构图(show UML diagram) ctrl + shift + u
  • 查看方法的重写结构(method hierarchy) ctrl + alt + h
  • 添加收藏(add to favorites) ctrl + shift + m
  • 打开最近修改文件(recently files) ctrl + e
  • 关闭当前修改栏(close) ctrl + w
  • 关闭打开的所有栏(close all) ctrl + shift + w
  • 快查错误(next highlighted error) ctrl + shift + q
  • 选择要粘贴的内容(show in explorer) ctrl + shift + v
  • 查看方法调用位置(call hierarchy) ctrl + shift + h
posted @ 2020-05-19 17:28  民三岁  阅读(337)  评论(0编辑  收藏  举报