Android Studio logo

Android Studio

Official Google IDE for Android app development with code editing, debugging, emulators, and build tools

216 shortcuts

Visit website
Platform

General

ActionShortcut
Save all⌘+S
Synchronize⌘+⌥+Y
Maximize/Minimize Editor⌃+⌘+F12
Add to favorites⌥+⇧+F
Inspect current file with current profile⌥+⇧+I
Quick switch scheme⌃+`(backquote)
Open settings dialogue⌘or(comma)
Open project structure dialog⌘+;(semicolon)
Switch between tabs and tool window⌃+Tab
Save all⌃+S
Synchronize⌃+⌥+Y
Maximize/Minimize Editor⌃+⇧+F12
Add to favorites⌃+⇧+↑
Inspect current file with current profile⌥+⇧+I
Quick switch scheme⌃(backquote)
Open settings dialogue⌃+⌥+S
Open project structure dialog⌃+⌥+⇧+S
Switch between tabs and tool window⌃+Tab

Navigating and Searching Within Studio

ActionShortcut
Search everything (including code and menus)Press⇧twice
Find⌘+F
Find next⌘+G
Find previous⌘+⇧+G
Replace⌘+R
Find action⌘+⇧+A
Search by symbol name⌘+⌥+O
Find class⌘+O
Find file (instead of class)⌘+⇧+O
Find in path⌘+⇧+F
Open file structure pop-up⌘+F12
Navigate between open editor tabs⌃+⇆
Jump to sourceF4/⌘↓
Open current editor tab in new window⇧+F4
Recently opened files pop-up⌘+E
Recently edited files pop-up⌘+⇧+E
Go to last edit location⌘+⇧+Backspace
Close active editor tab⌘+W
Return to editor window from a tool windowEsc
Hide active or last active tool window⇧+Esc
Go to line⌘+L
Open type hierarchy⌃+H
Open method hierarchy⌘+⇧+H
Open call hierarchy⌃+⌥+H
Search everything (including code and menus)Press⇧twice
Find⌃+F
Find nextF3
Find previous⇧+F3
Replace⌃+R
Find action⌃+⇧+A
Search by symbol name⌃+⌥+⇧+N
Find class⌃+N
Find file (instead of class)⌃+⇧+N
Find in path⌃+⇧+F
Open file structure pop-up⌃+F12
Navigate between open editor tabs⌥+⇆
Jump to sourceF4+/⌃+Enter
Open current editor tab in new window⇧+F4
Recently opened files pop-up⌃+E
Recently edited files pop-up⌃+⇧+E
Go to last edit location⌃+⇧+Backspace
Close active editor tab⌃+F4
Return to editor window from a tool windowEsc
Hide active or last active tool window⇧+Esc
Go to line⌃+G
Open type hierarchy⌃+H
Open method hierarchy⌃+⇧+H
Open call hierarchy⌃+⌥+H

Writing Code

ActionShortcut
Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)⌘+N
Override methods⌃+O
Implement methods⌃+I
Surround with (if...else / try...catch / etc.)⌘+⌥+T
Delete line at caret⌘+Backspace
Collapse/expand current code block⌘minus/plus
Collapse/expand all code blocks⌘+⇧minus/plus
Duplicate current line or selection⌘+D
Basic code completion⌃+Space
Smart code completion (filters the list of methods and variables by expected type)⌃+⇧+Space
Complete statement⌘+⇧+↩
Quick documentation lookup⌃+J
Show parameters for selected method⌘+P
Go to declaration (directly)⌘+Bor⌘Click
Go to implementations⌘+⌥+B
Go to super-method/super-class⌘+U
Open quick definition lookup⌘+Y
Toggle project tool window visibility⌘+1
Toggle bookmarkF3
Toggle bookmark with mnemonic⌥+F3
Comment/uncomment with line comment⌘+/
Comment/uncomment with block comment⌘+⇧+/
Select successively increasing code blocks⌥+Up
Decrease current selection to previous state⌥+Down
Move to code block start⌥+⌘+[
Move to code block end⌥+⌘+]
Select to the code block start⌥+⌘+⇧+[
Select to the code block end⌥+⌘+⇧+]
Delete to end of word⌥+Delete
Delete to start of word⌥+Backspace
Optimize imports⌃+⌥+O
Project quick fix (show intention actions and quick fixes)⌥+↩
Reformat code⌘+⌥+L
Auto-indent lines⌃+⌥+I
Indent/unindent linesTab/⇧Tab
Smart line join⌃+⇧+J
Smart line split⌘+↩
Start new line⇧+↩
Next/previous highlighted errorF2+/⇧+F2
Generate code (getters, setters, constructors, hashCode/equals, toString, new file, new class)⌥+Insert
Override methods⌃+O
Implement methods⌃+I
Surround with (if...else / try...catch / etc.)⌃+⌥+T
Delete line at caret⌃+Y
Collapse/expand current code block⌃minus/plus
Collapse/expand all code blocks⌃+⇧minus/plus
Duplicate current line or selection⌃+D
Basic code completion⌃+Space
Smart code completion (filters the list of methods and variables by expected type)⌃+⇧+Space
Complete statement⌃+⇧+Enter
Quick documentation lookup⌃+Q
Show parameters for selected method⌃+P
Go to declaration (directly)⌃+B+/⌃Clicks
Go to implementations⌃+⌥+B
Go to super-method/super-class⌃+U
Open quick definition lookup⌃+⇧+I
Toggle project tool window visibility⌥+1
Toggle bookmarkF11
Toggle bookmark with mnemonic⌃+F11
Comment/uncomment with line comment⌃+/
Comment/uncomment with block comment⌃+⇧+/
Select successively increasing code blocks⌃+W
Decrease current selection to previous state⌃+⇧+W
Move to code block start⌃+[
Move to code block end⌃+]
Select to the code block start⌃+⇧+[
Select to the code block end⌃+⇧+]
Delete to end of word⌃+Delete
Delete to start of word⌃+Backspace
Optimize imports⌃+⌥+O
Project quick fix (show intention actions and quick fixes)⌥+Enter
Reformat code⌃+⌥+L
Auto-indent lines⌃+⌥+I
Indent/unindent linesTab+/⇧+Tab
Smart line join⌃+⇧+J
Smart line split⌃+Enter
Start new line⇧+Enter
Next/previous highlighted errorF2+/⇧+F2

Build and Run

ActionShortcut
Build⌘+F9
Build and run⌃+R
Apply changes (with Instant Run)⌃+⌘+R
Build⌃+F9
Build and run⇧+F10
Apply changes (with Instant Run)⌃+F10

Debugging

ActionShortcut
Debug⌃+D
Step overF8
Step intoF7
Smart step into⇧+F7
Step out⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume progra⌘+⌥+R
Toggle breakpoint⌘+F8
View breakpoints⌘+⇧+F8
Debug⇧+F9
Step overF8
Step intoF7
Smart step into⇧+F7
Step out⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume prograF9
Toggle breakpoint⌃+F8
View breakpoints⌃+⇧+F8

Split window

ActionShortcut
Revert view to single column⌥+⇧+1
Split view into two columns⌥+⇧+2
Split view into three columns⌥+⇧+3
Split view into four columns⌥+⇧+4
Set view to grid (4 groups)⌥+⇧+5
Split view into two rows⌥+⇧+8
Jump to group where num is 1-4⌃[NUM]
Move file to specified group where num is 1-4⌃+⇧[NUM]
Revert view to single column⌥+⇧+1
Split view into two columns⌥+⇧+2
Split view into three columns⌥+⇧+3
Split view into four columns⌥+⇧+4
Set view to grid (4 groups)⌥+⇧+5
Split view into two rows⌥+⇧+8
Jump to group where num is 1-4⌃[NUM]
Move file to specified group where num is 1-4⌃+⇧[NUM]

Refactoring

ActionShortcut
CopyF5
MoveF6
Safe delete⌘+Delete
Rename⇧+F6
Change signature⌘+F6
Inline⌘+⌥+N
Extract method⌘+⌥+M
Extract variable⌘+⌥+V
Extract field⌘+⌥+F
Extract constant⌘+⌥+C
Extract parameter⌘+⌥+P
CopyF5
MoveF6
Safe delete⌥+Delete
Rename⇧+F6
Change signature⌃+F6
Inline⌃+⌥+N
Extract method⌃+⌥+M
Extract variable⌃+⌥+V
Extract field⌃+⌥+F
Extract constant⌃+⌥+C
Extract parameter⌃+⌥+P

Version Control / Local History

ActionShortcut
Commit project to VCS⌘+K
Update project from VCS⌘+T
View recent changes⌥+⇧+C
Open VCS popup⌃+V
Commit project to VCS⌃+K
Update project from VCS⌃+T
View recent changes⌥+⇧+C
Open VCS popup⌥(backquote)