Skip to the main content
Back to Android Studio

Android Studio keyboard shortcuts

94 shortcuts, from Shortivo Keys last checked on September 14, 2026.

Blocks and structure 1 shortcut

Action Windows Mac
Surround the code with a block Editor Ctrl + Alt + T Cmd + Option + T

Code editing 5 shortcuts

Action Windows Mac
Complete code with basic suggestions Editor Ctrl + Space Ctrl + Space
Complete code filtered by expected type Editor Ctrl + Shift + Space Ctrl + Shift + Space
Generate code such as getters or constructors Editor Alt + Insert Cmd + N
Reformat the code Editor Ctrl + Alt + L Cmd + Option + L
Apply code changes Build and run Ctrl + Alt + F10 Ctrl + Cmd + Shift + R

Comments and review 4 shortcuts

Action Windows Mac
Comment lines with line comments Editor Ctrl + / Cmd + /
Comment code with a block comment Editor Ctrl + Shift + / Cmd + Shift + /
Cycle through preview devices Layout Editor D D
Force the preview to refresh Layout Editor R R

Editing 35 shortcuts

Action Windows Mac
Build and run the app Build and run Shift + F10 Ctrl + R
Debug the app Build and run Shift + F9 Ctrl + D
Complete the current statement Editor Ctrl + Shift + Enter Cmd + Shift + Enter
Synchronize files with the disk Anywhere Ctrl + Alt + Y Cmd + Option + Y
Inspect the file with the current profile Editor Alt + Shift + I Option + Shift + I
Quickly switch the scheme Anywhere Ctrl + ` Ctrl + `
Show recently edited files Anywhere Ctrl + Shift + E Cmd + Shift + E
Override methods Editor Ctrl + O Ctrl + O
Implement methods Editor Ctrl + I Ctrl + I
Delete the line at the caret Editor Ctrl + Y Cmd + Delete
Look up quick documentation Editor Ctrl + Q Ctrl + J
Show parameters for the method Editor Ctrl + P Cmd + P
Optimize the imports Editor Ctrl + Alt + O Ctrl + Option + O
Show quick fixes and intention actions Editor Alt + Enter Option + Enter
Join lines smartly Editor Ctrl + Shift + J Ctrl + Shift + J
Split the line smartly Editor Ctrl + Enter Cmd + Enter
Build the project Build and run Ctrl + F9 Cmd + F9
Step into a call you choose Debugging Shift + F7 Shift + F7
Step out of the current method Debugging Shift + F8 Shift + F8
Run to the cursor Debugging Alt + F9 Option + F9
Evaluate an expression Debugging Alt + F8 Option + F8
Copy the element with refactoring Refactoring F5 F5
Move the element with refactoring Refactoring F6 F6
Safely delete the element Refactoring Alt + Delete Cmd + Delete
Rename the element everywhere Refactoring Shift + F6 Shift + F6
Change a method signature Refactoring Ctrl + F6 Cmd + F6
Inline the element Refactoring Ctrl + Alt + N Cmd + Option + N
Extract a method Refactoring Ctrl + Alt + M Cmd + Option + M
Extract a variable Refactoring Ctrl + Alt + V Cmd + Option + V
Extract a field Refactoring Ctrl + Alt + F Cmd + Option + F
Extract a constant Refactoring Ctrl + Alt + C Cmd + Option + C
Extract a parameter Refactoring Ctrl + Alt + P Cmd + Option + P
Commit the project to version control Version control Ctrl + K Cmd + K
Update the project from version control Version control Ctrl + T Cmd + T
Switch between portrait and landscape Layout Editor O O

Files and printing 12 shortcuts

Action Windows Mac
Save everything Anywhere Ctrl + S Cmd + S
Open the settings dialog Anywhere Ctrl + Alt + S Cmd + ,
Open the project structure dialog Anywhere Ctrl + Alt + Shift + S Cmd + ;
Open the file structure dialog Editor Ctrl + F12 Cmd + F12
Open the editor tab in a new window Editor Shift + F4 Shift + F4
Show recently opened files Anywhere Ctrl + E Cmd + E
Open the type hierarchy Editor Ctrl + H Ctrl + H
Open the method hierarchy Editor Ctrl + Shift + H Cmd + Shift + H
Open the call hierarchy Editor Ctrl + Alt + H Ctrl + Option + H
Open a quick definition lookup Editor Ctrl + Shift + I Cmd + Y
Open the version control popup Version control Alt + ` Ctrl + V
Switch between Design and Blueprint modes Layout Editor B B

Formulas and data 1 shortcut

Action Windows Mac
Resume the program Debugging F9 Cmd + Option + R

Navigation 12 shortcuts

Action Windows Mac
Find the next match Editor F3 Cmd + G
Find the previous match Editor Shift + F3 Cmd + Shift + G
Jump to the source Editor F4 F4
Go to the last edit location Editor Ctrl + Shift + Backspace Cmd + Shift + Delete
Go to a line Editor Ctrl + G Cmd + L
Go to the declaration Editor Ctrl + B Cmd + B
Go to the implementations Editor Ctrl + Alt + B Cmd + Option + B
Go to the super method or class Editor Ctrl + U Cmd + U
Apply changes and restart the activity Build and run Ctrl + F10 Ctrl + Cmd + R
Step over the next line Debugging F8 F8
Step into the next call Debugging F7 F7
Show or hide the render errors panel Layout Editor E E

Paragraphs and lists 3 shortcuts

Action Windows Mac
Auto indent the lines Editor Ctrl + Alt + I Ctrl + Option + I
Start a new line below Editor Shift + Enter Shift + Enter
Set or clear a line breakpoint Debugging Ctrl + F8 Cmd + F8

Search 8 shortcuts

Action Windows Mac
Search everything, including code and menus Anywhere Shift then Shift Shift then Shift
Find text in the file Editor Ctrl + F Cmd + F
Replace text in the file Editor Ctrl + R Cmd + R
Find an action by name Anywhere Ctrl + Shift + A Cmd + Shift + A
Search by symbol name Anywhere Ctrl + Alt + Shift + N Cmd + Option + O
Find a class by name Anywhere Ctrl + N Cmd + O
Find a file by name Anywhere Ctrl + Shift + N Cmd + Shift + O
Find text across a path Anywhere Ctrl + Shift + F Cmd + Shift + F

Selection 3 shortcuts

Action Windows Mac
Duplicate the line or selection Editor Ctrl + D Cmd + D
Grow the selection to larger blocks Editor Ctrl + W Option + Up arrow
Shrink the selection back a step Editor Ctrl + Shift + W Option + Down arrow

Tabs and windows 8 shortcuts

Action Windows Mac
Show the Project tool window Tool windows Alt + 1 Cmd + 1
Show the Version Control tool window Tool windows Alt + 9 Cmd + 9
Show the Logcat tool window Tool windows Alt + 6 Cmd + 6
Hide every tool window Tool windows Ctrl + Shift + F12 Cmd + Shift + F12
Close the active editor tab Editor Ctrl + F4 Cmd + W
Hide the active tool window Tool window focused Shift + Esc Shift + Esc
Set or clear a bookmark Editor F11 F3
Set a bookmark with a mnemonic Editor Ctrl + F11 Option + F3

View and zoom 2 shortcuts

Action Windows Mac
View every breakpoint Debugging Ctrl + Shift + F8 Cmd + Shift + F8
View recent changes Version control Alt + Shift + C Option + Shift + C

From Shortivo at https://shortivo.net/platforms/android-studio/. A dot means the maker does not document a key for that system. Nothing on this sheet was converted from one system to another.