manniru
12/6/2014 - 11:56 AM

Android Studio Tricks.md

Android Studio Notes

Keyboard Shortcuts for Mac

  • SHIFT + F6 to refactor methods, classes, and variable names
  • CTRL + O to override methods
  • COMMAND + N
    • Generate getter, setter, and constructor method for a class (when in editor pane)
    • Generate new class, files, package, etc. (when in project pane)
  • CTRL+ALT+O to auto-import
  • OPTION + COMMAND + L to reformat code
  • CMD+B opens the layout file from a .java file
  • CTRL+SHIFT+SPACE to see documentation
  • OPTION + COMMAND + O to search by symbol name
  • CTRL + P shows parameters for selected method
  • OPTION + COMMAND + B to find implementations of a class (class hierarchy)