intellij-idea Basic navigation


Example

Go to editor (from tool window)

Esc

Switching focus to corresponding tool window

Windows: Alt + <tool window number>

OS X / macOS: Cmd + <tool window number>

For example switching focus to the project window

Windows: Alt + 1

OS X / macOS: Cmd + 1

Recent files popup

Windows: Ctrl + E

OS X / macOS: Cmd + E

Find Action

Windows: Ctrl + Shift + A

OS X / macOS: Cmd + Shift + A

Navigate to

  • File :

    • Windows: Ctrl + Shift + N

    • OS X / macOS: Cmd + Shift + N

  • Class :

    • Windows: Ctrl + N

    • OS X / macOS: Cmd + N

  • Symbol (class/method/variable/constant name) :

    • Windows: Ctrl + Alt + Shift + N

    • OS X / macOS: Cmd + Option + Shift + N

    Note that you can use class name to narrow down the method/variable/constant search, for example to find symbol usersCollection in class UserDAO type:

      UserDAO.usersCollection
    
  • Everywhere :

    • Windows: Shift + Shift

    • OS X / macOS: Shift + Shift

To search for something that has multiple words, e.g., InetAddressCachePolicy you can just type InAddCacPo or something similar that contains parts of words in the whole name.

Go to line number

Windows: Ctrl + G

OS X / macOS: Cmd + L

Go back to last edit location

Windows: Ctrl + Shift + Backspace

OS X / macOS: Cmd + Shift + Backspace