Android Studio Keyboard Shortcuts

Android Studio keyboard shortcut reference covering 120 bindings for Windows, Mac & Linux. Commonly searched bindings include Project, Version Control, and Run. 120 of 120 shortcuts are verified against official Android Studio documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official Android Studio documentation

Editing

ActionDescriptionWindowsMacVerifiedSource
Displays basic suggestions for variables, types, methods, expressions, and so on. If you call bas… Displays basic suggestions for variables, types, methods, expressions, and so on. If you call basic completion twice in a row, you see more results, including private members and non-imported static members. Ctrl+Space Ctrl+Space Windows, Linux Source
Displays relevant options based on the context. Smart completion takes into account the expected … Displays relevant options based on the context. Smart completion takes into account the expected type and data flows. If you call Smart Completion twice in a row, you see more results, including chains. Ctrl+Shift+Space Ctrl+Shift+Space Windows, Linux Source
Completes the current statement, adding missing parentheses, brackets, braces, formatting, and so on Completes the current statement, adding missing parentheses, brackets, braces, formatting, and so on. Ctrl+Shift+Enter Cmd+Shift+Enter Windows, Linux Source

General

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

View

ActionDescriptionWindowsMacVerifiedSource
Project Alt+1 Cmd+1 Windows, macOS, Linux Source
Version Control Alt+9 Cmd+9 Windows, macOS, Linux Source
Run Shift+F10 Ctrl+R Windows, macOS, Linux Source
Debug Shift+F9 Ctrl+D Windows, macOS, Linux Source
Logcat Alt+6 Cmd+6 Windows, macOS, Linux Source
Return to Editor Escape Escape Windows, macOS, Linux Source
Hide All Tool Windows Ctrl+Shift+F12 Cmd+Shift+F12 Windows, Linux Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…