美文网首页
Intellij Idea 常见用法

Intellij Idea 常见用法

作者: Fenger_Zhou | 来源:发表于2016-06-14 15:49 被阅读0次

For windows

操作

  • crtl + Q 查看注释
  • 生成UML图,点击package / class ,Diagrams/Show Diagrams pop...
  • 注释 ctrl+/ , ctrl+shift +/
  • 最近打开文件 ctrl+e
  • 隐藏左侧代码树 alt+1
  • 快速定位错误 F2 , shift+F2
  • 高亮同一变量 ctrl+shift+F7
  • 打开定义 ctrl+b
  • 代码结构 ctrl+F12
  • 快速打开文件 ctrl+shift+N
  • 快速打开类 ctrl+N
  • 查看方法声明 ctrl+p
  • 生成块代码{},ctrl+alt+T
  • 智能提示 ctrl+shift+space
  • 重载 ctrl+O
  • 跳到大括号的开头结尾 ctrl+[或]
  • 关闭文件 ctrl + F4

For mac

操作

  • ⌘+p , 查看参数
  • F4 , jump to source
  • ⌘ + enter , show source
  • ⌃+O override Method
  • ⌥+⌘+T surround with
  • ⇧ + ⌘ + O find file
  • ⌘ + O find class
  • ⇧ + ⌘ + H method Hierarchy
  • ⌃+⌥+H call Hierarchy
  • ⌃+down , next method

相关文章

网友评论

      本文标题:Intellij Idea 常见用法

      本文链接:https://www.haomeiwen.com/subject/ahgrdttx.html