AppAndroid Studio › macOS

Android Studio macOS Shortcuts

44 shortcuts · View all OS →

WindowsmacOSLinuxCompare all
ActionmacOS Shortcut
Build & Run
Build project⌘F9
Run app⌃R
Debug app⌃D
Stop running⌘F2
Run with coverage⌃⇧R
Apply changes⌃⌘R
Sync project with Gradle⌘⇧O(Project)
Code Editing
Code completion (basic)⌃Space
Code completion (smart)⌃⇧Space
Show intention actions⌥Enter
Reformat code⌘⌥L
Optimize imports⌃⌥O
Duplicate line⌘D
Delete line⌘⌫
Move line up⌥⇧Up
Move line down⌥⇧Down
Comment / uncomment line⌘/
Comment block⌘⇧/
Surround with…⌘⌥T
Navigation
Search everywhereShiftShift
Go to class⌘O
Go to file⌘⇧O
Go to declaration⌘B
Go to implementation⌘⌥B
Find usages⌥F7
Navigate back⌘[
Navigate forward⌘]
Go to line⌘L
Recent files⌘E
Recently changed files⌘⇧E
Refactoring
Rename⇧F6
Extract variable⌘⌥V
Extract method⌘⌥M
Extract field⌘⌥F
Extract constant⌘⌥C
Inline⌘⌥N
MoveF6
Debugging
Toggle breakpoint⌘F8
Step overF8
Step intoF7
Step out⇧F8
Resume program⌘⌥R
Evaluate expression⌥F8
View breakpoints⌘⇧F8