android tutorial - Useful shortcuts in Android Studio | Developer android - android app development - android studio - android app developement



Useful shortcuts

Navigation Shortcuts

Go to class                       Ctrl+N
 Go to file                        Ctrl + Shift + N
 Navigate open tabs                ALT + Left-Arrow; ALT + Right-Arrow
 Lookup recent files               CTRL + E
 Go to line                        CTRL + G
 Navigate to last edit location    CTRL + SHIFT + BACKSPACE
 Go to declaration                 CTRL + B
 Go to implementation              CTRL + ALT + B
 Go to source                      F4
 Go to super Class                 CTRL + U
 Show Call hierarchy               Ctrl + Alt + H
 Search in path/project            CTRL + SHIFT + F
click below button to copy code from our android learning website - android tutorial - team

Navigation Shortcuts - Mac OS X

Go to line number                 CMD + L
click below button to copy code from our android learning website - android tutorial - team

Programming Shortcuts

Reformat code                       CTRL + ALT + L
 Optimize imports                    CTRL + ALT + O
 Code Completion                     CTRL + SPACE
 Issue quick fix                     ALT + ENTER
 Surround code block                 CTRL + ALT + T
 Rename and refactor                 Shift + F6
 Line Comment or Uncomment           CTRL + /
 Block Comment or Uncomment          CTRL + SHIFT + /
 Go to previous/next method          ALT + UP/DOWN
 Show parameters for method          CTRL + P
 Quick documentation lookup          CTRL + Q
 Project                             Alt+1     
 Version Control                     Alt+9    
 Run                                 Shift+F10     
 Debug                               Shift+F9     
 Android Monitor                     Alt+6     
 Return to Editor                    Esc     
 Hide All Tool Windows               CTRL +Shift+F12
 Auto generate code(constructor,    
      getter/setter etc)             Alt+insert
 Code completion                     CTRL+Space
 Smart code completion
    (by expected type)               CTRL+Shift+Space
 Show quick fix                      CTRL+Enter
 Duplicate Line                      Ctrl+D
 Delete Line                         Ctrl+Y
click below button to copy code from our android learning website - android tutorial - team

Related Searches to Useful shortcuts