Android Studio Linux Shortcuts
| Action | Linux Shortcut |
|---|---|
| Build & Run | |
| Build project | CtrlF9 |
| Run app | ShiftF10 |
| Debug app | ShiftF9 |
| Stop running | CtrlF2 |
| Run with coverage | CtrlShiftF10 |
| Apply changes | CtrlF10 |
| Sync project with Gradle | CtrlShiftO |
| Code Editing | |
| Code completion (basic) | CtrlSpace |
| Code completion (smart) | CtrlShiftSpace |
| Show intention actions | AltEnter |
| Reformat code | CtrlAltL |
| Optimize imports | CtrlAltO |
| Duplicate line | CtrlD |
| Delete line | CtrlY |
| Move line up | AltShiftUp |
| Move line down | AltShiftDown |
| Comment / uncomment line | Ctrl/ |
| Comment block | CtrlShift/ |
| Surround with… | CtrlAltT |
| Navigation | |
| Search everywhere | ShiftShift |
| Go to class | CtrlN |
| Go to file | CtrlShiftN |
| Go to declaration | CtrlB |
| Go to implementation | CtrlAltB |
| Find usages | AltF7 |
| Navigate back | AltLeft |
| Navigate forward | AltRight |
| Go to line | CtrlG |
| Recent files | CtrlE |
| Recently changed files | CtrlShiftE |
| Refactoring | |
| Rename | ShiftF6 |
| Extract variable | CtrlAltV |
| Extract method | CtrlAltM |
| Extract field | CtrlAltF |
| Extract constant | CtrlAltC |
| Inline | CtrlAltN |
| Move | F6 |
| Debugging | |
| Toggle breakpoint | CtrlF8 |
| Step over | F8 |
| Step into | F7 |
| Step out | ShiftF8 |
| Resume program | F9 |
| Evaluate expression | AltF8 |
| View breakpoints | CtrlShiftF8 |