Skip to content

Instantly share code, notes, and snippets.

@arriolac
Last active January 28, 2022 02:40
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save arriolac/7742342 to your computer and use it in GitHub Desktop.
Save arriolac/7742342 to your computer and use it in GitHub Desktop.
Some Android Studio Tricks.

Android Studio Notes

Android Studio keyboard shortcuts I use often.

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)
@eduardostuart
Copy link

Nice! thanks.

@naushad-madakiya
Copy link

& what for Ubuntu ?

@rolama
Copy link

rolama commented May 2, 2016

nice thanks

@rsonone42
Copy link

For windows??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment