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.
- Host: GitHub
- URL: https://github.com/stephanenicolas/androidstudio4maccheatsheet
- Owner: stephanenicolas
- License: apache-2.0
- Created: 2014-08-06T14:36:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-03T07:14:19.000Z (over 11 years ago)
- Last Synced: 2025-06-18T23:41:02.174Z (7 months ago)
- Homepage:
- Size: 185 KB
- Stars: 22
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |