An open API service indexing awesome lists of open source software.

https://github.com/stephanenicolas/androidstudio4maccheatsheet

Most useful keyboard shortcuts with default keymap in Android Studio.
https://github.com/stephanenicolas/androidstudio4maccheatsheet

Last synced: 3 months ago
JSON representation

Most useful keyboard shortcuts with default keymap in Android Studio.

Awesome Lists containing this project

README

          

Android Studio for Mac Cheat sheet
==================================

***This project is discontinued as a much better project is available here*** :
http://www.developerphil.com/android-studio-tips-of-the-day-roundup-1/

---

Most useful keyboard shortcuts with default keymap in Android Studio.

### Quick fixes / Must knows

| Action | Keys | Context |
| ---------------- | ------------- |:-------------:|
| Quick fix | ⌥ ENTER | |
| Organize import | ⌃ ⌥ O | |
| Indent lines | ⌃ ⌥ I | |
| Reformat code | ⌥ ⌘ L | |
| New Class | ⌘ N | Project tab |
| Generate code | ⌘ N | Java File |
| Show docs | ⌃ Q | |
| Action look-up | ⇧ ⌘ A | |
| Run | ⌃ R | |

### Navigation

| Action | Keys | Context |
| ----------------------- | ------------- |:-------------:|
| Open class | ⌘ O | |
| Open file | ⇧ ⌘ O | |
| Go to line | ⌘ L | |
| Go to declaration | ⌘ B | |
| Go to implementation | ⌥ ⌘ B | |
| Go to type declaration | ⌃ ⇧ B | |
| Go to super | ⌘ U | |
| Go to test | ⇧ ⌘ T | |
| Go backward | ⌥ ⌘ ← | |
| Go forward | ⌥ ⌘ → | |

### Refactoring

| Action | Keys | Context |
| ---------------- | ------------- |:-------------:|
| General refactor | ⌃ T | |
| Rename | ⇧ F6 | |
| Extract Variable | ⌥ ⌘ V | |
| Extract Field | ⌥ ⌘ F | |
| Extract Constant | ⌥ ⌘ C | |
| Extract Parameter| ⌥ ⌘ P | |
| Extract Method | ⌥ ⌘ M | |

### Code generation

| Action | Keys | Context |
| ---------------- | ------------- |:-------------:|
| Generate code | ⌘ N | Java File |
| Insert template | ⌘ J | |
| Surround with | ⌥ ⌘ T | |

### Search

| Action | Keys | Context |
| ---------------- | ------------- |:-------------:|
| Search everywhere | ⇧ ⇧ | |
| Find usages | ⌥ F7 | |
| Search in file | ⌘ F | |
| Search in path | ⇧ ⌘ F | |
| Replace in file | ⌘ R | |
| Replace in path | ⇧ ⌘ R | |

### Edition

| Action | Keys | Context |
| ------------------- | ------------- |:-------------:|
| Move line up | ⇧ ⌥ ↑ | |
| Move line down | ⇧ ⌥ ↓ | |
| Move statement up | ⇧ ⌘ ↑ | |
| Move statement down | ⇧ ⌘ ↓ | |
| Delete line | ⌘ ⌫ | |

### Git / SCM

| Action | Keys | Context |
| ------------------- | ------------- |:--------------:|
| View changes | ⇧ 9 | |
| View diff | ⌘ D | In changes tab |