IntelliJ Tips and Notes 简记

(注:这篇简记为观看 IntelliJ IDEA: 42 Tips and Tricks 的记录,仅供个人阅读)

  • Ctrl + N
    • Navigate to class
    • Support wildcard
    • Support line number: ClassName:12
  • Ctrl + Shift + N
    • Navigate to file
    • Navigate to folder: /FolderName/...
  • Shift + Ctrl + Alt + N
    • Navigate to symbol
    • Support class name scope: ClassName.symbol
  • Ctrl + Shift + A
    • Open New Action with name
  • Alt + 1
    • Project Window
    • Esc back to editor
  • Double Shift
    • Search Everywhere
    • Ctrl + Up/Down to navigate the history
  • Ctrl + F12
    • File Structure
  • Auto Scroll From/Back to souce
  • IntelliJ supports searching anywhere
  • Alt + Home
    • Jump to Navigation Bar
    • Alt + Insert
  • Ctrl + E
    • Open ‘Recent Files’ window
  • Shift + Ctrl + E
    • Recent edited files
  • Set Goto previous/next splitter, then you could shutdown the tabs!
    • Alt + Left/Right would be a good choice
  • Shift + Ctrl + I
    • Quick definition
  • Ctrl + Q
    • Quick documentation
  • Ctrl + B
    • Jump to definition
  • Ctrl + Alt + B
    • Show/Jump to Implementations
  • Ctrl + Alt + Left/Right
    • Navigate back/forth
  • Ctrl + Shift + F12
    • Hide all windows
  • Alt + F12
    • Open the terminal
  • Presentation mode could show full screen for better reading/presentation
  • Shift + Ctrl + Left/Right
    • Stretch to Left/Right
  • Ctrl + W
    • Select current word
    • Extend selection semantically
  • Ctrl + Shift + W
    • Shrink selection semantically
  • Ctrl + Shift + Up/Down
    • Move selection up/down
  • Ctrl + Shift + V
    • Show Copyboard History
  • Shift + Alt + Click
    • Add active carets
  • F3/Shift + F3
    • Move to next/previous occurence
  • Alt + J
    • Expand multi selection
  • Ctrl + Alt + L
    • Format code
  • Ctrl + Alt + S
    • Show Settings
  • Ctrl + J
    • Insert live templates
  • Ctrl + Shift + Space
    • Smart completion
  • Ctrl + Alt + T
    • Surround code with template
  • IntelliJ support emmet
  • F2, Shift + F2
    • Go to next/previous errors
  • Ctrl + Alt + Shift + T
    • Show all refactoring options
  • Structural Search
    • Power search for searching AST
    • Especially useful when combining with code inspections
  • Ctrl + BackTilda
    • Switch IDE scheme
  • Alt + BackTilda
    • Show VCS Operations
    • This can be configured in ‘quick lists’ in settings
  • ‘Productivity Guide’ in help menu
    • This would show you how to code more productively