IDEA shortcut key 2

【conventional】
  1. Ctrl+Shift+Enter, statement completes
  2. "!", negative completion, press "!" key when entering an expression
  3. Ctrl+E, recent file
  4. Ctrl+Shift+E, recently changed files
  5. Shift+Click to close the file
  6. Ctrl+[ OR ], you can run to the beginning and end of braces
  7. Ctrl+F12, you can display the structure of the current file
  8. Ctrl+F7, you can query the reference of the current element in the current file, and then press F3 to select
  9. Ctrl+N, you can quickly open the class
  10. Ctrl+Shift+N, you can quickly open files
  11. Alt+Q, you can see the declaration of the current method
  12. Ctrl+P, can display parameter information
  13. Ctrl+Shift+Insert, you can select the clipboard content and insert
  14. Alt+Insert, can generate constructor/Getter/Setter, etc.
  15. Ctrl+Alt+V, you can introduce variables. For example: new String(); automatically imports variable definitions
  16. Ctrl+Alt+T, you can wrap the code in a block, for example: try/catch
  17. Ctrl+Enter, import package, autocorrect
  18. Ctrl+Alt+L, format code
  19. Ctrl+Alt+I, automatically indents the selected code, this function can also work when editing JSP files
  20. Ctrl+Alt+O, optimize imported classes and packages
  21. Ctrl+R, replace text
  22. Ctrl+F, find text
  23. Ctrl+Shift+Space, auto-completion code
  24. Ctrl+space, code prompt (conflicts with system input method shortcut keys)
  25. Ctrl+Shift+Alt+N, find a method or variable in a class
  26. Alt+Shift+C, recent changes
  27. Alt+Shift+Up/Down, move up/down a line
  28. Shift+F6, Refactor - Rename
  29. Ctrl+X, delete line
  30. Ctrl+D, copy line
  31. Ctrl+/ or Ctrl+Shift+/, comment (// or /**/)
  32. Ctrl+J, automatic code (eg: serr)
  33. Ctrl+Alt+J, Surround with Dynamic Template
  34. Ctrl+H, display class structure diagram (class inheritance hierarchy)
  35. Ctrl+Q, show the annotation document
  36. Alt+F1, find the location of the code
  37. Alt+1, quickly open or hide the project panel
  38. Ctrl+Alt+left/right, return to the last browsed position
  39. Alt+left/right, switch code view
  40. Alt+Up/Down, quickly move positioning between methods
  41. Ctrl+Shift+Up/Down, move statement up/down
  42. F2 or Shift+F2, highlight errors or warnings to quickly locate
  43. Tab, after entering the code label, press Tab to generate the code
  44. Ctrl+Shift+F7, highlight all the text, press Esc to highlight disappear
  45. Alt+F3, find the same text one by one and highlight it
  46. Ctrl+Up/Down, go to the first or last line in the cursor
  47. Ctrl+B/Ctrl+Click, quickly open the class or method at the cursor (jump to the definition)
  48. Ctrl+Alt+B, jump to method implementation
  49. Ctrl+Shift+Backspace, jump to the last edited place
  50. Ctrl+O, override method
  51. Ctrl+Alt+Space, class name autocomplete
  52. Ctrl+Alt+Up/Down, quickly jump to search results
  53. Ctrl+Shift+J, combine two lines
  54. Alt+F8, calculate variable value
  55. Ctrl+Shift+V to insert the most recently used clipboard content selection into the text
  56. Ctrl+Alt+Shift+V, simple paste
  57. Shift+Esc, not only moves the focus to the editor, but also hides the current (or last active) tool window
  58. F12, move focus from editor to recently used tool window
  59. Shift+F1, the browser to open the Java documentation for the class or method used at the editor cursor character
  60. Ctrl+W, you can select a word, then a statement, then a line, then a function
  61. Ctrl+Shift+W, deselect the word under the cursor
  62. Alt+F7, find the location of a class, method or variable used in the entire project
  63. Ctrl+I, implementation method
  64. Ctrl+Shift+U, case conversion
  65. Ctrl+Y, delete the current line
  66. Shift+Enter, insert a new line down
  67. psvm/sout, main/System.out.println(); Ctrl+J, see more
  68. Ctrl+Shift+F, global search
  69. Ctrl+F, Find/Shift+F3, Find Up/F3, Find Down
  70. Ctrl+Shift+S, Advanced Search
  71. Ctrl+U, go to parent class
  72. Ctrl+Alt+S to open the settings dialog
  73. Alt+Shift+Inert,开启/关闭列选择模式
  74. Ctrl+Alt+Shift+S,打开当前项目/模块属性
  75. Ctrl+G,定位行
  76. Alt+Home,跳转到导航栏
  77. Ctrl+Enter,上插一行
  78. Ctrl+Backspace,按单词删除
  79. Ctrl+"+/-",当前方法展开、折叠
  80. Ctrl+Shift+"+/-",全部展开、折叠
【调试部分、编译】
  1. Ctrl+F2,停止
Alt+Shift+F9,选择 Debug Alt+Shift+F10,选择 Run Ctrl+Shift+F9,编译 Ctrl+Shift+F10,运行 Ctrl+Shift+F8,查看断点 F8,步过 F7,步入 Shift+F7,智能步入 Shift+F8,步出 Alt+Shift+F8,强制步过 Alt+Shift+F7,强制步入 Alt+F9,运行至光标处 Ctrl+Alt+F9,强制运行至光标处 F9,恢复程序 Alt+F10,定位到断点 Ctrl+F8,切换行断点 Ctrl+F9,生成项目 Alt+1,项目 Alt+2,收藏 Alt+6,TODO Alt+7,结构 Ctrl+Shift+C,复制路径 Ctrl+Alt+Shift+C,复制引用,必须选择类名 Ctrl+Alt+Y,同步 Ctrl+~,快速切换方案(界面外观、代码风格、快捷键映射等菜单) Shift+F12,还原默认布局 Ctrl+Shift+F12,隐藏/恢复所有窗口 Ctrl+F4,关闭 Ctrl+Shift+F4,关闭活动选项卡 Ctrl+Tab,转到下一个拆分器 Ctrl+Shift+Tab,转到上一个拆分器
【重构】
  1. Ctrl+Alt+Shift+T,弹出重构菜单
  2. Shift+F6,重命名
  3. F6,移动
  4. F5,复制
  5. Alt+Delete,安全删除
  6. Ctrl+Alt+N,内联
【查找】
  1. Ctrl+F,查找
  2. Ctrl+R,替换
  3. F3,查找下一个
  4. Shift+F3,查找上一个
  5. Ctrl+Shift+F,在路径中查找
  6. Ctrl+Shift+R,在路径中替换
  7. Ctrl+Shift+S,搜索结构
  8. Ctrl+Shift+M,替换结构
  9. Alt+F7,查找用法
  10. Ctrl+Alt+F7,显示用法
  11. Ctrl+F7,在文件中查找用法
  12. Ctrl+Shift+F7,在文件中高亮显示用法
【VCS】
  1. Alt+~,VCS 操作菜单
  2. Ctrl+K,提交更改
  3. Ctrl+T,更新项目
  4. Ctrl+Alt+Shift+D,显示变化
 
 
PS:
初次使用 Intellij IDEA,在这之前一直使用 Eclipse Or MyEclipse。
此快捷键是在使用过程中通过IDE、官方文档中挖掘出来的,请尊重作者的劳动成果。
转载请标明出处。如有错误,请微博反馈,谢谢!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324826511&siteId=291194637