› Android Studio

Android Studio Shortcuts

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

Source: Official documentation · Dataset date 2026-06

Additions checked in official desktop documentation on 5 November 2026, using default shortcuts. The panel, editor, selected object or text context named in an action is required. Hardware and keyboard layout may affect punctuation keys. Earlier entries are retained; this batch does not certify or change their bindings.

117
Shortcuts
5
Categories

Cheat sheet guide

Android Studio shortcuts worth learning first

This page collects 117 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

14 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
Save all
CtrlS
Ctrl+S · Cmd+S
Synchronize files
CtrlAltY
Ctrl+Alt+Y · Opt+Cmd+Y
Apply code changes
CtrlAltF10
Ctrl+Alt+F10 · Ctrl+Shift+Cmd+R
Commit project to VCS
CtrlK
Ctrl+K · Cmd+K
Update project from VCS
CtrlT
Ctrl+T · Cmd+T
Show recent VCS changes
AltShiftC
Alt+Shift+C · Opt+Shift+C
Open VCS popup
Alt`
Alt+` · Ctrl+V

Code Editing

39 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
Complete statement
CtrlShiftEnter
Ctrl+Shift+Enter · Shift+Cmd+Enter
Inspect file with current profile
AltShiftI
Alt+Shift+I · Opt+Shift+I
Layout Editor: Design or Blueprint
B
Layout Editor: toggle orientation
O
Layout Editor: switch device
D
Layout Editor: force refresh
R
Layout Editor: toggle render errors
E
Navigation Editor: nest graph
CtrlG
Ctrl+G · Cmd+G
Navigation Editor: cycle destinations
TabShiftTab
Tab · Shift+Tab
Navigation Editor: select all destinations
CtrlA
Ctrl+A · Cmd+A
Generate code
AltInsert
Alt+Insert · Cmd+N
Override methods
CtrlO
Ctrl+O
Implement methods
CtrlI
Ctrl+I
Fold or unfold current code block
Ctrl-Ctrl+
Ctrl+- · Ctrl++ · Cmd+- · Cmd++
Fold or unfold all code blocks
CtrlShift-CtrlShift+
Ctrl+Shift+- · Ctrl+Shift++ · Shift+Cmd+- · Shift+Cmd++
Quick documentation
CtrlQ
Ctrl+Q · Ctrl+J
Show method parameters
CtrlP
Ctrl+P · Cmd+P
Quick definition
CtrlShiftI
Ctrl+Shift+I · Cmd+Y
Expand code selection
CtrlW
Ctrl+W · Opt+↑
Shrink code selection
CtrlShiftW
Ctrl+Shift+W · Opt+↓
Select to code block start
CtrlShift[
Ctrl+Shift+[ · Opt+Shift+Cmd+[
Select to code block end
CtrlShift]
Ctrl+Shift+] · Opt+Shift+Cmd+]
Auto-indent lines
CtrlAltI
Ctrl+Alt+I · Ctrl+Opt+I
Indent or unindent lines
TabShiftTab
Tab · Shift+Tab
Smart join lines
CtrlShiftJ
Ctrl+Shift+J
Smart split line
CtrlEnter
Ctrl+Enter · Cmd+Enter
Start new line
ShiftEnter
Shift+Enter

Navigation

44 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
Toggle Project tool window
Alt1
Alt+1 · Cmd+1
Open Version Control window
Alt9
Alt+9 · Cmd+9
Return to editor
Esc
Esc
Add to favorites
AltShiftF
Alt+Shift+F · Opt+Shift+F
Switch IDE scheme
Ctrl`
Ctrl+`
Open IDE settings
CtrlAltS
Ctrl+Alt+S · Cmd+,
Open project structure
CtrlAltShiftS
Ctrl+Alt+Shift+S · Cmd+;
Switch tabs and tool windows
CtrlTab
Ctrl+Tab
Find in editor
CtrlF
Ctrl+F · Cmd+F
Find next
F3
F3 · Cmd+G
Find previous
ShiftF3
Shift+F3 · Shift+Cmd+G
Replace in editor
CtrlR
Ctrl+R · Cmd+R
Find action
CtrlShiftA
Ctrl+Shift+A · Shift+Cmd+A
Search symbol name
CtrlAltShiftN
Ctrl+Alt+Shift+N · Opt+Cmd+O
Find in project path
CtrlShiftF
Ctrl+Shift+F · Shift+Cmd+F
Show file structure
CtrlF12
Ctrl+F12 · Cmd+F12
Jump to source
F4CtrlEnter
F4 · Ctrl+Enter · Cmd+↓
Open editor tab in new window
ShiftF4
Shift+F4
Close editor tab
CtrlF4
Ctrl+F4 · Cmd+W
Hide active tool window
ShiftEsc
Shift+Esc
Show type hierarchy
CtrlH
Ctrl+H
Show method hierarchy
CtrlShiftH
Ctrl+Shift+H · Shift+Cmd+H
Show call hierarchy
CtrlAltH
Ctrl+Alt+H · Ctrl+Opt+H
Fit layout preview to screen
Ctrl0
Ctrl+0 · Cmd+0
Actual size in layout preview
CtrlShift1
Ctrl+Shift+1 · Shift+Cmd+1
Layout Editor: zoom in
Ctrl+
Ctrl++ · Cmd++
Layout Editor: zoom out
Ctrl-
Ctrl+- · Cmd+-
Go to super method or class
CtrlU
Ctrl+U · Cmd+U
Toggle bookmark
F11
F11 · F3
Toggle mnemonic bookmark
CtrlF11
Ctrl+F11 · Opt+F3
Go to code block start
Ctrl[
Ctrl+[ · Opt+Cmd+[
Go to code block end
Ctrl]
Ctrl+] · Opt+Cmd+]
Next or previous highlighted error
F2ShiftF2
F2 · Shift+F2

Refactoring

10 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
Copy by refactoring
F5
F5
Change signature
CtrlF6
Ctrl+F6 · Cmd+F6
Extract parameter
CtrlAltP
Ctrl+Alt+P · Opt+Cmd+P

Debugging

10 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
Open Logcat window
Alt6
Alt+6 · Cmd+6
Smart step into
ShiftF7
Shift+F7
Run to cursor
AltF9
Alt+F9 · Opt+F9

Documentation check for this addition

73 additional actions were checked against the official documentation on 2026-11-05. Existing actions were retained. These are documentary checks, not tests in installed applications. A dash means this batch does not provide a verified binding for that system. Context such as PDF viewer, text field or address bar is part of the action.

Android Studio

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.