Skip to content

Latest commit

 

History

History
 
 

meetup71-IntelliJ-super-productivity

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

IntelliJ Wizardry with Heinz Kabutz

Get pre-recorded course for just $7 here: https://javaspecialists.teachable.com/p/intellij-wizardry

  1. Why I Switched to IntelliJ IDEA in 2003 -
    1.1. Analyze -> Inspect Code ..., Swing GUI Builder

Setting up in SETUP.md

  1. Superkey ⌥⏎, fixes almost anything, "Show intention actions and quick-fixes"
    2.1. ⌘⇧A Find Action - but you need to know the name
    2.2. resources/IntelliJIDEA_ReferenceCard.pdf
  2. Switching Between Tool Windows ⌘1, ⇧Esc
    3.1. Closing tool window with ⌘1
  3. Setting Up Autoscroll to/from Source Also View -> Appearance -> Toolbar
  4. Creating new ... ⌃⏎ in Project Tool Window
  5. Live templates: psvm, sout, soutv, soutm, soutp, souf, serr, iter, fori, itco itar
  6. Navigation with ⌥⌘⇽ and ⌥⌘⇾ and ⌘Click
    7.1. Is the mouse / touchpad evil?
    7.2. ⇧⇧ Search Anywhere and ⇧⇧⇧⇧ to include non-project items
  7. Jump to new line out of middle of code with ⇧⏎
  8. Extend / shrink selection ⌘W
  9. Move code up / down with ⇧⌘Up and ⇧⌘Down
  10. Surround statements with ⌥⌘T
  11. Select template ⌥⌘J (customize with Editor->Live Templates->surround)
  12. Error based coding: F2, followed by ⌥⏎ and Tab ⇥
  13. Line based editing: ⌘D, ⌘X, ⌘V, seldomly ⌘⌫
  14. Column select editing (customized keymap ⌃⇧⌘C)
  15. Reformatting code ⌥⌘L and join line ⌃⇧J
  16. Presentation mode for speakers (customized keymap ⌥⌘P)
  17. Code and variable completion ⌃Space
  18. Smart code completion - just type, and it magically figures out what you want to do ⌃⇧Space
    19.1. Complete current statement ⌃⌘⏎
    19.2. Parameters ⌘P
  19. Comment/Uncomment current line - ⌘/ 20.1. Code Folding
  20. Override/implement methods - ⌘O and ⌘I
  21. Camel prefix in code completion
  22. Copy Class F5
  23. Move class/method/field F6
  24. Rename class/method/field/variable ⇧F6
  25. Refactor: Change Signature ⌘F6
  26. Refactor: Introduce Variable - ⌥⌘V
    27.1 .var
  27. Refactor: Extract Method - ⌥⌘M
  28. Refactor: Inline ⌥⌘N
  29. Refactor: Safe Delete
  30. Analyze -> Inspect Code
  31. Inspect Code: Finding declarations that could be more "private"
  32. Inspect Code: final/non-final parameters and local variables
  33. Inspect Code: Marking fields final
  34. Inspect Code: Finding unused code
  35. Inspect Code: Finding badly handled exceptions
  36. Inspect Code: Migrating to newer Java versions
  37. Local History
  38. Terminal ⌘2

TODO: ⌘K - commit to VCS ⌘⇧K - Push to VCS

  1. Conclusion

Appendix