› Android Studio

Android Studio Shortcuts

Android Studio keyboard shortcuts for editing, debugging, navigation and build tools.

Source: Official documentation · Dataset date 2026-06

44
Shortcuts
5
Categories

Cheat sheet guide

Android Studio shortcuts worth learning first

This page collects 44 searchable Android Studio keyboard shortcuts across 5 categories. Start with the shortcuts for Build & Run, Code Editing, Navigation, Refactoring, then print the cheat sheet once the important ones are worth keeping nearby.

  • Build projectCtrlF9
  • Code completion (basic)CtrlSpace
  • Search everywhereShiftShift
  • RenameShiftF6
  • Toggle breakpointCtrlF8
  • Run appShiftF10

Build & Run

7 shortcuts
Build project
CtrlF9
Ctrl+F9 · Cmd+F9
Run app
ShiftF10
Shift+F10 · Ctrl+R
Debug app
ShiftF9
Shift+F9 · Ctrl+D
Stop running
CtrlF2
Ctrl+F2 · Cmd+F2
Run with coverage
CtrlShiftF10
Ctrl+Shift+F10 · Ctrl+Shift+R
Apply changes
CtrlF10
Ctrl+F10 · Ctrl+Cmd+R
Sync project with Gradle
CtrlShiftO(Project)
Ctrl+Shift+O · Cmd+Shift+O

Code Editing

12 shortcuts
Code completion (basic)
CtrlSpace
Ctrl+Space
Code completion (smart)
CtrlShiftSpace
Ctrl+Shift+Space
Show intention actions
AltEnter
Alt+Enter · Opt+Enter
Reformat code
CtrlAltL
Ctrl+Alt+L · Cmd+Opt+L
Optimize imports
CtrlAltO
Ctrl+Alt+O · Ctrl+Opt+O
Duplicate line
CtrlD
Ctrl+D · Cmd+D
Delete line
CtrlY
Ctrl+Y · Cmd+⌫
Move line up
AltShiftUp
Alt+Shift+Up · Opt+Shift+Up
Move line down
AltShiftDown
Alt+Shift+Down · Opt+Shift+Down
Comment / uncomment line
Ctrl/
Ctrl+/ · Cmd+/
Comment block
CtrlShift/
Ctrl+Shift+/ · Cmd+Shift+/
Surround with…
CtrlAltT
Ctrl+Alt+T · Cmd+Opt+T

Navigation

11 shortcuts
Search everywhere
ShiftShift
Shift Shift
Go to class
CtrlN
Ctrl+N · Cmd+O
Go to file
CtrlShiftN
Ctrl+Shift+N · Cmd+Shift+O
Go to declaration
CtrlB
Ctrl+B · Cmd+B
Go to implementation
CtrlAltB
Ctrl+Alt+B · Cmd+Opt+B
Find usages
AltF7
Alt+F7 · Opt+F7
Navigate back
AltLeftCtrlAltLeft
Alt+Left · Ctrl+Alt+Left · Cmd+[
Navigate forward
AltRightCtrlAltRight
Alt+Right · Ctrl+Alt+Right · Cmd+]
Go to line
CtrlG
Ctrl+G · Cmd+L
Recent files
CtrlE
Ctrl+E · Cmd+E
Recently changed files
CtrlShiftE
Ctrl+Shift+E · Cmd+Shift+E

Refactoring

7 shortcuts
Rename
ShiftF6
Shift+F6
Extract variable
CtrlAltV
Ctrl+Alt+V · Cmd+Opt+V
Extract method
CtrlAltM
Ctrl+Alt+M · Cmd+Opt+M
Extract field
CtrlAltF
Ctrl+Alt+F · Cmd+Opt+F
Extract constant
CtrlAltC
Ctrl+Alt+C · Cmd+Opt+C
Inline
CtrlAltN
Ctrl+Alt+N · Cmd+Opt+N
Move
F6
F6

Debugging

7 shortcuts
Toggle breakpoint
CtrlF8
Ctrl+F8 · Cmd+F8
Step over
F8
F8
Step into
F7
F7
Step out
ShiftF8
Shift+F8
Resume program
F9
F9 · Cmd+Opt+R
Evaluate expression
AltF8
Alt+F8 · Opt+F8
View breakpoints
CtrlShiftF8
Ctrl+Shift+F8 · Cmd+Shift+F8

Frequently asked questions

What is the fastest way to find Android Studio shortcuts on this page?

Use the search box or press /, then type an action such as build project.

Can I print this Android Studio shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Which operating systems are included for Android Studio?

This reference includes shortcuts for Windows · macOS · Linux. Availability depends on the action and app version.

See also

Explore shortcuts by key

Key lookup

No shortcuts match your search.