Android Studio keyboard shortcuts I use often.
SHIFT + F6
to refactor methods, classes, and variable namesCTRL + O
to override methodsCOMMAND + 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-importOPTION + COMMAND + L
to reformat codeCMD+B
opens the layout file from a .java fileCTRL+SHIFT+SPACE
to see documentationOPTION + COMMAND + O
to search by symbol nameCTRL + P
shows parameters for selected methodOPTION + COMMAND + B
to find implementations of a class (class hierarchy)
Nice! thanks.