Android Studio Common commands
Description |
Mac |
Linux/win |
Lookup IDE Commands |
Cmd+Shift+A |
Ctrl+Shift+A |
Open Class |
Cmd+O |
Ctrl+O |
Open File |
Cmd+Shift+O |
Ctrl+Shift+N |
Open recently edited file |
Cmd+Shift+E |
Ctrl+Shift+E |
Lookup Actions |
Cmd+Shift+A |
Ctrl+Shift+A |
Open Symbol |
Cmd+Opt+O |
Alt+Shift+N |
Open Recently used file |
Cmd+E |
Ctrl+E |
Last edited location |
Cmd+Shift+Backspace |
Ctrl+Shift+Backspace |
Find Usage in Persistent window |
Opt+F7 |
Alt+F7 |
Find Usage in Floating window |
Cmd+Opt+F7 |
Ctrl+Alt+F7 |
Format the code with proper indentation |
Cmd+Opt+L |
Ctrl+Alt+L |
Surround with |
Opt+Cmd+T |
Alt+Ctrl+T |
Open Terminal |
Opt+F12 |
Alt+F12 |
Generate setter/getters |
Cmd+N |
Alt+Ins |
Find Class |
CMD+O |
Ctrl+N |
Refactor/rename |
Shift+F6 |
Shift+F6 |
Quick Fix |
Opt+Enter |
Alt+Enter |
Goto Definition |
Cmd+B |
Ctrl+B |
Show parameters for selected method |
Cmd+P |
Ctrl+P |
Refactor this |
Ctrl+T |
Ctrl+Alt+Shift+T |
Stop Process |
Cmd+F2 |
Ctrl+F2 |
Search Everywhere |
Shift+Shift |
Shift+Shift |
Select Methods to Override |
Ctrl+O |
Ctrl+O |
Delete Line |
Cmd+Backspace |
Ctrl+Y |
Duplicate Line |
Cmd+D |
Ctrl+D |
Grow/shrink selection from cursor |
Opt+Up/Down Arrow key |
Shift+Ctrl+W |
Multicursor Selection |
Common commands for Android Studio