Intellij shortcuts for an old Eclipse user


Now that the Android developer tools for Eclipse is being retired, I just decided give Android Studio a chance. Here are some shortcuts:

  • “Quick fix”: Alt+Enter
  • Format current file: Cmd+Alt+L
  • Command dialog (like Cmd+3 in Eclipse): Cmd+Shift+A
  • Opening file by name: Cmd+Shift+O
  • Opening java class by name: Cmd+O
  • Opening a symbol: Cmd+Alt+O
  • Navigate back: Cmd+Alt+Left arrow
  • Find references (“Find usage” in intellij lingo): Alt+F7
  • Search in path (Ctrl+H in eclipse): Cmd+Shift+F
  • File structure (list fields and methods in class,Cmd+O in eclipse): Cmd+F12
  • Goto super class: Cmd+u

See also Android Studio Tips and Tricks on developer.android.com.’