Created
February 8, 2016 17:15
-
-
Save ashokslsk/6fe51939fa08f90b8f4c to your computer and use it in GitHub Desktop.
Android Studio Useful shortcuts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | |
Keyboard Shortcuts | |
Find Class: (Mac) CMD+O, (Windows) CTRL+N | |
Find File: (Mac) CMD+SHFT+O, (Windows) CTRL+SHFT+N | |
Refactor/Rename: SHFT+F6 | |
Quick Fix (including string resource refactor): ALT+ENTER | |
Go to Class Definition: (Mac) CMD+B, (Windows) CTRL+B | |
Run: (Mac) CTRL+R, (Windows) SHFT+F10 | |
Debug: (Mac) CTRL+D, (Windows) SHFT+F9 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment