Description Windows and Linux
General actions
Save all Control+S
Synchronize Control+Alt+Y
Maximize/minimize Control+Shift+F12
editor
Add to favorites Alt+Shift+F
Inspect current file with Alt+Shift+I
current profile
Quick switch scheme Control+` (backtick)
Open settings dialog Control+Alt+S
Open project structure Control+Alt+Shift+S
dialog
Switch between tabs Control+Tab
and tool window
Navigate and search within Android Studio
Search everything Press Shift twice
(including code and
menus)
Find Control+F
Find next F3
Find previous Shift+F3
Replace Control+R
Find action Control+Shift+A
Search by symbol Control+Alt+Shift+N
name
Find class Control+N
Find file (instead of Control+Shift+N
class)
Find in path Control+Shift+F
Open file structure Control+F12
dialog
Navigate between Alt+Right Arrow or Left Arrow
open editor tabs
Jump to source F4 or Control+Enter
Open current editor tab Shift+F4
in new window
Recently opened files Control+E
dialog
Recently edited files Control+Shift+E
dialog
Go to last edit location Control+Shift+Backspace
Close active editor tab Control+F4
Return to editor Esc
window from a tool
window
Hide active or last Shift+Esc
active tool window
Go to line Control+G
Open type hierarchy Control+H
Open method Control+Shift+H
hierarchy
Open call hierarchy Control+Alt+H
View layouts
Zoom in/out Control+plus or Control+minus
Fit to screen Control+0
Actual size Control+Shift+1
Design tools: Layout Editor
Toggle between B
Design and Blueprint
modes
Toggle between O
Portrait and Landscape
modes
Toggle devices D
Force refresh R
Toggle render errors E
panel
Delete constraints Delete or Control+click
Zoom in Control+plus
Zoom out Control+minus
Zoom to fit Control+0
Pan Hold Space+click and drag
Go to XML Control+B
Select all components Control+A
Select multiple Shift+click or Control+click
components
Design tools: Navigation Editor
Zoom in Control+plus
Zoom out Control+minus
Zoom to fit Control+0
Pan Hold Space+click and drag
Go to XML Control+B
Toggle render errors E
panel
Group into nested Control+G
graph
Cycle through Tab or Shift+Tab
destinations
Select all destinations Control+A
Select multiple Shift+click or Control+click
destinations
Write code
Generate code Alt+Insert
(getters, setters,
constructors, hashCod
e/equals, toString,
new file, new class)
Override methods Control+O
Implement methods Control+I
Surround with Control+Alt+T
(if...else, try...catch,
etc.)
Delete line at caret Control+Y
Collapse/expand Control+minus or Control+plus
current code block
Collapse/expand all Control+Shift+minus or Control
code blocks +Shift+plus
Duplicate current line Control+D
or selection
Basic code completion Control+Space
Smart code completion Control+Shift+Space
(filters the list of
methods and variables
by expected type)
Complete statement Control+Shift+Enter
Quick documentation Control+Q
lookup
Show parameters for Control+P
selected method
Go to declaration Control+B or Control+click
(directly)
Go to implementations Control+Alt+B
Go to Control+U
supermethod/superclas
s
Open quick definition Control+Shift+I
lookup
Toggle project tool Alt+1
window visibility
Toggle bookmark F11
Toggle bookmark with Control+F11
mnemonic
Comment/uncomment Control+/
with line comment
Comment/uncomment Control+Shift+/
with block comment
Select successively Control+W
increasing code blocks
Decrease current Control+Shift+W
selection to previous
state
Move to code block Control+[
start
Move to code block Control+]
end
Select to the code Control+Shift+[
block start
Select to the code Control+Shift+]
block end
Delete to end of word Control+Delete
Delete to start of word Control+Backspace
Optimize imports Control+Alt+O
Project quick fix (show Alt+Enter
intention actions and
quick fixes)
Reformat code Control+Alt+L
Auto-indent lines Control+Alt+I
Indent/unindent lines Tab or Shift+Tab
Smart line join Control+Shift+J
Smart line split Control+Enter
Start new line Shift+Enter
Next/previous F2 or Shift+F2
highlighted error
Build and run
Build Control+F9
Build and run Shift+F10
Apply changes and Control+F10
restart activity
Apply code changes Control+Alt+F10
Debug
Debug Shift+F9
Step over F8
Step into F7
Smart step into Shift+F7
Step out Shift+F8
Run to cursor Alt+F9
Evaluate expression Alt+F8
Resume program F9
Toggle breakpoint Control+F8
View breakpoints Control+Shift+F8
Refactor
Copy F5
Move F6
Safe delete Alt+Delete
Rename Shift+F6
Change signature Control+F6
Inline Control+Alt+N
Extract method Control+Alt+M
Extract variable Control+Alt+V
Extract field Control+Alt+F
Extract constant Control+Alt+C
Extract parameter Control+Alt+P
Version control/local history
Commit project to VCS Control+K
Update project from Control+T
VCS
View recent changes Alt+Shift+C
Open VCS dialog Alt+` (backtick)